ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::Iso Namespace Reference

Namespace holding the IsolationType enumeration. More...

Classes

class  IsolationCaloCorrectionBitsetHelper
 helper to encode and decode the isolation corrections More...
class  IsolationTrackCorrectionBitsetHelper
 helper to encode and decode the isolation corrections More...

Typedefs

typedef std::bitset< 32 > IsolationCaloCorrectionBitset
 typedef of the bit word used to encode the corrections used to calculate the isolation
typedef std::bitset< 32 > IsolationTrackCorrectionBitset

Enumerations

enum  IsolationConeSize {
  cone10 = 0 , cone15 = 1 , cone20 = 2 , cone25 = 3 ,
  cone30 = 4 , cone35 = 5 , cone40 = 6 , cone45 = 7 ,
  cone50 = 8 , numIsolationConeSizes =9
}
 Enumeration for different cone sizes. More...
enum  IsolationCaloCorrection {
  noneCaloCorrection = 0 , coreMuon = 1 , core57cells = 2 , coreCone = 3 ,
  ptCorrection = 4 , pileupCorrection = 5 , coreConeSC = 6 , numIsolationCaloCorrections =7
}
 Enumeration for different ways of correcting isolation in xAOD files. More...
enum  IsolationTrackCorrection {
  noneTrackCorrection = 0 , coreTrackPtr = 1 , coreTrackCone = 2 , coreTrackPt = 3 ,
  numIsolationTrackCorrections =4
}
enum  IsolationCorrectionParameter { coreEnergy = 0 , coreArea = 1 , NumCorrParameters = 2 }
enum  IsolationFlavour {
  etcone = 0 , ptcone = 1 , topoetcone = 2 , ptvarcone = 3 ,
  neflowisol = 4 , ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500 = 5 , ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000 = 6 , ptcone_Nonprompt_All_MaxWeightTTVA_pt500 = 7 ,
  ptcone_Nonprompt_All_MaxWeightTTVA_pt1000 = 8 , ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 9 , ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 10 , ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 11 ,
  ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 12 , numIsolationFlavours =13
}
 Enumeration for different ways of calculating isolation in xAOD files. More...
enum  IsolationType {
  etcone20 = 2 , etcone30 = 4 , etcone40 = 6 , ptcone20 = 12 ,
  ptcone30 = 14 , ptcone40 = 16 , ptcone50 = 18 , topoetcone20 = 22 ,
  topoetcone30 = 24 , topoetcone40 = 26 , ptvarcone20 = 32 , ptvarcone30 = 34 ,
  ptvarcone40 = 36 , neflowisol20 = 42 , neflowisol30 = 44 , neflowisol40 = 46 ,
  ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500 = 52 , ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500 = 54 , ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500 = 56 , ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000 = 62 ,
  ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000 = 64 , ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000 = 66 , ptcone20_Nonprompt_All_MaxWeightTTVA_pt500 = 72 , ptcone30_Nonprompt_All_MaxWeightTTVA_pt500 = 74 ,
  ptcone40_Nonprompt_All_MaxWeightTTVA_pt500 = 76 , ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000 = 82 , ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000 = 84 , ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000 = 86 ,
  ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 92 , ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 94 , ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 96 , ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 102 ,
  ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 104 , ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 106 , ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 112 , ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 114 ,
  ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500 = 116 , ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 122 , ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 124 , ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 = 126 ,
  numIsolationTypes =127
}
 Overall enumeration for isolation types in xAOD files. More...

Functions

static const chartoCString (IsolationConeSize conesize)
static const chartoCString (IsolationCaloCorrection corr)
static const chartoCString (IsolationTrackCorrection corr)
static const chartoCString (IsolationCorrectionParameter corr)
static const chartoCString (IsolationFlavour type)
IsolationConeSize enumconeSize (IsolationType type)
 convert Isolation Type into cone size
float coneSize (IsolationConeSize type)
 convert Isolation Size into cone size
IsolationConeSize coneSize (float size)
 convert float (e.g. 0.3) into IsolationConeSize. An assert is thrown
float coneSize (IsolationType type)
 convert Isolation Type into cone size
IsolationFlavour isolationFlavour (IsolationType type)
 convert Isolation Type into Isolation Flavour
IsolationType isolationType (IsolationFlavour flavour, IsolationConeSize coneSize)
template<class IsoType>
std::string toString (const IsoType &iso)
static const chartoCString (IsolationType type)

Detailed Description

Namespace holding the IsolationType enumeration.

The only reason for having this namespace is to make the user code a little easier to read, with the users requesting isolation values with enumerations values like xAOD::Iso::etcone20 instead of just xAOD::etcone20.

