ATLAS Offline Software
Reconstruction
PFlow
PFlowUtils
PFlowUtils
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PFOUTILS_PFODEFS_H
6
#define PFOUTILS_PFODEFS_H
7
8
namespace
CP
{
9
10
enum
PFO_JetMETConfig_inputScale
{
EM
= 0,
LC
};
11
enum
PFO_JetMETConfig_charge
{
neutral
= 0,
charged
= 1,
all
= 2 };
12
13
struct
inputScaleMapper
{
14
bool
getValue
(
const
std::string& nameToMapFrom,
PFO_JetMETConfig_inputScale
& inputScaleToMapTo){
15
if
(
"EM"
== nameToMapFrom) {
16
inputScaleToMapTo =
PFO_JetMETConfig_inputScale::EM
;
17
return
true
;
18
}
19
else
if
(
"LC"
== nameToMapFrom) {
20
inputScaleToMapTo =
PFO_JetMETConfig_inputScale::LC
;
21
return
true
;
22
}
23
return
false
;
24
}
25
26
};
27
28
}
29
30
#endif
CP::PFO_JetMETConfig_inputScale
PFO_JetMETConfig_inputScale
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:10
CP::inputScaleMapper
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:13
CP::inputScaleMapper::getValue
bool getValue(const std::string &nameToMapFrom, PFO_JetMETConfig_inputScale &inputScaleToMapTo)
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:14
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
CP::all
@ all
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:11
CP::neutral
@ neutral
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:11
CP::PFO_JetMETConfig_charge
PFO_JetMETConfig_charge
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:11
CP::LC
@ LC
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:10
CP::EM
@ EM
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:10
CP::charged
@ charged
Definition:
Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:11
Generated on Thu Mar 13 2025 21:16:18 for ATLAS Offline Software by
1.8.18