ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Rec::CaloLayer Class Reference

#include <CaloLayer.h>

Collaboration diagram for Rec::CaloLayer:

Public Member Functions

 CaloLayer (const Trk::Surface *surface, int geom, double r, double z, double radLen, bool isBarrel)
 
 ~CaloLayer ()=default
 
int geom () const
 
bool isBarrel () const
 
void print () const
 
const Trk::Surfacesurface (void) const
 
double R () const
 
double Z () const
 
double X0 () const
 

Private Attributes

int m_igeom
 
bool m_isBarrel
 
double m_R
 
double m_Z
 
const Trk::Surfacem_surface
 
double m_X0
 

Detailed Description

Definition at line 19 of file CaloLayer.h.

Constructor & Destructor Documentation

◆ CaloLayer()

Rec::CaloLayer::CaloLayer ( const Trk::Surface surface,
int  geom,
double  r,
double  z,
double  radLen,
bool  isBarrel 
)

Definition at line 13 of file CaloLayer.cxx.

19  : m_igeom (geom),
21  m_R (r),
22  m_Z (z),
24  m_X0 (radLen)
25 {}

◆ ~CaloLayer()

Rec::CaloLayer::~CaloLayer ( )
default

Member Function Documentation

◆ geom()

int Rec::CaloLayer::geom ( ) const
inline

Definition at line 49 of file CaloLayer.h.

50 {return m_igeom;}

◆ isBarrel()

bool Rec::CaloLayer::isBarrel ( ) const
inline

Definition at line 53 of file CaloLayer.h.

54 {return m_isBarrel;}

◆ print()

void Rec::CaloLayer::print ( ) const

Definition at line 30 of file CaloLayer.cxx.

31 {
32 // std::cout << " Layer geom " << m_igeom << std::endl;
33  std::cout << " R " << m_R << std::endl;
34  std::cout << " Z " << m_Z << std::endl;
35 // std::cout << " Rmax " << m_Rmax << std::endl;
36 // std::cout << " Rmin " << m_Rmin << std::endl;
37 // std::cout << " Zmax " << m_Zmax << std::endl;
38 // std::cout << " Zmin " << m_Zmin << std::endl;
39  std::cout << " Rad Len " << m_X0<< std::endl;
40 // std::cout << " isBarrel " << m_isBarrel<< std::endl;
41 // std::cout << " CaloRegion " << m_caloregion<< std::endl;
42  std::cout << std::endl;
43 }

◆ R()

double Rec::CaloLayer::R ( ) const
inline

Definition at line 57 of file CaloLayer.h.

58 {return m_R;}

◆ surface()

const Trk::Surface * Rec::CaloLayer::surface ( void  ) const
inline

Definition at line 61 of file CaloLayer.h.

62 { return m_surface; }

◆ X0()

double Rec::CaloLayer::X0 ( ) const
inline

Definition at line 69 of file CaloLayer.h.

70 {return m_X0;}

◆ Z()

double Rec::CaloLayer::Z ( ) const
inline

Definition at line 65 of file CaloLayer.h.

66 {return m_Z;}

Member Data Documentation

◆ m_igeom

int Rec::CaloLayer::m_igeom
private

Definition at line 40 of file CaloLayer.h.

◆ m_isBarrel

bool Rec::CaloLayer::m_isBarrel
private

Definition at line 41 of file CaloLayer.h.

◆ m_R

double Rec::CaloLayer::m_R
private

Definition at line 42 of file CaloLayer.h.

◆ m_surface

const Trk::Surface* Rec::CaloLayer::m_surface
private

Definition at line 44 of file CaloLayer.h.

◆ m_X0

double Rec::CaloLayer::m_X0
private

Definition at line 45 of file CaloLayer.h.

◆ m_Z

double Rec::CaloLayer::m_Z
private

Definition at line 43 of file CaloLayer.h.


The documentation for this class was generated from the following files:
Rec::CaloLayer::m_isBarrel
bool m_isBarrel
Definition: CaloLayer.h:41
beamspotman.r
def r
Definition: beamspotman.py:676
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
z
#define z
Rec::CaloLayer::m_X0
double m_X0
Definition: CaloLayer.h:45
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::isBarrel
bool isBarrel() const
Definition: CaloLayer.h:53
Rec::CaloLayer::m_R
double m_R
Definition: CaloLayer.h:42