ATLAS Offline Software
IegammaShowerShape.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
6 // IegammaShowerShape.h, (c) ATLAS Detector software 2008
8 
9 #ifndef EGAMMAINTERFACES_IEGAMMASHOWERSHAPE_H
10 #define EGAMMAINTERFACES_IEGAMMASHOWERSHAPE_H
11 
21 // Gaudi
22 #include "GaudiKernel/IAlgTool.h"
23 
24 // Forward declarations
26 class CaloCellContainer;
28 static const InterfaceID IID_IegammaShowerShape("IegammaShowerShape", 1, 0);
29 
30 class IegammaShowerShape : virtual public IAlgTool {
31 
32 
33 public:
35  virtual ~IegammaShowerShape(){};
36 
38  static const InterfaceID& interfaceID();
39 
41  class Info{
42  public :
43 
44  // pre sampler
45  double e011 = 0;
46  double e033 = 0;
47 
48  // first sampling
49  double etaseed = 0;
50  double phiseed = 0;
51  double etamax = 0;
52  double phimax = 0;
53  double ncetamax = -1;
54  double ncetaseed = -1;
55  double wstot = -999;
56  double etot = 0;
57  double etas3 = 0;
58  double deltaEtaTrackShower = -999;
59  double deltaEtaTrackShower7 = -999;
60  double e132 = 0;
61  double e1152 = 0;
62  double ws3 = -999;
63  double ws3c = -999;
64  double poscs1 = -999;
65  double etaincell = -999;
66  double asymmetrys3 = -999;
67  double f1 = 0;
68  double f1core = 0;
69  double f2 = 0;
70  double widths5 = -999;
71  double esec = 0;
72  double val = 0;
73  double fside = 0;
74  double emaxs1 = 0;
75  double emins1 = 0;
76  double esec1 = 0;
77  bool success = false ;
78 
79  // second sampling
80  double e233 = 0;
81  double e235 = 0;
82  double e237 = 0;
83  double e255 = 0;
84  double e277 = 0;
85  double etaw = 0;
86  double phiw = 0;
87  double width= 0;
88  double poscs2=0;
89  double etagranularity = 0;
90  double phigranularity = 0;
91 
92  // third sampling
93  double f3 = 0;
94  double f3core = 0;
95  double e333 = 0;
96  double e335 = 0;
97  double e355 = 0;
98  double e337 = 0;
99  double e377 = 0;
100 
101  //combination of samplings
102  double ecore = 0;
103  double reta3337_allcalo = 0;
104  };
105 
107  virtual StatusCode execute(const xAOD::CaloCluster& cluster,
108  const CaloDetDescrManager& cmgr,
109  const CaloCellContainer& cell_container,
110  Info& info) const = 0;
111 };
112 
113 inline const InterfaceID& IegammaShowerShape::interfaceID()
114 {
115  return IID_IegammaShowerShape;
116 }
117 
118 #endif // EGAMMAINTERFACES_IEGAMMASHOWERSHAPE_H
grepfile.info
info
Definition: grepfile.py:38
IegammaShowerShape::Info::ws3
double ws3
Definition: IegammaShowerShape.h:62
IegammaShowerShape::Info::e355
double e355
Definition: IegammaShowerShape.h:97
IegammaShowerShape::Info
the info payload
Definition: IegammaShowerShape.h:41
IegammaShowerShape::Info::etaseed
double etaseed
Definition: IegammaShowerShape.h:49
IegammaShowerShape::Info::etagranularity
double etagranularity
Definition: IegammaShowerShape.h:89
IegammaShowerShape::Info::f3core
double f3core
Definition: IegammaShowerShape.h:94
IegammaShowerShape::execute
virtual StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info) const =0
AlgTool method.
IegammaShowerShape::Info::ncetaseed
double ncetaseed
Definition: IegammaShowerShape.h:54
IegammaShowerShape::Info::f3
double f3
Definition: IegammaShowerShape.h:93
IegammaShowerShape::Info::reta3337_allcalo
double reta3337_allcalo
Definition: IegammaShowerShape.h:103
IegammaShowerShape::Info::phiseed
double phiseed
Definition: IegammaShowerShape.h:50
IegammaShowerShape::Info::poscs2
double poscs2
Definition: IegammaShowerShape.h:88
IegammaShowerShape::Info::f1core
double f1core
Definition: IegammaShowerShape.h:68
IegammaShowerShape::Info::f2
double f2
Definition: IegammaShowerShape.h:69
IegammaShowerShape::Info::etaincell
double etaincell
Definition: IegammaShowerShape.h:65
IegammaShowerShape::Info::etas3
double etas3
Definition: IegammaShowerShape.h:57
IegammaShowerShape::Info::e255
double e255
Definition: IegammaShowerShape.h:83
IegammaShowerShape::Info::emins1
double emins1
Definition: IegammaShowerShape.h:75
IegammaShowerShape::Info::e237
double e237
Definition: IegammaShowerShape.h:82
IegammaShowerShape::Info::e377
double e377
Definition: IegammaShowerShape.h:99
IegammaShowerShape::Info::e1152
double e1152
Definition: IegammaShowerShape.h:61
IegammaShowerShape::Info::etaw
double etaw
Definition: IegammaShowerShape.h:85
IegammaShowerShape::Info::e132
double e132
Definition: IegammaShowerShape.h:60
IegammaShowerShape::Info::etamax
double etamax
Definition: IegammaShowerShape.h:51
IegammaShowerShape::Info::widths5
double widths5
Definition: IegammaShowerShape.h:70
IegammaShowerShape::Info::deltaEtaTrackShower
double deltaEtaTrackShower
Definition: IegammaShowerShape.h:58
IegammaShowerShape::Info::e011
double e011
Definition: IegammaShowerShape.h:45
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
IegammaShowerShape::Info::ws3c
double ws3c
Definition: IegammaShowerShape.h:63
CaloClusterFwd.h
IegammaShowerShape::Info::e335
double e335
Definition: IegammaShowerShape.h:96
IegammaShowerShape::Info::e033
double e033
Definition: IegammaShowerShape.h:46
IegammaShowerShape::Info::phimax
double phimax
Definition: IegammaShowerShape.h:52
IegammaShowerShape::Info::f1
double f1
Definition: IegammaShowerShape.h:67
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IegammaShowerShape::Info::e277
double e277
Definition: IegammaShowerShape.h:84
IegammaShowerShape::Info::deltaEtaTrackShower7
double deltaEtaTrackShower7
Definition: IegammaShowerShape.h:59
IegammaShowerShape::Info::e235
double e235
Definition: IegammaShowerShape.h:81
IegammaShowerShape::Info::phigranularity
double phigranularity
Definition: IegammaShowerShape.h:90
IegammaShowerShape::Info::e233
double e233
Definition: IegammaShowerShape.h:80
IegammaShowerShape::Info::esec1
double esec1
Definition: IegammaShowerShape.h:76
IegammaShowerShape
Definition: IegammaShowerShape.h:30
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
IegammaShowerShape::Info::width
double width
Definition: IegammaShowerShape.h:87
IegammaShowerShape::Info::asymmetrys3
double asymmetrys3
Definition: IegammaShowerShape.h:66
IegammaShowerShape::Info::poscs1
double poscs1
Definition: IegammaShowerShape.h:64
IegammaShowerShape::Info::val
double val
Definition: IegammaShowerShape.h:72
IegammaShowerShape::~IegammaShowerShape
virtual ~IegammaShowerShape()
Virtual destructor.
Definition: IegammaShowerShape.h:35
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
IegammaShowerShape::Info::e337
double e337
Definition: IegammaShowerShape.h:98
IegammaShowerShape::Info::emaxs1
double emaxs1
Definition: IegammaShowerShape.h:74
IegammaShowerShape::Info::e333
double e333
Definition: IegammaShowerShape.h:95
IegammaShowerShape::Info::ncetamax
double ncetamax
Definition: IegammaShowerShape.h:53
IegammaShowerShape::Info::wstot
double wstot
Definition: IegammaShowerShape.h:55
IegammaShowerShape::Info::phiw
double phiw
Definition: IegammaShowerShape.h:86
IegammaShowerShape::Info::etot
double etot
Definition: IegammaShowerShape.h:56
IegammaShowerShape::Info::esec
double esec
Definition: IegammaShowerShape.h:71
IegammaShowerShape::Info::ecore
double ecore
Definition: IegammaShowerShape.h:102
IegammaShowerShape::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IegammaShowerShape.h:113
IegammaShowerShape::Info::success
bool success
Definition: IegammaShowerShape.h:77
IegammaShowerShape::Info::fside
double fside
Definition: IegammaShowerShape.h:73