ATLAS Offline Software
Enumerations | Functions
JetTools Namespace Reference

Implementation of the Forward Folding (FF) Jet smearing tool interface. More...

Enumerations

enum  FFJetAllowedMassDefEnum { FFJetAllowedMassDefEnum::Calo, FFJetAllowedMassDefEnum::TA, FFJetAllowedMassDefEnum::Comb, FFJetAllowedMassDefEnum::UFO }
 

Functions

StatusCode stringToEnum (const TString &name, FFJetAllowedMassDefEnum &result)
 
TString enumToString (const FFJetAllowedMassDefEnum type)
 

Detailed Description

Implementation of the Forward Folding (FF) Jet smearing tool interface.

This tool allows to smear and unsmear the mass of Large R jets using the Forward Folding procedure to evaluate systematic uncertainties. For information, see the Twiki: https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/FFJetSmearingTool

If you find any bug, please, contact alber.nosp@m.to.p.nosp@m.rades.nosp@m..iba.nosp@m.nez@c.nosp@m.ern..nosp@m.ch

Enumeration Type Documentation

◆ FFJetAllowedMassDefEnum

Enumerator
Calo 
TA 

Calorimeter.

Comb 

Track Assisted.

UFO 

Combined.

Definition at line 59 of file FFJetSmearingTool.h.

60  {
61  Calo,
62  TA,
63  Comb,
64  UFO,
65  };

Function Documentation

◆ enumToString()

TString JetTools::enumToString ( const FFJetAllowedMassDefEnum  type)
inline

Definition at line 86 of file FFJetSmearingTool.h.

87  {
88  switch (type)
89  {
90  case FFJetAllowedMassDefEnum::Calo: return "Calo";
91  case FFJetAllowedMassDefEnum::TA: return "TA";
92  case FFJetAllowedMassDefEnum::Comb: return "Comb";
93  case FFJetAllowedMassDefEnum::UFO: return "UFO";
94  default: return "";
95  }
96  }

◆ stringToEnum()

StatusCode JetTools::stringToEnum ( const TString &  name,
FFJetAllowedMassDefEnum result 
)
inline

Definition at line 66 of file FFJetSmearingTool.h.

67  {
68  if (name.EqualTo("Calo",TString::kIgnoreCase)){
70  return StatusCode::SUCCESS;
71  }
72  if (name.EqualTo("TA",TString::kIgnoreCase)){
74  return StatusCode::SUCCESS;
75  }
76  if (name.EqualTo("Comb",TString::kIgnoreCase)){
77  result = FFJetAllowedMassDefEnum::Comb;
78  return StatusCode::SUCCESS;
79  }
80  if (name.EqualTo("UFO",TString::kIgnoreCase)){
81  result = FFJetAllowedMassDefEnum::UFO;
82  return StatusCode::SUCCESS;
83  }
84  return StatusCode::FAILURE;
85  }
get_generator_info.result
result
Definition: get_generator_info.py:21
jet::CombMassComp::Calo
@ Calo
Definition: UncertaintyEnum.h:197
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JetTools::FFJetAllowedMassDefEnum::Comb
@ Comb
Track Assisted.
JetTools::FFJetAllowedMassDefEnum::UFO
@ UFO
Combined.
jet::CombMassComp::TA
@ TA
Definition: UncertaintyEnum.h:198