EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
offline
database
framework
ffamodules
ffaobjects
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
frog
fun4all
fun4allraw
phool
phoolraw
packages
QA
simulation
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
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
}
fun4all_coresoftware
blob
master
offline
framework
ffaobjects
RunHeader.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:43
using
1.8.2 with
EIC GitHub integration