Typedef Documentation

◆ IsolationCaloCorrectionBitset

typedef of the bit word used to encode the corrections used to calculate the isolation

Definition at line 114 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

◆ IsolationTrackCorrectionBitset

Enumeration Type Documentation

◆ IsolationCaloCorrection

Enumeration for different ways of correcting isolation in xAOD files.

Enumerator
noneCaloCorrection 

no correction

coreMuon 

core for muons

core57cells 

core 5x7 cells

coreCone 

core energy (in dR<0.1).

ptCorrection 

egamma ptcorrection

pileupCorrection 

fully corrected

coreConeSC 

core energy (super cluster).

numIsolationCaloCorrections 

unknown

Definition at line 18 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

◆ IsolationConeSize

Enumeration for different cone sizes.

Enumerator
cone10 
cone15 
cone20 
cone25 
cone30 
cone35 
cone40 
cone45 
cone50 
numIsolationConeSizes 

Definition at line 17 of file IsolationConeSize.h.

◆ IsolationCorrectionParameter

Enumerator
coreEnergy 

energy stored for this correction

coreArea 

area used to calculate this correction

NumCorrParameters 

total

Definition at line 91 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

91 {
93 coreEnergy = 0,
94
96 coreArea = 1,
97
100
101 };
@ coreArea
area used to calculate this correction

◆ IsolationFlavour

Enumeration for different ways of calculating isolation in xAOD files.

Enumerator
etcone 

Calorimeter isolation.

ptcone 

Track isolation.

topoetcone 

Topo-cluster ET-sum.

ptvarcone 

mini isolation

neflowisol 

neutral eflow

ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500 

ptvarcone for high mu

ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000 
ptcone_Nonprompt_All_MaxWeightTTVA_pt500 

ptcone for high mu

ptcone_Nonprompt_All_MaxWeightTTVA_pt1000 
ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500 
ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500 

ptcone for high mu

ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
numIsolationFlavours 

Definition at line 17 of file IsolationFlavour.h.

17 {
19 etcone = 0,
20
22 ptcone = 1,
23
25 topoetcone = 2,
26
28 ptvarcone = 3,
29
31 neflowisol = 4,
32
36
40
43
47
48
50
51 }; // enum IsolationFlavour
@ topoetcone
Topo-cluster ET-sum.
@ ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500
ptvarcone for high mu
@ neflowisol
neutral eflow
@ ptcone
Track isolation.
@ ptvarcone
mini isolation
@ ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
ptcone for high mu
@ ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone_Nonprompt_All_MaxWeightTTVA_pt500
ptcone for high mu
@ etcone
Calorimeter isolation.

◆ IsolationTrackCorrection

Enumerator
noneTrackCorrection 

no correction

coreTrackPtr 

tracks pointer

coreTrackCone 

tracks in cone

coreTrackPt 

pT of the track (needed by trigger)

numIsolationTrackCorrections 

unknown

Definition at line 61 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

◆ IsolationType

Overall enumeration for isolation types in xAOD files.

This enumeration holds all the isolation types that are used more ore less in the same way across different reconstruction domains.

Enumerator
etcone20 

Calorimeter isolation.

ET-sum in a cone

etcone30 
etcone40 
ptcone20 

Track isolation.

pT-sum of the tracks in a cone

ptcone30 
ptcone40 
ptcone50 
topoetcone20 

Topo-cluster ET-sum.

ET-sum of the topo-clusters in a cone

topoetcone30 
topoetcone40 
ptvarcone20 

Mini-Isolation http://arxiv.org/abs/1007.2221.

ptvarcone30 
ptvarcone40 
neflowisol20 

Neutral eflow isolation.

neflowisol30 
neflowisol40 
ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500 

Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.

ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500 
ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500 
ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000 
ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000 
ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000 
ptcone20_Nonprompt_All_MaxWeightTTVA_pt500 

Ptcone http://arxiv.org/abs/1007.2221 for high mu.

ptcone30_Nonprompt_All_MaxWeightTTVA_pt500 
ptcone40_Nonprompt_All_MaxWeightTTVA_pt500 
ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000 
ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000 
ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000 
ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500 

Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.

ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500 
ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500 
ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500 

Ptcone http://arxiv.org/abs/1007.2221 for high mu.

ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500 
ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500 
ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000 
numIsolationTypes 

Definition at line 26 of file IsolationType.h.

