Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxEventInfo Class Reference

#include <coresoftware/blob/master/offline/packages/trackbase/MvtxEventInfo.h>

+ Inheritance diagram for MvtxEventInfo:
+ Collaboration diagram for MvtxEventInfo:

Public Member Functions

 MvtxEventInfo ()=default
 
virtual ~MvtxEventInfo ()=default
 dtor
 
PHObjectCloneMe () 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 PHObjectclone () const final
 
PHObjectClone (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
 

Detailed Description

Definition at line 22 of file MvtxEventInfo.h.

View newest version in sPHENIX GitHub at line 22 of file MvtxEventInfo.h

Constructor & Destructor Documentation

MvtxEventInfo::MvtxEventInfo ( )
default
virtual MvtxEventInfo::~MvtxEventInfo ( )
virtualdefault

dtor

Member Function Documentation

PHObject * MvtxEventInfo::CloneMe ( ) const
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.

virtual std::set<uint64_t> MvtxEventInfo::get_L1_BCO_from_strobe_BCO ( const uint64_t  ) const
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

virtual std::set<uint64_t> MvtxEventInfo::get_L1_BCOs ( ) const
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.

virtual int MvtxEventInfo::get_number_HB ( ) const
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

virtual unsigned int MvtxEventInfo::get_number_L1s ( ) const
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

virtual unsigned int MvtxEventInfo::get_number_strobes ( ) const
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.

virtual std::set<uint64_t> MvtxEventInfo::get_strobe_BCO_from_L1_BCO ( const uint64_t  ) const
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.

virtual std::set<uint64_t> MvtxEventInfo::get_strobe_BCOs ( ) const
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.

void MvtxEventInfo::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput 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().

+ Here is the caller graph for this function:

int MvtxEventInfo::isValid ( ) const
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.

void MvtxEventInfo::Reset ( )
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.

virtual void MvtxEventInfo::set_number_HB ( const int  )
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.

virtual void MvtxEventInfo::set_strobe_BCO ( const uint64_t  )
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().

+ Here is the caller graph for this function:

virtual void MvtxEventInfo::set_strobe_BCO_L1_BCO ( const uint64_t  ,
const uint64_t   
)
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().

+ Here is the caller graph for this function:

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.

void MvtxEventInfo::warning ( const std::string &  func) const
private

Member Data Documentation

std::set<uint64_t> MvtxEventInfo::dummySet
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().

std::map<std::string, float> MvtxEventInfo::m_FloatEventProperties
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().

std::map<std::string, int64_t> MvtxEventInfo::m_Int64EventProperties
protected
std::map<std::string, int32_t> MvtxEventInfo::m_IntEventProperties
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().

std::map<std::string, std::string> MvtxEventInfo::m_StringEventProperties
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().

std::map<std::string, uint64_t> MvtxEventInfo::m_Uint64EventProperties
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().

std::map<std::string, uint32_t> MvtxEventInfo::m_UintEventProperties
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().


The documentation for this class was generated from the following files: