CbmRoot
Loading...
Searching...
No Matches
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 (const TString &shortname, const TString &name)
 
TL1Efficienciesoperator+= (TL1Efficiencies &a)
 
void CalcEff ()
 
void Inc (bool isReco, const TString &name)
 
void IncNEvents ()
 
std::string ToString () const
 

Public Attributes

std::vector< TString > names
 
std::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 125 of file CbmL1Counters.h.

Constructor & Destructor Documentation

◆ TL1Efficiencies()

TL1Efficiencies::TL1Efficiencies ( )
inline

Definition at line 126 of file CbmL1Counters.h.

◆ ~TL1Efficiencies()

virtual TL1Efficiencies::~TL1Efficiencies ( )
inlinevirtual

Definition at line 140 of file CbmL1Counters.h.

Member Function Documentation

◆ AddCounter()

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

Reimplemented in TL1PerfEfficiencies.

Definition at line 167 of file CbmL1Counters.h.

References TL1TracksCatCounters< T >::AddCounter(), indices, mc, names, ratio_reco, and reco.

Referenced by TL1PerfEfficiencies::AddCounter().

◆ CalcEff()

void TL1Efficiencies::CalcEff ( )
inline

◆ Inc()

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

Definition at line 202 of file CbmL1Counters.h.

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

Referenced by TL1PerfEfficiencies::Inc().

◆ IncNEvents()

void TL1Efficiencies::IncNEvents ( )
inline

Definition at line 148 of file CbmL1Counters.h.

References nEvents.

Referenced by CbmL1::EfficienciesPerformance().

◆ operator+=()

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

Definition at line 191 of file CbmL1Counters.h.

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

Referenced by TL1PerfEfficiencies::operator+=().

◆ ToString()

std::string TL1Efficiencies::ToString ( ) const
inline

Member Data Documentation

◆ clones

int TL1Efficiencies::clones

Definition at line 163 of file CbmL1Counters.h.

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

◆ ghosts

int TL1Efficiencies::ghosts

◆ indices

std::map<TString, int> TL1Efficiencies::indices

◆ mc

◆ names

std::vector<TString> TL1Efficiencies::names

Definition at line 153 of file CbmL1Counters.h.

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

◆ nEvents

int TL1Efficiencies::nEvents

Definition at line 164 of file CbmL1Counters.h.

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

◆ ratio_clones

double TL1Efficiencies::ratio_clones

Definition at line 158 of file CbmL1Counters.h.

Referenced by CalcEff(), and ToString().

◆ ratio_ghosts

double TL1Efficiencies::ratio_ghosts

Definition at line 157 of file CbmL1Counters.h.

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

◆ ratio_reco

TL1TracksCatCounters<double> TL1Efficiencies::ratio_reco

Definition at line 156 of file CbmL1Counters.h.

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

◆ reco


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