CbmRoot
TL1Efficiencies Struct Reference

#include <CbmL1Counters.h>

Inheritance diagram for TL1Efficiencies:
[legend]
Collaboration diagram for TL1Efficiencies:
[legend]

Public Member Functions

 TL1Efficiencies ()
 
virtual ~TL1Efficiencies ()
 
virtual void AddCounter (TString shortname, TString name)
 
TL1Efficienciesoperator+= (TL1Efficiencies &a)
 
void CalcEff ()
 
void Inc (bool isReco, TString name)
 
void IncNEvents ()
 
void PrintEff ()
 

Public Attributes

vector< TString > names
 
map< TString, int > indices
 
TL1TracksCatCounters< double > ratio_reco
 
double ratio_ghosts
 
double ratio_clones
 
TL1TracksCatCounters< int > mc
 
TL1TracksCatCounters< int > reco
 
int ghosts
 
int clones
 
int nEvents
 

Detailed Description

Definition at line 117 of file CbmL1Counters.h.

Constructor & Destructor Documentation

◆ TL1Efficiencies()

TL1Efficiencies::TL1Efficiencies ( )
inline

Definition at line 118 of file CbmL1Counters.h.

◆ ~TL1Efficiencies()

virtual TL1Efficiencies::~TL1Efficiencies ( )
inlinevirtual

Definition at line 132 of file CbmL1Counters.h.

Member Function Documentation

◆ AddCounter()

void TL1Efficiencies::AddCounter ( TString  shortname,
TString  name 
)
inlinevirtual

◆ CalcEff()

void TL1Efficiencies::CalcEff ( )
inline

◆ Inc()

void TL1Efficiencies::Inc ( bool  isReco,
TString  name 
)
inline

Definition at line 191 of file CbmL1Counters.h.

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

Referenced by TL1PerfEfficiencies::Inc().

◆ IncNEvents()

void TL1Efficiencies::IncNEvents ( )
inline

Definition at line 140 of file CbmL1Counters.h.

References nEvents.

Referenced by CbmL1::EfficienciesPerformance().

◆ operator+=()

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

Definition at line 181 of file CbmL1Counters.h.

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

Referenced by TL1PerfEfficiencies::operator+=().

◆ PrintEff()

void TL1Efficiencies::PrintEff ( )
inline

Member Data Documentation

◆ clones

int TL1Efficiencies::clones

Definition at line 156 of file CbmL1Counters.h.

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

◆ ghosts

int TL1Efficiencies::ghosts

◆ indices

map<TString, int> TL1Efficiencies::indices

◆ mc

◆ names

vector<TString> TL1Efficiencies::names

Definition at line 145 of file CbmL1Counters.h.

Referenced by AddCounter(), PrintEff(), and TL1PerfEfficiencies::PrintEff().

◆ nEvents

int TL1Efficiencies::nEvents

Definition at line 157 of file CbmL1Counters.h.

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

◆ ratio_clones

double TL1Efficiencies::ratio_clones

Definition at line 151 of file CbmL1Counters.h.

Referenced by CalcEff(), and PrintEff().

◆ ratio_ghosts

double TL1Efficiencies::ratio_ghosts

Definition at line 150 of file CbmL1Counters.h.

Referenced by CalcEff(), PrintEff(), and TL1PerfEfficiencies::PrintEff().

◆ ratio_reco

TL1TracksCatCounters<double> TL1Efficiencies::ratio_reco

Definition at line 149 of file CbmL1Counters.h.

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

◆ reco


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