ATLAS Offline Software
CaloLayer.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include <iostream>
6 #include "CLHEP/Units/SystemOfUnits.h"
7 #include "MuidEvent/CaloLayer.h"
8 #include "TrkSurfaces/Surface.h"
9 
10 namespace Rec
11 {
12 
14  int geom,
15  double r,
16  double z,
17  double radLen,
18  bool isBarrel)
19  : m_igeom (geom),
20  m_isBarrel (isBarrel),
21  m_R (r),
22  m_Z (z),
23  m_surface (surface),
24  m_X0 (radLen)
25 {}
26 
27 
28 
29 void
30 CaloLayer::print(void) const
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 }
44 
45 } // end of namespace
46 
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
Surface.h
z
#define z
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::CaloLayer::m_X0
double m_X0
Definition: CaloLayer.h:45
Rec::CaloLayer::print
void print() const
Definition: CaloLayer.cxx:30
Rec::CaloLayer::m_Z
double m_Z
Definition: CaloLayer.h:43
python.LArCondContChannels.isBarrel
isBarrel
Definition: LArCondContChannels.py:659
CaloLayer.h
LArDigits2NtupleDumper.geom
geom
Definition: LArDigits2NtupleDumper.py:133
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Rec::CaloLayer::m_R
double m_R
Definition: CaloLayer.h:42