CbmRoot
L1EventMatch Class Reference

#include <L1EventMatch.h>

Collaboration diagram for L1EventMatch:
[legend]

Public Member Functions

 L1EventMatch ()
 
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 12 of file L1EventMatch.h.

Constructor & Destructor Documentation

◆ L1EventMatch()

L1EventMatch::L1EventMatch ( )
inline

Definition at line 14 of file L1EventMatch.h.

Member Function Documentation

◆ AddTrack()

void L1EventMatch::AddTrack ( int  mcEventId)
inline

Definition at line 17 of file L1EventMatch.h.

References fMCEvent.

◆ Clear()

void L1EventMatch::Clear ( )

Definition at line 3 of file L1EventMatch.cxx.

References fMCEvent, and fNTracks.

◆ GetMCEvents()

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

Definition at line 25 of file L1EventMatch.h.

References fMCEvent.

◆ GetTracksId()

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

Definition at line 20 of file L1EventMatch.h.

References fTracks.

◆ IsGhost()

bool L1EventMatch::IsGhost ( )
inline

Definition at line 15 of file L1EventMatch.h.

References fMCEvent.

◆ NMCEvents()

int L1EventMatch::NMCEvents ( ) const
inline

Definition at line 23 of file L1EventMatch.h.

References fMCEvent.

◆ NRecoTracks()

int L1EventMatch::NRecoTracks ( ) const
inline

Definition at line 22 of file L1EventMatch.h.

References fNTracks.

◆ SetNEventTracks()

void L1EventMatch::SetNEventTracks ( int  ntracks)
inline

Definition at line 18 of file L1EventMatch.h.

References fNTracks.

◆ SetTracks()

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

Definition at line 19 of file L1EventMatch.h.

References fTracks, and tracks.

Member Data Documentation

◆ fMCEvent

map<int, int> L1EventMatch::fMCEvent
private

Definition at line 28 of file L1EventMatch.h.

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

◆ fNTracks

int L1EventMatch::fNTracks
private

Definition at line 29 of file L1EventMatch.h.

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

◆ fTracks

vector<int> L1EventMatch::fTracks
private

Definition at line 30 of file L1EventMatch.h.

Referenced by GetTracksId(), and SetTracks().


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