EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/EicEventHeader.h>
Public Types | |
enum | PROPERTY { prop_eventgen = 1, prop_milou_weight = 2, prop_milou_truex = 3, prop_milou_trueq2 = 4, prop_demp_weight = 5, prop_MAX_NUMBER = UCHAR_MAX } |
enum | PROPERTY_TYPE { type_int = 1, type_uint = 2, type_float = 3, type_unknown = -1 } |
enum | EvtGen { Milou = 1, DEMP = 2 } |
Public Member Functions | |
EicEventHeader () | |
~EicEventHeader () override | |
void | identify (std::ostream &os=std::cout) const override |
void | CopyFrom (const PHObject *phobj) override |
void | Reset () override |
Clear Event. | |
virtual void | set_eventgenerator_type (const int) |
virtual int | get_eventgenerator_type () const |
virtual void | set_milou_weight (const float) |
virtual float | get_milou_weight () const |
virtual void | set_milou_trueX (const float) |
virtual float | get_milou_trueX () const |
virtual void | set_milou_trueQ2 (const float) |
virtual float | get_milou_trueQ2 () const |
virtual void | set_demp_weight (const float) |
virtual float | get_demp_weight () const |
virtual bool | has_property (const PROPERTY) const |
virtual float | get_property_float (const PROPERTY) const |
virtual int | get_property_int (const PROPERTY) const |
virtual unsigned int | get_property_uint (const PROPERTY) const |
virtual void | set_property (const PROPERTY, const float) |
virtual void | set_property (const PROPERTY, const int) |
virtual void | set_property (const PROPERTY, const unsigned int) |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
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 *) |
Static Public Member Functions | |
static std::pair< const std::string, PROPERTY_TYPE > | get_property_info (PROPERTY prop_id) |
static bool | check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type) |
static std::string | get_property_type (const PROPERTY_TYPE prop_type) |
Protected Member Functions | |
virtual unsigned int | get_property_nocheck (const PROPERTY) const |
virtual void | set_property_nocheck (const PROPERTY, const unsigned int) |
Protected Attributes | |
std::map< std::string, double > | evInfo |
Definition at line 15 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 15 of file EicEventHeader.h
Definition at line 70 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 70 of file EicEventHeader.h
Procedure to add a new PROPERTY tag: 1.add new tag below with unique value, 2.add a short name to EicEventHeader::get_property_info
prop_eventgen | |
prop_milou_weight | |
prop_milou_truex | |
prop_milou_trueq2 | |
prop_demp_weight | |
prop_MAX_NUMBER |
max limit in order to fit into 8 bit unsigned number |
Definition at line 49 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 49 of file EicEventHeader.h
Definition at line 62 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 62 of file EicEventHeader.h
|
inline |
Definition at line 18 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 18 of file EicEventHeader.h
|
override |
Definition at line 27 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 27 of file EicEventHeader.cc
|
static |
Definition at line 61 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 61 of file EicEventHeader.cc
|
overridevirtual |
Reimplemented from PHObject.
Definition at line 10 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 10 of file EicEventHeader.cc
References get_property_nocheck(), and has_property().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 44 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 44 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 27 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 27 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 36 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 36 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 34 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 34 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 32 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 32 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 77 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 77 of file EicEventHeader.h
|
static |
Definition at line 39 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 39 of file EicEventHeader.cc
References exit(), type_float, and type_int.
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 78 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 78 of file EicEventHeader.h
|
inlineprotectedvirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 88 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 88 of file EicEventHeader.h
Referenced by CopyFrom().
|
static |
Definition at line 72 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 72 of file EicEventHeader.cc
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 79 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 79 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 76 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 76 of file EicEventHeader.h
Referenced by CopyFrom().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 87 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 87 of file EicEventHeader.cc
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in EicEventHeaderv1.
Definition at line 32 of file EicEventHeader.cc.
View newest version in sPHENIX GitHub at line 32 of file EicEventHeader.cc
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 43 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 43 of file EicEventHeader.h
Referenced by ReadEICFiles::process_event().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 26 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 26 of file EicEventHeader.h
Referenced by ReadEICFiles::process_event().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 35 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 35 of file EicEventHeader.h
Referenced by ReadEICFiles::process_event().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 33 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 33 of file EicEventHeader.h
Referenced by ReadEICFiles::process_event().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 31 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 31 of file EicEventHeader.h
Referenced by ReadEICFiles::process_event().
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 80 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 80 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 81 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 81 of file EicEventHeader.h
|
inlinevirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 82 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 82 of file EicEventHeader.h
|
inlineprotectedvirtual |
Reimplemented in EicEventHeaderv1.
Definition at line 89 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 89 of file EicEventHeader.h
|
protected |
Definition at line 91 of file EicEventHeader.h.
View newest version in sPHENIX GitHub at line 91 of file EicEventHeader.h