26 {
27
32 etcone20 = 2,
33 etcone30 = 4,
34 etcone40 = 6,
35
40 ptcone20 = 12,
41 ptcone30 = 14,
42 ptcone40 = 16,
43 ptcone50 = 18,
48 topoetcone20 = 22,
49 topoetcone30 = 24,
50 topoetcone40 = 26,
51
54
55 ptvarcone20 = 32,
56 ptvarcone30 = 34,
57 ptvarcone40 = 36,
58
60
63
64 neflowisol20 = 42,
65 neflowisol30 = 44,
66 neflowisol40 = 46,
67
69
72
79
81
84
91
93
96
103
105
108
115
117
119
120 }; // enum IsolationType
@ ptcone30_Nonprompt_All_MaxWeightTTVA_pt500
@ ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500
Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.
@ ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone20_Nonprompt_All_MaxWeightTTVA_pt500
Ptcone http://arxiv.org/abs/1007.2221 for high mu.
@ ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500
@ neflowisol20
Neutral eflow isolation.
@ ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500
@ ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Ptcone http://arxiv.org/abs/1007.2221 for high mu.
@ topoetcone20
Topo-cluster ET-sum.
@ ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000
@ etcone20
Calorimeter isolation.
@ ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone20
Track isolation.
@ ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Mini-Isolation http://arxiv.org/abs/1007.2221 for high mu.
@ ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
@ ptcone40_Nonprompt_All_MaxWeightTTVA_pt500

Function Documentation

◆ coneSize() [1/3]

IsolationConeSize xAOD::Iso::coneSize ( float size)
inline

convert float (e.g. 0.3) into IsolationConeSize. An assert is thrown

Definition at line 32 of file IsolationHelpers.h.

32 {
33 int index = static_cast<int>(size*20)-2; // *20 equiv. to /0.05;
34 assert ( (index>-1) && (index < static_cast<int>(numIsolationConeSizes) ) );
35 IsolationConeSize rel = static_cast<IsolationConeSize>(index);
36 assert ( fabs(size-coneSize(rel) )<0.0001 ); // this will fail if the input size is 0.3001...
37 return rel;
38 }
Definition index.py:1
float coneSize(IsolationConeSize type)
convert Isolation Size into cone size
IsolationConeSize
Enumeration for different cone sizes.

◆ coneSize() [2/3]

float xAOD::Iso::coneSize ( IsolationConeSize type)
inline

convert Isolation Size into cone size

Definition at line 27 of file IsolationHelpers.h.

27 {
28 return 0.1 + (static_cast<int>(type))*0.05;
29 }

◆ coneSize() [3/3]

float xAOD::Iso::coneSize ( IsolationType type)
inline

convert Isolation Type into cone size

Definition at line 41 of file IsolationHelpers.h.

41 {
43 return coneSize(size);
44 }
IsolationConeSize enumconeSize(IsolationType type)
convert Isolation Type into cone size

◆ enumconeSize()

IsolationConeSize xAOD::Iso::enumconeSize ( IsolationType type)
inline

convert Isolation Type into cone size

Definition at line 22 of file IsolationHelpers.h.

22 {
23 return static_cast<IsolationConeSize>(type%10);
24 }

◆ isolationFlavour()

IsolationFlavour xAOD::Iso::isolationFlavour ( IsolationType type)
inline

convert Isolation Type into Isolation Flavour

Definition at line 47 of file IsolationHelpers.h.

47 {
48 int subtype = type/10;
49 if( subtype >= static_cast<int>(numIsolationFlavours) ) return numIsolationFlavours;
50 return static_cast<IsolationFlavour>(subtype);
51 }
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.

◆ isolationType()

IsolationType xAOD::Iso::isolationType ( IsolationFlavour flavour,
IsolationConeSize coneSize )
inline

Definition at line 54 of file IsolationHelpers.h.

54 {
55 return static_cast<IsolationType>( 10*static_cast<int>(flavour) + static_cast<int>(coneSize) );
56 }
IsolationType
Overall enumeration for isolation types in xAOD files.

◆ toCString() [1/6]

const char * xAOD::Iso::toCString ( IsolationCaloCorrection corr)
inlinestatic

Definition at line 45 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

46 {
47 switch (corr)
48 {
49 case noneCaloCorrection: return "none";
50 case coreMuon: return "coreMuon";
51 case core57cells: return "core57cells";
52 case coreCone: return "coreCone";
53 case coreConeSC: return "coreConeSC";
54 case ptCorrection: return "pt";
55 case pileupCorrection: return "pileup";
57 default: return "[Unknown IsolationCaloCorrection]";
58 }
59 }

◆ toCString() [2/6]

const char * xAOD::Iso::toCString ( IsolationConeSize conesize)
inlinestatic

Definition at line 30 of file IsolationConeSize.h.

