CbmRoot
CbmEbEventMatch Class Reference

#include <CbmEbEventMatch.h>

Collaboration diagram for CbmEbEventMatch:
[legend]

Public Member Functions

 CbmEbEventMatch ()
 
bool IsGhost ()
 
void Clear ()
 
void AddTrack (int mcEventId)
 
void SetNEventTracks (int ntracks)
 
void SetTracks (vector< int > tracks)
 
vector< int > & GetTracksId ()
 
int NRecoTracks () const
 
int NMCEvents () const
 
map< int, int > & GetMCEvents ()
 

Private Attributes

map< int, int > fMCEvent
 
int fNTracks
 
vector< int > fTracks
 

Detailed Description

Definition at line 16 of file CbmEbEventMatch.h.

Constructor & Destructor Documentation

◆ CbmEbEventMatch()

CbmEbEventMatch::CbmEbEventMatch ( )
inline

Definition at line 18 of file CbmEbEventMatch.h.

Member Function Documentation

◆ AddTrack()

void CbmEbEventMatch::AddTrack ( int  mcEventId)
inline

Definition at line 24 of file CbmEbEventMatch.h.

References fMCEvent.

Referenced by CbmEventBuilderQA::Exec().

◆ Clear()

void CbmEbEventMatch::Clear ( )
inline

Definition at line 20 of file CbmEbEventMatch.h.

References fMCEvent, and fNTracks.

◆ GetMCEvents()

map<int, int>& CbmEbEventMatch::GetMCEvents ( )
inline

Definition at line 32 of file CbmEbEventMatch.h.

References fMCEvent.

Referenced by CbmEventBuilderQA::Exec().

◆ GetTracksId()

vector<int>& CbmEbEventMatch::GetTracksId ( )
inline

Definition at line 27 of file CbmEbEventMatch.h.

References fTracks.

◆ IsGhost()

bool CbmEbEventMatch::IsGhost ( )
inline

Definition at line 19 of file CbmEbEventMatch.h.

References fMCEvent.

◆ NMCEvents()

int CbmEbEventMatch::NMCEvents ( ) const
inline

Definition at line 30 of file CbmEbEventMatch.h.

References fMCEvent.

◆ NRecoTracks()

int CbmEbEventMatch::NRecoTracks ( ) const
inline

Definition at line 29 of file CbmEbEventMatch.h.

References fNTracks.

◆ SetNEventTracks()

void CbmEbEventMatch::SetNEventTracks ( int  ntracks)
inline

Definition at line 25 of file CbmEbEventMatch.h.

References fNTracks.

Referenced by CbmEventBuilderQA::Exec().

◆ SetTracks()

void CbmEbEventMatch::SetTracks ( vector< int >  tracks)
inline

Definition at line 26 of file CbmEbEventMatch.h.

References fTracks, and tracks.

Referenced by CbmEventBuilderQA::Exec().

Member Data Documentation

◆ fMCEvent

map<int, int> CbmEbEventMatch::fMCEvent
private

Definition at line 35 of file CbmEbEventMatch.h.

Referenced by AddTrack(), Clear(), GetMCEvents(), IsGhost(), and NMCEvents().

◆ fNTracks

int CbmEbEventMatch::fNTracks
private

Definition at line 36 of file CbmEbEventMatch.h.

Referenced by Clear(), NRecoTracks(), and SetNEventTracks().

◆ fTracks

vector<int> CbmEbEventMatch::fTracks
private

Definition at line 37 of file CbmEbEventMatch.h.

Referenced by GetTracksId(), and SetTracks().


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