ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/ffaobjects/RunHeaderv1.h>
Public Member Functions | |
RunHeaderv1 ()=default | |
~RunHeaderv1 () override=default | |
void | Reset () override |
Clear Event. | |
void | identify (std::ostream &os=std::cout) const override |
int | isValid () const override |
isValid returns non zero if object contains valid data | |
int | get_RunNumber () const override |
get Run Number | |
void | set_RunNumber (const int run) override |
set Run Number | |
void | set_floatval (const std::string &name, const float fval) override |
float | get_floatval (const std::string &name) const override |
void | set_intval (const std::string &name, const int ival) override |
int | get_intval (const std::string &name) const override |
Public Member Functions inherited from RunHeader | |
~RunHeader () override | |
dtor | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
void | NoWarning (const int i=1) |
switches off the pesky virtual warning messages | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
int | RunNumber = 0 |
std::map< std::string, int > | m_IntRunProperties |
std::map< std::string, float > | m_FloatRunProperties |
Definition at line 12 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 12 of file RunHeaderv1.h
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from RunHeader.
Definition at line 35 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 35 of file RunHeaderv1.cc
References m_FloatRunProperties.
|
overridevirtual |
Reimplemented from RunHeader.
Definition at line 50 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 50 of file RunHeaderv1.cc
References m_IntRunProperties.
|
inlineoverridevirtual |
get Run Number
Reimplemented from RunHeader.
Definition at line 22 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 22 of file RunHeaderv1.h
References RunNumber.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from RunHeader.
Definition at line 6 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 6 of file RunHeaderv1.cc
References m_FloatRunProperties, m_IntRunProperties, and RunNumber.
|
overridevirtual |
isValid returns non zero if object contains valid data
Reimplemented from RunHeader.
Definition at line 25 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 25 of file RunHeaderv1.cc
References RunNumber.
|
inlineoverridevirtual |
Clear Event.
Reimplemented from RunHeader.
Definition at line 18 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 18 of file RunHeaderv1.h
|
overridevirtual |
Reimplemented from RunHeader.
Definition at line 30 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 30 of file RunHeaderv1.cc
References m_FloatRunProperties.
Reimplemented from RunHeader.
Definition at line 45 of file RunHeaderv1.cc.
View newest version in sPHENIX GitHub at line 45 of file RunHeaderv1.cc
References m_IntRunProperties.
set Run Number
Reimplemented from RunHeader.
Definition at line 23 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 23 of file RunHeaderv1.h
References RunNumber.
|
private |
Definition at line 38 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 38 of file RunHeaderv1.h
Referenced by get_floatval(), identify(), and set_floatval().
|
private |
Definition at line 37 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 37 of file RunHeaderv1.h
Referenced by get_intval(), identify(), and set_intval().
|
private |
Definition at line 36 of file RunHeaderv1.h.
View newest version in sPHENIX GitHub at line 36 of file RunHeaderv1.h
Referenced by get_RunNumber(), identify(), isValid(), and set_RunNumber().