ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace Trk
12{
13 class Surface;
14}
15
16namespace Rec
17{
18
20{
21
22public:
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
39private:
42 double m_R;
43 double m_Z;
45 double m_X0;
46};
47
48inline int
50{return m_igeom;}
51
52inline bool
54{return m_isBarrel;}
55
56inline double
58{return m_R;}
59
60inline const Trk::Surface*
62{ return m_surface; }
63
64inline double
66{return m_Z;}
67
68inline double
70{return m_X0;}
71
72} // end of namespace
73
74#endif
#define z
~CaloLayer()=default
double X0() const
Definition CaloLayer.h:69
double Z() const
Definition CaloLayer.h:65
bool isBarrel() const
Definition CaloLayer.h:53
void print() const
Definition CaloLayer.cxx:30
const Trk::Surface * surface(void) const
Definition CaloLayer.h:61
int geom() const
Definition CaloLayer.h:49
CaloLayer(const Trk::Surface *surface, int geom, double r, double z, double radLen, bool isBarrel)
Definition CaloLayer.cxx:13
const Trk::Surface * m_surface
Definition CaloLayer.h:44
double R() const
Definition CaloLayer.h:57
Abstract Base Class for tracking surfaces.
int r
Definition globals.cxx:22
Gaudi Tools.
Ensure that the ATLAS eigen extensions are properly loaded.