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 }
 

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.

Definition at line 59 of file FFJetSmearingTool.h.

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

Function Documentation

◆ enumToString()

TString JetTools::enumToString ( const FFJetAllowedMassDefEnum  type)
inline

Definition at line 81 of file FFJetSmearingTool.h.

82  {
83  switch (type)
84  {
85  case FFJetAllowedMassDefEnum::Calo: return "Calo";
86  case FFJetAllowedMassDefEnum::TA: return "TA";
87  case FFJetAllowedMassDefEnum::Comb: return "Comb";
88  default: return "";
89  }
90  }

◆ stringToEnum()

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

Definition at line 65 of file FFJetSmearingTool.h.

66  {
67  if (name.EqualTo("Calo",TString::kIgnoreCase)){
69  return StatusCode::SUCCESS;
70  }
71  if (name.EqualTo("TA",TString::kIgnoreCase)){
73  return StatusCode::SUCCESS;
74  }
75  if (name.EqualTo("Comb",TString::kIgnoreCase)){
76  result = FFJetAllowedMassDefEnum::Comb;
77  return StatusCode::SUCCESS;
78  }
79  return StatusCode::FAILURE;
80  }
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:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JetTools::FFJetAllowedMassDefEnum::Comb
@ Comb
Track Assisted.
jet::CombMassComp::TA
@ TA
Definition: UncertaintyEnum.h:198