ATLAS Offline Software
EfficiencyPurityCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKVALHISTUTILS_EFFICIENCYPURITYCALCULATOR_H
6 #define TRKVALHISTUTILS_EFFICIENCYPURITYCALCULATOR_H
7 
8 #include "TH1.h"
9 #include "TH2.h"
10 
12  public:
13  enum axis { kX, kY, kZ };
14 
15  static void inverseSum( TH1* in, TH1* out, int axis );
16  static void calculateIntegrated( TH1* all, TH1* matched, TH1* puri, int axis, int dim = 1);
17  static void calculateEfficiency( TH1* reference, TH1* matched, TH1* effPur );
18 
19 };
20 
21 #endif
yodamerge_tmp.dim
dim
Definition: yodamerge_tmp.py:239
EfficiencyPurityCalculator::calculateEfficiency
static void calculateEfficiency(TH1 *reference, TH1 *matched, TH1 *effPur)
Definition: EfficiencyPurityCalculator.cxx:53
EfficiencyPurityCalculator::kY
@ kY
Definition: EfficiencyPurityCalculator.h:13
Cut::all
@ all
Definition: SUSYToolsAlg.cxx:67
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
EfficiencyPurityCalculator::inverseSum
static void inverseSum(TH1 *in, TH1 *out, int axis)
Definition: EfficiencyPurityCalculator.cxx:8
reference
Definition: hcg.cxx:437
EfficiencyPurityCalculator::calculateIntegrated
static void calculateIntegrated(TH1 *all, TH1 *matched, TH1 *puri, int axis, int dim=1)
Definition: EfficiencyPurityCalculator.cxx:34
EfficiencyPurityCalculator
Definition: EfficiencyPurityCalculator.h:11
EfficiencyPurityCalculator::kX
@ kX
Definition: EfficiencyPurityCalculator.h:13
EfficiencyPurityCalculator::axis
axis
Definition: EfficiencyPurityCalculator.h:13
python.ElectronD3PDObject.matched
matched
Definition: ElectronD3PDObject.py:138
EfficiencyPurityCalculator::kZ
@ kZ
Definition: EfficiencyPurityCalculator.h:13