31 {
32 switch (conesize)
33 {
34 case cone10: return "cone10";
35 case cone15: return "cone15";
36 case cone20: return "cone20";
37 case cone25: return "cone25";
38 case cone30: return "cone30";
39 case cone35: return "cone35";
40 case cone40: return "cone40";
41 case cone45: return "cone45";
42 case cone50: return "cone50";
44 default:
45 return "Unknown size";
46 }
47 }

◆ toCString() [3/6]

const char * xAOD::Iso::toCString ( IsolationCorrectionParameter corr)
inlinestatic

Definition at line 103 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

104 {
105 switch (corr)
106 {
107 case coreEnergy: return "Energy";
108 case coreArea: return "Area";
109 default: return "[Unknown IsolationCorrectionParameter]";
110 }
111 }

◆ toCString() [4/6]

const char * xAOD::Iso::toCString ( IsolationFlavour type)
inlinestatic

Definition at line 53 of file IsolationFlavour.h.

53 {
54 switch (type) {
55 case etcone: return "etcone";
56 case ptcone: return "ptcone";
57 case topoetcone: return "topoetcone";
58 case ptvarcone: return "ptvarcone";
59 case neflowisol: return "neflowisol";
60 case ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500: return "ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500";
61 case ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000";
62 case ptcone_Nonprompt_All_MaxWeightTTVA_pt500: return "ptcone_Nonprompt_All_MaxWeightTTVA_pt500";
63 case ptcone_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptcone_Nonprompt_All_MaxWeightTTVA_pt1000";
64 case ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
65 case ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
66 case ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
67 case ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
68 default: return "[Unknown IsolationFlavour]";
69 }
70 }

◆ toCString() [5/6]

const char * xAOD::Iso::toCString ( IsolationTrackCorrection corr)
inlinestatic

Definition at line 79 of file Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h.

80 {
81 switch (corr)
82 {
83 case noneTrackCorrection: return "none";
84 case coreTrackPtr: return "coreTrackPtr";
85 case coreTrackCone: return "coreTrackCone";
86 case coreTrackPt: return "coreTrackPt";
87 default: return "[Unknown IsolationTrackCorrection]";
88 }
89 }

◆ toCString() [6/6]

const char * xAOD::Iso::toCString ( IsolationType type)
inlinestatic

Definition at line 122 of file IsolationType.h.

123 {
124 switch (type)
125 {
126 case etcone20: return "etcone20";
127 case etcone30: return "etcone30";
128 case etcone40: return "etcone40";
129
130 case ptcone20: return "ptcone20";
131 case ptcone30: return "ptcone30";
132 case ptcone40: return "ptcone40";
133 case ptcone50: return "ptcone50";
134
135 case ptvarcone20: return "ptvarcone20";
136 case ptvarcone30: return "ptvarcone30";
137 case ptvarcone40: return "ptvarcone40";
138
139 case ptcone20_Nonprompt_All_MaxWeightTTVA_pt500: return "ptcone20_Nonprompt_All_MaxWeightTTVA_pt500";
140 case ptcone30_Nonprompt_All_MaxWeightTTVA_pt500: return "ptcone30_Nonprompt_All_MaxWeightTTVA_pt500";
141 case ptcone40_Nonprompt_All_MaxWeightTTVA_pt500: return "ptcone40_Nonprompt_All_MaxWeightTTVA_pt500";
142
143 case ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000";
144 case ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000";
145 case ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000";
146
147 case ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500: return "ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500";
148 case ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500: return "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500";
149 case ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500: return "ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500";
150
151 case ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000";
152 case ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000";
153 case ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000: return "ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000";
154
155 case ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
156 case ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
157 case ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
158
159 case ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
160 case ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
161 case ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
162
163 case ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
164 case ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
165 case ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500: return "ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt500";
166
167 case ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptvarcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
168 case ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
169 case ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000: return "ptvarcone40_Nonprompt_All_MaxWeightTTVALooseCone_pt1000";
170
171 case topoetcone20: return "topoetcone20";
172 case topoetcone30: return "topoetcone30";
173 case topoetcone40: return "topoetcone40";
174
175 case neflowisol20: return "neflowisol20";
176 case neflowisol30: return "neflowisol30";
177 case neflowisol40: return "neflowisol40";
178
179 default: return "[Unknown IsolationType]";
180 }
181 }

◆ toString()

template<class IsoType>
std::string xAOD::Iso::toString ( const IsoType & iso)

Definition at line 59 of file IsolationHelpers.h.

59 {
60 return toCString(iso);
61 }
static const char * toCString(IsolationConeSize conesize)