ATLAS Offline Software
getIsolationDecorator.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Local include(s):
7 
8 // System include(s):
9 #include <iostream>
10 
12 #define DEFINE_DECORATOR(TYPE) \
13  case xAOD::Iso::TYPE: \
14 { \
15  static const SG::AuxElement::Decorator< float > a( #TYPE); \
16  return &a; \
17 } \
18 break;
19 
20 
21 namespace xAOD {
22 
25  switch( type ) {
26  //EtCone variables
30  //PtCone variables
35  // TopoEtcone variables:
39  // Mini-Isolation (http://arxiv.org/abs/1007.2221) variables:
43  // Ptcone variables for high mu:
56  // Mini-Isolation (http://arxiv.org/abs/1007.2221) variables for high mu:
69  // neutral eflow
73  default:
74  std::cerr << "xAOD::Primitives ERROR Unknown float IsolationType ("
75  << type << ") requested" << std::endl;
76  return nullptr;
77  }
78  }
79 }// namespace xAOD
xAOD::Iso::ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Ptcone http://arxiv.org/abs/1007.2221 for high mu.
Definition: IsolationType.h:109
xAOD::getIsolationDecorator
const SG::AuxElement::Decorator< float > * getIsolationDecorator(Iso::IsolationType type)
Get the Decorator object for a given isolation type.
Definition: getIsolationDecorator.cxx:24
xAOD::Iso::ptvarcone30
@ ptvarcone30
Definition: IsolationType.h:56
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
xAOD::Iso::ptvarcone20
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
Definition: IsolationType.h:55
xAOD::Iso::neflowisol20
@ neflowisol20
Neutral eflow isolation.
Definition: IsolationType.h:64
xAOD::Iso::ptcone30_Nonprompt_All_MaxWeightTTVA_pt500
@ ptcone30_Nonprompt_All_MaxWeightTTVA_pt500
Definition: IsolationType.h:86
xAOD::Iso::ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500
@ ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500
Definition: IsolationType.h:75
xAOD::Iso::ptcone30
@ ptcone30
Definition: IsolationType.h:41
xAOD::Iso::neflowisol30
@ neflowisol30
Definition: IsolationType.h:65
xAOD::Iso::ptcone20
@ ptcone20
Track isolation.
Definition: IsolationType.h:40
xAOD::Iso::ptcone20_Nonprompt_All_MaxWeightTTVA_pt500
@ ptcone20_Nonprompt_All_MaxWeightTTVA_pt500
Ptcone http://arxiv.org/abs/1007.2221 for high mu.
Definition: IsolationType.h:85
xAOD::Iso::ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Definition: IsolationType.h:111
xAOD::Iso::etcone40
@ etcone40
Definition: IsolationType.h:34
xAOD::Iso::topoetcone30
@ topoetcone30
Definition: IsolationType.h:49
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::Iso::ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Definition: IsolationType.h:99
xAOD::Iso::etcone30
@ etcone30
Definition: IsolationType.h:33
xAOD::Iso::ptvarcone40
@ ptvarcone40
Definition: IsolationType.h:57
xAOD::Iso::ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:76
xAOD::Iso::ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:102
xAOD::Iso::neflowisol40
@ neflowisol40
Definition: IsolationType.h:66
xAOD::Iso::ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:89
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:59
xAOD::Iso::etcone20
@ etcone20
Calorimeter isolation.
Definition: IsolationType.h:32
xAOD::Iso::IsolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
Definition: IsolationType.h:26
xAOD::Iso::ptcone50
@ ptcone50
Definition: IsolationType.h:43
xAOD::Iso::ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:112
xAOD::Iso::ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:101
xAOD::Iso::ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500
@ ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500
Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.
Definition: IsolationType.h:73
xAOD::Iso::ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:100
xAOD::Iso::ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Definition: IsolationType.h:98
getIsolationDecorator.h
xAOD::Iso::ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.
Definition: IsolationType.h:97
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
DEFINE_DECORATOR
#define DEFINE_DECORATOR(TYPE)
Helper macro for Accessor objects.
Definition: getIsolationDecorator.cxx:12
xAOD::Iso::ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:78
xAOD::Iso::ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Definition: IsolationType.h:110
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::Iso::ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:77
xAOD::Iso::ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:113
xAOD::Iso::ptcone40_Nonprompt_All_MaxWeightTTVA_pt500
@ ptcone40_Nonprompt_All_MaxWeightTTVA_pt500
Definition: IsolationType.h:87
xAOD::Iso::topoetcone40
@ topoetcone40
Definition: IsolationType.h:50
xAOD::Iso::ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationType.h:114
xAOD::Iso::ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500
@ ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500
Definition: IsolationType.h:74
xAOD::Iso::ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:88
xAOD::Iso::ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationType.h:90