ATLAS Offline Software
Public Member Functions | List of all members
CP::inputScaleMapper Struct Reference

#include <PFODefs.h>

Collaboration diagram for CP::inputScaleMapper:

Public Member Functions

bool getValue (const std::string &nameToMapFrom, PFO_JetMETConfig_inputScale &inputScaleToMapTo)
 

Detailed Description

Definition at line 13 of file Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h.

Member Function Documentation

◆ getValue()

bool CP::inputScaleMapper::getValue ( const std::string &  nameToMapFrom,
PFO_JetMETConfig_inputScale inputScaleToMapTo 
)
inline

Definition at line 14 of file Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h.

14  {
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  }

The documentation for this struct was generated from the following file:
CP::LC
@ LC
Definition: Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:10
CP::EM
@ EM
Definition: Reconstruction/PFlow/PFlowUtils/PFlowUtils/PFODefs.h:10