ATLAS Offline Software
Loading...
Searching...
No Matches
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
8namespace CP{
9
12
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
Select isolated Photons, Electrons and Muons.
bool getValue(const std::string &nameToMapFrom, PFO_JetMETConfig_inputScale &inputScaleToMapTo)