ATLAS Offline Software
IsolationConeSize.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 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_ISOLATIONCONESIZE_H
9 #define XAODPRIMITIVES_ISOLATIONCONESIZE_H
10 
11 namespace xAOD {
12 
13  namespace Iso {
14 
18  cone10 = 0,
19  cone15 = 1,
20  cone20 = 2,
21  cone25 = 3,
22  cone30 = 4,
23  cone35 = 5,
24  cone40 = 6,
25  cone45 = 7,
26  cone50 = 8,
28  };
29 
30  static inline const char* toCString(IsolationConeSize conesize)
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  }
48  } // namespace Iso
49 
50 
51 } // namespace xAOD
52 
53 #endif // XAODPRIMITIVES_ISOLATIONCONESIZE_H
54 
xAOD::Iso::cone50
@ cone50
Definition: IsolationConeSize.h:26
xAOD::Iso::IsolationConeSize
IsolationConeSize
Enumeration for different cone sizes.
Definition: IsolationConeSize.h:17
xAOD::Iso::cone10
@ cone10
Definition: IsolationConeSize.h:18
xAOD::Iso::cone30
@ cone30
Definition: IsolationConeSize.h:22
xAOD::Iso::cone20
@ cone20
Definition: IsolationConeSize.h:20
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::Iso::cone45
@ cone45
Definition: IsolationConeSize.h:25
xAOD::Iso::cone15
@ cone15
Definition: IsolationConeSize.h:19
xAOD::Iso::cone25
@ cone25
Definition: IsolationConeSize.h:21
CP::Iso
@ Iso
Definition: MuonEfficiencyType.h:16
xAOD::Iso::numIsolationConeSizes
@ numIsolationConeSizes
Definition: IsolationConeSize.h:27
xAOD::Iso::cone35
@ cone35
Definition: IsolationConeSize.h:23
xAOD::Iso::cone40
@ cone40
Definition: IsolationConeSize.h:24