ATLAS Offline Software
ElectronEfficiencyHelpers.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 // Dear emacs, this is -*-c++-*-
6 
7 #ifndef __ELECTRONEFFICIENCYHELPERS__
8 #define __ELECTRONEFFICIENCYHELPERS__
9 
10 // Atlas includes
11 #include "xAODEgamma/Electron.h"
13 
15 
17  CP::CorrectionCode getEleTruthCharge( const xAOD::Electron& ele, int& truthcharge);
18 
20  CP::CorrectionCode isGoodEle( const xAOD::Electron& ele, bool& goodEle);
21 
23 
24 }
25 
26 #endif
ElectronEfficiencyHelpers::isGoodEle
CP::CorrectionCode isGoodEle(const xAOD::Electron &ele, bool &goodEle)
Return true if it's good ele for charge flip measurements.
Definition: ElectronEfficiencyHelpers.cxx:36
xAOD::Electron_v1
Definition: Electron_v1.h:34
ElectronEfficiencyHelpers::getEleTruthCharge
CP::CorrectionCode getEleTruthCharge(const xAOD::Electron &ele, int &truthcharge)
Get the charge of the original electron.
Definition: ElectronEfficiencyHelpers.cxx:14
CP::CorrectionCode
Return value from object correction CP tools.
Definition: CorrectionCode.h:31
ElectronEfficiencyHelpers::ROOT6_NamespaceAutoloadHook
Definition: ElectronEfficiencyHelpers.h:22
CorrectionCode.h
Electron.h
ElectronEfficiencyHelpers
Definition: ElectronEfficiencyHelpers.h:14