ATLAS Offline Software
IsolationFlavour.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: IsolationType.h 618834 2014-09-27 16:40:39Z christos $
8 #ifndef XAODPRIMITIVES_ISOLATIONFLAVOUR_H
9 #define XAODPRIMITIVES_ISOLATIONFLAVOUR_H
10 
11 namespace xAOD {
12 
13  namespace Iso {
14 
19  etcone = 0,
20 
22  ptcone = 1,
23 
26 
28  ptvarcone = 3,
29 
32 
36 
40 
43 
47 
48 
50 
51  }; // enum IsolationFlavour
52 
53  static inline const char* toCString(IsolationFlavour type) {
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  }
71 
72 
73  } // namespace Iso
74 
75 
76 } // namespace xAOD
77 
78 #endif
79 
xAOD::Iso::topoetcone
@ topoetcone
Topo-cluster ET-sum.
Definition: IsolationFlavour.h:25
xAOD::Iso::IsolationFlavour
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.
Definition: IsolationFlavour.h:17
xAOD::Iso::etcone
@ etcone
Calorimeter isolation.
Definition: IsolationFlavour.h:19
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::Iso::neflowisol
@ neflowisol
neutral eflow
Definition: IsolationFlavour.h:31
xAOD::Iso::ptvarcone
@ ptvarcone
mini isolation
Definition: IsolationFlavour.h:28
CP::Iso
@ Iso
Definition: MuonEfficiencyType.h:16
xAOD::Iso::ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationFlavour.h:42
xAOD::Iso::ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
ptcone for high mu
Definition: IsolationFlavour.h:45
xAOD::Iso::ptcone_Nonprompt_All_MaxWeightTTVA_pt500
@ ptcone_Nonprompt_All_MaxWeightTTVA_pt500
ptcone for high mu
Definition: IsolationFlavour.h:38
xAOD::Iso::ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
@ ptvarcone_Nonprompt_All_MaxWeightTTVALooseCone_pt500
Definition: IsolationFlavour.h:41
xAOD::Iso::ptcone
@ ptcone
Track isolation.
Definition: IsolationFlavour.h:22
xAOD::Iso::ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptvarcone_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationFlavour.h:35
xAOD::Iso::numIsolationFlavours
@ numIsolationFlavours
Definition: IsolationFlavour.h:49
xAOD::Iso::ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
@ ptcone_Nonprompt_All_MaxWeightTTVALooseCone_pt1000
Definition: IsolationFlavour.h:46
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::Iso::ptcone_Nonprompt_All_MaxWeightTTVA_pt1000
@ ptcone_Nonprompt_All_MaxWeightTTVA_pt1000
Definition: IsolationFlavour.h:39
xAOD::Iso::ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500
@ ptvarcone_Nonprompt_All_MaxWeightTTVA_pt500
ptvarcone for high mu
Definition: IsolationFlavour.h:34