ATLAS Offline Software
CaloLayer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUIDEVENT_CALOLAYER_H
6 # define MUIDEVENT_CALOLAYER_H
7 
8 //<<<<<< INCLUDES >>>>>>
9 //<<<<<< CLASS DECLARATIONS >>>>>>
10 
11 namespace Trk
12 {
13  class Surface;
14 }
15 
16 namespace Rec
17 {
18 
19 class CaloLayer
20 {
21 
22 public:
24  int geom,
25  double r,
26  double z,
27  double radLen,
28  bool isBarrel);
29  ~CaloLayer() = default;
30 
31  int geom() const;
32  bool isBarrel() const;
33  void print() const;
34  const Trk::Surface* surface (void) const;
35  double R() const;
36  double Z() const;
37  double X0() const;
38 
39 private:
40  int m_igeom;
41  bool m_isBarrel;
42  double m_R;
43  double m_Z;
45  double m_X0;
46 };
47 
48 inline int
50 {return m_igeom;}
51 
52 inline bool
54 {return m_isBarrel;}
55 
56 inline double
57 CaloLayer::R() const
58 {return m_R;}
59 
60 inline const Trk::Surface*
61 CaloLayer::surface (void) const
62 { return m_surface; }
63 
64 inline double
65 CaloLayer::Z() const
66 {return m_Z;}
67 
68 inline double
70 {return m_X0;}
71 
72 } // end of namespace
73 
74 #endif
Rec::CaloLayer::m_isBarrel
bool m_isBarrel
Definition: CaloLayer.h:41
beamspotman.r
def r
Definition: beamspotman.py:676
Rec::CaloLayer::CaloLayer
CaloLayer(const Trk::Surface *surface, int geom, double r, double z, double radLen, bool isBarrel)
Definition: CaloLayer.cxx:13
Rec::CaloLayer::~CaloLayer
~CaloLayer()=default
Rec::CaloLayer::X0
double X0() const
Definition: CaloLayer.h:69
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Rec::CaloLayer::m_surface
const Trk::Surface * m_surface
Definition: CaloLayer.h:44
Rec::CaloLayer::surface
const Trk::Surface * surface(void) const
Definition: CaloLayer.h:61
Rec::CaloLayer
Definition: CaloLayer.h:20
z
#define z
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::CaloLayer::R
double R() const
Definition: CaloLayer.h:57
Rec::CaloLayer::m_X0
double m_X0
Definition: CaloLayer.h:45
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Rec::CaloLayer::print
void print() const
Definition: CaloLayer.cxx:30
Rec::CaloLayer::m_Z
double m_Z
Definition: CaloLayer.h:43
Rec::CaloLayer::geom
int geom() const
Definition: CaloLayer.h:49
Rec::CaloLayer::m_igeom
int m_igeom
Definition: CaloLayer.h:40
Rec::CaloLayer::Z
double Z() const
Definition: CaloLayer.h:65
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Rec::CaloLayer::isBarrel
bool isBarrel() const
Definition: CaloLayer.h:53
Rec::CaloLayer::m_R
double m_R
Definition: CaloLayer.h:42