ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace xAOD {
12
13 namespace Iso {
14
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
Namespace holding the IsolationType enumeration.
static const char * toCString(IsolationConeSize conesize)
IsolationConeSize
Enumeration for different cone sizes.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.