Belle II Software  release-08-01-10
ExporterEventInfo Class Reference

Bundles information for a single event to be stored by NonRootDataExportModule. More...

#include <ExporterEventInfo.h>

Collaboration diagram for ExporterEventInfo:

Public Member Functions

 ExporterEventInfo (int evtNum)
 Empty constructor.
 
 ~ExporterEventInfo ()
 Destructor.
 
void addHit (ExporterHitInfo aHit)
 adds Hit to internal storage. More...
 
void addTc (ExporterTcInfo aTc)
 adds Tc to internal storage. More...
 
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< ExporterHitInfom_hits
 stores all hits of event
 
std::vector< ExporterTcInfom_tcs
 stores all tcs of event
 

Detailed Description

Bundles information for a single event to be stored by NonRootDataExportModule.

Definition at line 26 of file ExporterEventInfo.h.

Member Function Documentation

◆ addHit()

void addHit ( ExporterHitInfo  aHit)

adds Hit to internal storage.


Definition at line 17 of file ExporterEventInfo.cc.

17 { m_hits.push_back(aHit); }
std::vector< ExporterHitInfo > m_hits
stores all hits of event

◆ addTc()

void addTc ( ExporterTcInfo  aTc)

adds Tc to internal storage.


Definition at line 21 of file ExporterEventInfo.cc.


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