Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
ffamodules
ffaobjects
ffarawmodules
ffarawobjects
frog
fun4all
fun4allraw
fun4allutils
phool
getClass.h
onnxlib.cc
onnxlib.h
PHCompositeNode.cc
PHCompositeNode.h
PHDataNode.h
PHDataNodeIterator.h
PHFlag.cc
PHFlag.h
PHIODataNode.h
PHIOManager.h
PHLog.h
PHMessage.cc
PHMessage.h
PHNode.cc
PHNode.h
PHNodeIntegrate.cc
PHNodeIntegrate.h
PHNodeIOManager.cc
PHNodeIOManager.h
PHNodeIterator.cc
PHNodeIterator.h
PHNodeOperation.h
PHNodeReset.cc
PHNodeReset.h
PHObject.cc
PHObject.h
PHObjectLinkDef.h
phool.h
phooldefs.h
PHPointerList.h
PHPointerListIterator.h
PHRandomSeed.cc
PHRandomSeed.h
PHTimer.cc
PHTimer.h
PHTimeServer.cc
PHTimeServer.h
PHTimeStamp.cc
PHTimeStamp.h
PHTimeStampLinkDef.h
PHTypedNodeIterator.h
recoConsts.cc
recoConsts.h
phoolraw
packages
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHObject.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHObject.cc
1
#include "
PHObject.h
"
2
3
#include "
phool.h
"
4
5
#include <TSystem.h>
6
7
#include <iostream>
8
9
class
TObject;
10
11
PHObject
*
12
PHObject::CloneMe
()
const
13
{
14
std::cout <<
PHWHERE
<<
" CloneMe() not implemented by daugther class"
15
<< std::endl;
16
return
nullptr
;
17
}
18
19
PHObject
*
20
PHObject::clone
()
const
21
{
22
std::cout <<
PHWHERE
<<
" clone() is obsolete"
<< std::endl;
23
return
nullptr
;
24
}
25
26
void
PHObject::identify
(std::ostream&
os
)
const
27
{
28
os <<
"identify yourself: I am a PHObject object"
<< std::endl;
29
}
30
31
void
PHObject::Reset
()
32
{
33
// This is bad, previous events are not cleared
34
std::cout <<
PHWHERE
35
<<
" Reset() not implemented for "
<< this->GetName()
36
<<
" PREVIOUS EVENT IS NOT CLEARED"
37
<< std::endl;
38
std::cout <<
"You most probably miss a library, if so there are one or more messages at startup like:"
39
<< std::endl
40
<< std::endl;
41
std::cout <<
"Warning in <TClass::TClass>: no dictionary for class XXX is available"
42
<< std::endl
43
<< std::endl;
44
std::cout <<
"load the libraries which contain these classes and try again"
45
<< std::endl;
46
gSystem->Exit(1);
47
}
48
49
int
PHObject::isValid
()
const
50
{
51
// give warning if this method is not implemented
52
std::cout <<
PHWHERE
53
<<
" isValid() not implemented by daughter class"
54
<< std::endl;
55
return
0;
56
}
57
58
59
60
void
PHObject::CopyFrom
(
const
PHObject
*
/*obj*/
)
61
{
62
std::cout <<
PHWHERE
63
<<
" CopyFrom(const PHObject *obj) is not implemented"
<< std::endl;
64
gSystem->Exit(1);
65
}
66
67
PHObject
*
PHObject::Clone
(
const
char
*
/*newname*/
)
const
68
{
69
std::cout <<
PHWHERE
70
<<
"You are overriding the TObject::Clone method which is not supported"
<< std::endl;
71
gSystem->Exit(1);
72
return
nullptr
;
73
}
74
75
void
PHObject::Copy
(TObject &
/*object*/
)
const
76
{
77
std::cout <<
PHWHERE
78
<<
"You are overriding the TObject::Copy method which is not supported"
<< std::endl;
79
gSystem->Exit(1);
80
}
coresoftware
blob
master
offline
framework
phool
PHObject.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration