CbmRoot
CbmEbEventEfficiencies Class Reference

#include <CbmEbEventEfficiencies.h>

Collaboration diagram for CbmEbEventEfficiencies:
[legend]

Public Member Functions

 CbmEbEventEfficiencies ()
 
 ~CbmEbEventEfficiencies ()
 
void AddCounter (string shortname, string name)
 
CbmEbEventEfficienciesoperator+= (CbmEbEventEfficiencies &a)
 
void CalcEff ()
 
void Inc (bool isReco, int _nclones, string name)
 
void IncNEvents ()
 
void AddGhost (int i)
 
void PrintEff ()
 

Private Attributes

vector< string > names
 
map< string, int > indices
 
TL1TracksCatCounters< double > ratio_reco
 
double ratio_ghosts
 
TL1TracksCatCounters< int > mc
 
TL1TracksCatCounters< int > reco
 
int ghosts
 
int nEvents
 
TL1TracksCatCounters< double > ratio_clone
 
TL1TracksCatCounters< int > clone
 

Detailed Description

Definition at line 13 of file CbmEbEventEfficiencies.h.

Constructor & Destructor Documentation

◆ CbmEbEventEfficiencies()

CbmEbEventEfficiencies::CbmEbEventEfficiencies ( )
inline

Definition at line 15 of file CbmEbEventEfficiencies.h.

References AddCounter().

◆ ~CbmEbEventEfficiencies()

CbmEbEventEfficiencies::~CbmEbEventEfficiencies ( )
inline

Definition at line 30 of file CbmEbEventEfficiencies.h.

Member Function Documentation

◆ AddCounter()

void CbmEbEventEfficiencies::AddCounter ( string  shortname,
string  name 
)
inline

◆ AddGhost()

void CbmEbEventEfficiencies::AddGhost ( int  i)
inline

Definition at line 73 of file CbmEbEventEfficiencies.h.

References ghosts, and i.

Referenced by CbmEventBuilderQA::Exec().

◆ CalcEff()

void CbmEbEventEfficiencies::CalcEff ( )
inline

◆ Inc()

void CbmEbEventEfficiencies::Inc ( bool  isReco,
int  _nclones,
string  name 
)
inline

Definition at line 64 of file CbmEbEventEfficiencies.h.

References clone, TL1TracksCatCounters< T >::counters, indices, mc, and reco.

Referenced by CbmEventBuilderQA::Exec().

◆ IncNEvents()

void CbmEbEventEfficiencies::IncNEvents ( )
inline

Definition at line 71 of file CbmEbEventEfficiencies.h.

References nEvents.

Referenced by CbmEventBuilderQA::Exec().

◆ operator+=()

CbmEbEventEfficiencies& CbmEbEventEfficiencies::operator+= ( CbmEbEventEfficiencies a)
inline

Definition at line 43 of file CbmEbEventEfficiencies.h.

References clone, ghosts, mc, nEvents, and reco.

◆ PrintEff()

void CbmEbEventEfficiencies::PrintEff ( )
inline

Member Data Documentation

◆ clone

TL1TracksCatCounters<int> CbmEbEventEfficiencies::clone
private

Definition at line 115 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), Inc(), and operator+=().

◆ ghosts

int CbmEbEventEfficiencies::ghosts
private

Definition at line 111 of file CbmEbEventEfficiencies.h.

Referenced by AddGhost(), CalcEff(), operator+=(), and PrintEff().

◆ indices

map<string, int> CbmEbEventEfficiencies::indices
private

Definition at line 104 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), and Inc().

◆ mc

TL1TracksCatCounters<int> CbmEbEventEfficiencies::mc
private

Definition at line 109 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), Inc(), operator+=(), and PrintEff().

◆ names

vector<string> CbmEbEventEfficiencies::names
private

Definition at line 102 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), and PrintEff().

◆ nEvents

int CbmEbEventEfficiencies::nEvents
private

Definition at line 112 of file CbmEbEventEfficiencies.h.

Referenced by IncNEvents(), operator+=(), and PrintEff().

◆ ratio_clone

TL1TracksCatCounters<double> CbmEbEventEfficiencies::ratio_clone
private

Definition at line 114 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), and PrintEff().

◆ ratio_ghosts

double CbmEbEventEfficiencies::ratio_ghosts
private

Definition at line 107 of file CbmEbEventEfficiencies.h.

Referenced by CalcEff(), and PrintEff().

◆ ratio_reco

TL1TracksCatCounters<double> CbmEbEventEfficiencies::ratio_reco
private

Definition at line 106 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), and PrintEff().

◆ reco

TL1TracksCatCounters<int> CbmEbEventEfficiencies::reco
private

Definition at line 110 of file CbmEbEventEfficiencies.h.

Referenced by AddCounter(), CalcEff(), Inc(), operator+=(), and PrintEff().


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