Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackbase/MvtxEventInfo.h>
Public Member Functions | |
MvtxEventInfo ()=default | |
virtual | ~MvtxEventInfo ()=default |
dtor | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
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 | |
void | set_floatval (const std::string &, const float) |
float | get_floatval (const std::string &) const |
void | set_intval (const std::string &, const int32_t) |
int | get_intval (const std::string &) const |
void | set_int64val (const std::string &, const int64_t) |
int | get_int64val (const std::string &) const |
void | set_uintval (const std::string &, const uint32_t) |
int | get_uintval (const std::string &) const |
void | set_uint64val (const std::string &, const uint64_t) |
int | get_uint64val (const std::string &) const |
void | set_stringval (const std::string &, const std::string &) |
std::string | get_stringval (const std::string &) const |
virtual void | set_number_HB (const int) |
virtual int | get_number_HB () const |
virtual void | set_strobe_BCO (const uint64_t) |
virtual void | set_strobe_BCO_L1_BCO (const uint64_t, const uint64_t) |
virtual unsigned int | get_number_strobes () const |
virtual unsigned int | get_number_L1s () const |
virtual std::set< uint64_t > | get_strobe_BCOs () const |
virtual std::set< uint64_t > | get_L1_BCOs () const |
virtual std::set< uint64_t > | get_strobe_BCO_from_L1_BCO (const uint64_t) const |
virtual std::set< uint64_t > | get_L1_BCO_from_strobe_BCO (const uint64_t) const |
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 | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
std::map< std::string, int32_t > | m_IntEventProperties |
std::map< std::string, int64_t > | m_Int64EventProperties |
std::map< std::string, uint32_t > | m_UintEventProperties |
std::map< std::string, uint64_t > | m_Uint64EventProperties |
std::map< std::string, float > | m_FloatEventProperties |
std::map< std::string, std::string > | m_StringEventProperties |
Private Member Functions | |
void | warning (const std::string &func) const |
Private Attributes | |
std::set< uint64_t > | dummySet |
Definition at line 22 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 22 of file MvtxEventInfo.h
|
default |
|
virtualdefault |
dtor
|
overridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 7 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 7 of file MvtxEventInfo.cc
References PHWHERE.
float MvtxEventInfo::get_floatval | ( | const std::string & | name | ) | const |
Definition at line 79 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 79 of file MvtxEventInfo.cc
References m_FloatEventProperties.
int MvtxEventInfo::get_int64val | ( | const std::string & | name | ) | const |
Definition at line 109 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 109 of file MvtxEventInfo.cc
References m_Int64EventProperties.
int MvtxEventInfo::get_intval | ( | const std::string & | name | ) | const |
Definition at line 94 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 94 of file MvtxEventInfo.cc
References m_IntEventProperties.
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 75 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 75 of file MvtxEventInfo.h
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 72 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 72 of file MvtxEventInfo.h
References dummySet.
|
inlinevirtual |
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 62 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 62 of file MvtxEventInfo.h
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 69 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 69 of file MvtxEventInfo.h
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 68 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 68 of file MvtxEventInfo.h
std::string MvtxEventInfo::get_stringval | ( | const std::string & | name | ) | const |
Definition at line 154 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 154 of file MvtxEventInfo.cc
References m_StringEventProperties.
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 74 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 74 of file MvtxEventInfo.h
References dummySet.
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 71 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 71 of file MvtxEventInfo.h
References dummySet.
int MvtxEventInfo::get_uint64val | ( | const std::string & | name | ) | const |
Definition at line 139 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 139 of file MvtxEventInfo.cc
References m_Uint64EventProperties.
int MvtxEventInfo::get_uintval | ( | const std::string & | name | ) | const |
Definition at line 124 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 124 of file MvtxEventInfo.cc
References m_UintEventProperties.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 20 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 20 of file MvtxEventInfo.cc
References m_FloatEventProperties, m_Int64EventProperties, m_IntEventProperties, m_StringEventProperties, m_Uint64EventProperties, and m_UintEventProperties.
Referenced by MvtxCombinedRawDataDecoder::process_event().
|
overridevirtual |
isValid returns non zero if object contains valid data
Reimplemented from PHObject.
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 68 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 68 of file MvtxEventInfo.cc
References PHWHERE.
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 13 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 13 of file MvtxEventInfo.cc
References PHWHERE.
void MvtxEventInfo::set_floatval | ( | const std::string & | name, |
const float | fval | ||
) |
Definition at line 74 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 74 of file MvtxEventInfo.cc
References m_FloatEventProperties, and perf_headwind::name.
void MvtxEventInfo::set_int64val | ( | const std::string & | name, |
const int64_t | ival | ||
) |
Definition at line 104 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 104 of file MvtxEventInfo.cc
References m_Int64EventProperties, and perf_headwind::name.
void MvtxEventInfo::set_intval | ( | const std::string & | name, |
const int32_t | ival | ||
) |
Definition at line 89 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 89 of file MvtxEventInfo.cc
References m_IntEventProperties, and perf_headwind::name.
|
inlinevirtual |
Reimplemented in MvtxEventInfov1, and MvtxEventInfov2.
Definition at line 61 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 61 of file MvtxEventInfo.h
void MvtxEventInfo::set_stringval | ( | const std::string & | name, |
const std::string & | sval | ||
) |
Definition at line 149 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 149 of file MvtxEventInfo.cc
References m_StringEventProperties, and perf_headwind::name.
|
inlinevirtual |
Reimplemented in MvtxEventInfov2.
Definition at line 64 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 64 of file MvtxEventInfo.h
Referenced by MvtxCombinedRawDataDecoder::process_event().
|
inlinevirtual |
Reimplemented in MvtxEventInfov2, and MvtxEventInfov1.
Definition at line 66 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 66 of file MvtxEventInfo.h
Referenced by MvtxCombinedRawDataDecoder::process_event().
void MvtxEventInfo::set_uint64val | ( | const std::string & | name, |
const uint64_t | ival | ||
) |
Definition at line 134 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 134 of file MvtxEventInfo.cc
References m_Int64EventProperties, and perf_headwind::name.
void MvtxEventInfo::set_uintval | ( | const std::string & | name, |
const uint32_t | ival | ||
) |
Definition at line 119 of file MvtxEventInfo.cc.
View newest version in sPHENIX GitHub at line 119 of file MvtxEventInfo.cc
References m_UintEventProperties, and perf_headwind::name.
|
private |
|
private |
Definition at line 88 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 88 of file MvtxEventInfo.h
Referenced by get_L1_BCOs(), get_strobe_BCO_from_L1_BCO(), and get_strobe_BCOs().
|
protected |
Definition at line 82 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 82 of file MvtxEventInfo.h
Referenced by get_floatval(), MvtxEventInfov2::identify(), MvtxEventInfov1::identify(), identify(), MvtxEventInfov2::Reset(), MvtxEventInfov1::Reset(), and set_floatval().
|
protected |
Definition at line 79 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 79 of file MvtxEventInfo.h
Referenced by get_int64val(), MvtxEventInfov2::identify(), identify(), MvtxEventInfov1::identify(), MvtxEventInfov1::Reset(), MvtxEventInfov2::Reset(), set_int64val(), and set_uint64val().
|
protected |
Definition at line 75 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 75 of file MvtxEventInfo.h
Referenced by get_intval(), MvtxEventInfov2::identify(), MvtxEventInfov1::identify(), identify(), MvtxEventInfov2::Reset(), MvtxEventInfov1::Reset(), and set_intval().
|
protected |
Definition at line 83 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 83 of file MvtxEventInfo.h
Referenced by get_stringval(), MvtxEventInfov2::identify(), MvtxEventInfov1::identify(), identify(), MvtxEventInfov2::Reset(), MvtxEventInfov1::Reset(), and set_stringval().
|
protected |
Definition at line 81 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 81 of file MvtxEventInfo.h
Referenced by get_uint64val(), identify(), MvtxEventInfov1::identify(), MvtxEventInfov2::identify(), MvtxEventInfov1::Reset(), and MvtxEventInfov2::Reset().
|
protected |
Definition at line 80 of file MvtxEventInfo.h.
View newest version in sPHENIX GitHub at line 80 of file MvtxEventInfo.h
Referenced by get_uintval(), MvtxEventInfov2::identify(), MvtxEventInfov1::identify(), identify(), MvtxEventInfov2::Reset(), MvtxEventInfov1::Reset(), and set_uintval().