ATLAS Offline Software
Loading...
Searching...
No Matches
ServicesLayer.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 ServicesLayer_H
6#define ServicesLayer_H
7
8#include "DetType.h"
9#include <string>
10
11class ServiceVolume;
12
14public:
15
17 ServicesLayer( double radius, double halfLength, int nStaves,
19 const std::string& suffix,
20 int nModulesPerStave, int nChipsPerModule);
21
23 ServicesLayer( double zpos, double rmin, double rmax, int nStaves,
25 const std::string& suffix,
26 int nModulesPerStave, int nChipsPerModule);
27 /*
28 ServicesLayer( double zpos, double rmin, double rmax, int nStaves,
29 DetType::Type type, DetType::Part part, int num,
30 const ServicesStave* stave, const std::string& suffix);
31 */
32 double radius() const {return m_radius;}
33 double zPos() const {return m_zPos;}
34
35 double rMin() const {return m_rMin;}
36 double rMax() const {return m_rMax;}
37
38 double halfLength() const {return m_halfLength;}
39 int nStaves() const { return m_nStaves;}
40 DetType::Type type() const {return m_type;}
41 DetType::Part part() const {return m_part;}
42
43 int number() const {return m_number;}
44
45 int modulesPerStave() const {return m_nModulesPerStave;}
46 int chipsPerModule() const {return m_nChipsPerModule;}
47
50
51 std::string name() const;
52
53 const std::string& layerSuffix() const {return m_suffix;}
54
55private:
56
57 double m_radius;
58 double m_zPos;
59 double m_rMin;
60 double m_rMax;
67 std::string m_suffix;
70};
71
72#endif
DetType::Type m_type
double radius() const
ServiceVolume * m_lastVolume
double m_halfLength
DetType::Part part() const
int number() const
void setLastVolume(ServiceVolume *vp)
double rMax() const
int modulesPerStave() const
std::string name() const
int chipsPerModule() const
ServiceVolume * lastVolume() const
DetType::Part m_part
const std::string & layerSuffix() const
int nStaves() const
ServicesLayer(double radius, double halfLength, int nStaves, DetType::Type type, DetType::Part part, int num, const std::string &suffix, int nModulesPerStave, int nChipsPerModule)
constructor for barrel layers
double zPos() const
DetType::Type type() const
std::string m_suffix
double rMin() const
double halfLength() const