Belle II Software development
|
Bundles information for a single event to be stored by NonRootDataExportModule. More...
#include <ExporterEventInfo.h>
Public Member Functions | |
ExporterEventInfo (int evtNum) | |
Empty constructor. | |
~ExporterEventInfo () | |
Destructor. | |
void | addHit (ExporterHitInfo aHit) |
adds Hit to internal storage. | |
void | addTc (ExporterTcInfo aTc) |
adds Tc to internal storage. | |
std::vector< ExporterHitInfo > * | getHits () |
returns a pointer to internal vector of hits | |
int | getEventNumber () |
returns number of current event | |
std::vector< ExporterTcInfo > * | getTcs () |
returns a pointer to internal vector of tcs | |
int | getNPXDTrueHits () |
returns number of stored pxdTruehits | |
int | getNSVDTrueHits () |
returns number of stored svdTruehits | |
int | getNMCHits () |
returns total number of stored mcHits stored in all Tcs of this event | |
Protected Member Functions | |
int | countHitsOfType (int type) |
used by getXXXHits to determine number of hits of certain type found in current event | |
Protected Attributes | |
int | m_eventNumber |
knows number of current event | |
std::vector< ExporterHitInfo > | m_hits |
stores all hits of event | |
std::vector< ExporterTcInfo > | m_tcs |
stores all tcs of event | |
Bundles information for a single event to be stored by NonRootDataExportModule.
Definition at line 26 of file ExporterEventInfo.h.
|
inlineexplicit |
Empty constructor.
Definition at line 29 of file ExporterEventInfo.h.
|
inline |
void addHit | ( | ExporterHitInfo | aHit | ) |
adds Hit to internal storage.
Definition at line 17 of file ExporterEventInfo.cc.
void addTc | ( | ExporterTcInfo | aTc | ) |
adds Tc to internal storage.
Definition at line 21 of file ExporterEventInfo.cc.
|
protected |
used by getXXXHits to determine number of hits of certain type found in current event
Definition at line 49 of file ExporterEventInfo.cc.
|
inline |
std::vector< ExporterHitInfo > * getHits | ( | ) |
int getNMCHits | ( | ) |
returns total number of stored mcHits stored in all Tcs of this event
Definition at line 40 of file ExporterEventInfo.cc.
int getNPXDTrueHits | ( | ) |
returns number of stored pxdTruehits
Definition at line 33 of file ExporterEventInfo.cc.
int getNSVDTrueHits | ( | ) |
std::vector< ExporterTcInfo > * getTcs | ( | ) |
|
protected |
knows number of current event
Definition at line 73 of file ExporterEventInfo.h.
|
protected |
stores all hits of event
Definition at line 74 of file ExporterEventInfo.h.
|
protected |
stores all tcs of event
Definition at line 75 of file ExporterEventInfo.h.