30 AddCounter(
"reconstructable",
"Reconstructable tracks ");
31 AddCounter(
"reconstructed",
"Reconstructed tracks ");
39 names.push_back(name);
70 void Inc(
bool isReco,
int _nclones, std::string name)
72 const int index =
indices[name];
85 std::cout.setf(std::ios::fixed);
86 std::cout.setf(std::ios::showpoint);
87 std::cout.precision(3);
88 std::cout <<
"Event category normalised to: "
95 <<
"All MC" << std::endl;
98 for (
int iC = 0; iC < NCounters; iC++) {
TL1TracksCatCounters< int > clone
TL1TracksCatCounters< int > reco
void Inc(bool isReco, int _nclones, std::string name)
~CbmEbEventEfficiencies()
CbmEbEventEfficiencies & operator+=(CbmEbEventEfficiencies &a)
TL1TracksCatCounters< int > mc
TL1TracksCatCounters< double > ratio_clone
void AddCounter(std::string shortname, std::string name)
std::vector< std::string > names
TL1TracksCatCounters< double > ratio_reco
std::map< std::string, int > indices
counters used for efficiency calculation
cacore::Vector< T > counters