ATLAS Offline Software
Loading...
Searching...
No Matches
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

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: