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
CdbUrlSave.cc
CdbUrlSave.h
CdbUrlSaveLinkDef.h
CdbUrlSavev1.cc
CdbUrlSavev1.h
CdbUrlSavev1LinkDef.h
EventHeader.cc
EventHeader.h
EventHeaderLinkDef.h
EventHeaderv1.cc
EventHeaderv1.h
EventHeaderv1LinkDef.h
EventHeaderv2.cc
EventHeaderv2.h
EventHeaderv2LinkDef.h
FlagSave.h
FlagSaveLinkDef.h
FlagSavev1.cc
FlagSavev1.h
FlagSavev1LinkDef.h
RunHeader.cc
RunHeader.h
RunHeaderLinkDef.h
RunHeaderv1.cc
RunHeaderv1.h
RunHeaderv1LinkDef.h
SyncDefs.h
SyncObject.cc
SyncObject.h
SyncObjectLinkDef.h
SyncObjectv1.cc
SyncObjectv1.h
SyncObjectv1LinkDef.h
ffarawmodules
ffarawobjects
frog
fun4all
fun4allraw
fun4allutils
phool
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
RunHeader.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RunHeader.cc
1
#include "
RunHeader.h
"
2
3
#include <
phool/phool.h
>
4
5
#include <iostream>
6
7
class
PHObject
;
8
9
static
int
nowarning
= 0;
10
11
PHObject
*
12
RunHeader::CloneMe
()
const
13
{
14
std::cout <<
"RunHeader::CloneMe() is not implemented in daugther class"
<< std::endl;
15
return
nullptr
;
16
}
17
18
void
RunHeader::Reset
()
19
{
20
std::cout <<
PHWHERE
<<
"ERROR Reset() not implemented by daughter class"
<< std::endl;
21
return
;
22
}
23
24
void
RunHeader::identify
(std::ostream&
os
)
const
25
{
26
os <<
"identify yourself: virtual RunHeader Object"
<< std::endl;
27
return
;
28
}
29
30
int
RunHeader::isValid
()
const
31
{
32
std::cout <<
PHWHERE
<<
"isValid not implemented by daughter class"
<< std::endl;
33
return
0;
34
}
35
36
int
RunHeader::get_RunNumber
()
const
37
{
38
warning
(
"get_RunNumber()"
);
39
return
-9999;
40
}
41
42
void
RunHeader::set_RunNumber
(
const
int
/*run*/
)
43
{
44
warning
(
"set_RunNumber(const int run)"
);
45
return
;
46
}
47
48
//
49
void
RunHeader::NoWarning
(
const
int
i
)
50
{
51
if
(i > 0)
52
{
53
std::cout <<
"RunHeader: switching virtual warnings OFF"
<< std::endl;
54
nowarning
=
i
;
55
}
56
else
57
{
58
std::cout <<
"RunHeader: switching virtual warnings ON"
<< std::endl;
59
nowarning
= 0;
60
}
61
return
;
62
}
63
64
void
RunHeader::warning
(
const
std::string
& funcname)
const
65
{
66
if
(!
nowarning
)
67
{
68
std::cout <<
"Using virtual function RunHeader::"
<< funcname << std::endl;
69
}
70
return
;
71
}
coresoftware
blob
master
offline
framework
ffaobjects
RunHeader.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration