CbmRoot
L1EventEfficiencies Class Reference

#include <L1EventEfficiencies.h>

Collaboration diagram for L1EventEfficiencies:
[legend]

Public Member Functions

 L1EventEfficiencies ()
 
 ~L1EventEfficiencies ()
 
void AddCounter (string shortname, string name)
 
L1EventEfficienciesoperator+= (L1EventEfficiencies &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 8 of file L1EventEfficiencies.h.

Constructor & Destructor Documentation

◆ L1EventEfficiencies()

L1EventEfficiencies::L1EventEfficiencies ( )
inline

Definition at line 10 of file L1EventEfficiencies.h.

References AddCounter().

◆ ~L1EventEfficiencies()

L1EventEfficiencies::~L1EventEfficiencies ( )
inline

Definition at line 25 of file L1EventEfficiencies.h.

Member Function Documentation

◆ AddCounter()

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

◆ AddGhost()

void L1EventEfficiencies::AddGhost ( int  i)
inline

Definition at line 68 of file L1EventEfficiencies.h.

References ghosts, and i.

◆ CalcEff()

void L1EventEfficiencies::CalcEff ( )
inline

◆ Inc()

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

Definition at line 59 of file L1EventEfficiencies.h.

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

◆ IncNEvents()

void L1EventEfficiencies::IncNEvents ( )
inline

Definition at line 66 of file L1EventEfficiencies.h.

References nEvents.

◆ operator+=()

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

Definition at line 38 of file L1EventEfficiencies.h.

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

◆ PrintEff()

void L1EventEfficiencies::PrintEff ( )
inline

Member Data Documentation

◆ clone

TL1TracksCatCounters<int> L1EventEfficiencies::clone
private

Definition at line 110 of file L1EventEfficiencies.h.

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

◆ ghosts

int L1EventEfficiencies::ghosts
private

Definition at line 106 of file L1EventEfficiencies.h.

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

◆ indices

map<string, int> L1EventEfficiencies::indices
private

Definition at line 99 of file L1EventEfficiencies.h.

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

◆ mc

TL1TracksCatCounters<int> L1EventEfficiencies::mc
private

Definition at line 104 of file L1EventEfficiencies.h.

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

◆ names

vector<string> L1EventEfficiencies::names
private

Definition at line 97 of file L1EventEfficiencies.h.

Referenced by AddCounter(), and PrintEff().

◆ nEvents

int L1EventEfficiencies::nEvents
private

Definition at line 107 of file L1EventEfficiencies.h.

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

◆ ratio_clone

TL1TracksCatCounters<double> L1EventEfficiencies::ratio_clone
private

Definition at line 109 of file L1EventEfficiencies.h.

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

◆ ratio_ghosts

double L1EventEfficiencies::ratio_ghosts
private

Definition at line 102 of file L1EventEfficiencies.h.

Referenced by CalcEff(), and PrintEff().

◆ ratio_reco

TL1TracksCatCounters<double> L1EventEfficiencies::ratio_reco
private

Definition at line 101 of file L1EventEfficiencies.h.

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

◆ reco

TL1TracksCatCounters<int> L1EventEfficiencies::reco
private

Definition at line 105 of file L1EventEfficiencies.h.

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


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