ATLAS Offline Software
Loading...
Searching...
No Matches
T2GeometryTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6// Infrastructure
8
9T2GeometryTool::T2GeometryTool(const std::string &type, const std::string & name,
10 const IInterface* parent) : AthAlgTool(type,name,parent)
11{
12
13 declareProperty( "nStripEtaEM0nar" , m_nStripetaEMnar[0] = 4); // 0.1
14 declareProperty( "nStripPhiEM0nar" , m_nStripphiEMnar[0] = 1); // 0.098
15 declareProperty( "nStripEtaEM1nar" , m_nStripetaEMnar[1] = 32); // 0.1
16 declareProperty( "nStripPhiEM1nar" , m_nStripphiEMnar[1] = 1); // 0.098
17 declareProperty( "nStripEtaEM2nar" , m_nStripetaEMnar[2] = 4); // 0.1
18 declareProperty( "nStripPhiEM2nar" , m_nStripphiEMnar[2] = 4); // 0.098
19 declareProperty( "nStripEtaEM3nar" , m_nStripetaEMnar[3] = 2); // 0.1
20 declareProperty( "nStripPhiEM3nar" , m_nStripphiEMnar[3] = 4); // 0.098
21
22 declareProperty( "nStripEtaEM0wid" , m_nStripetaEMwid[0] = 8); // 0.2
23 declareProperty( "nStripPhiEM0wid" , m_nStripphiEMwid[0] = 2); // 0.196
24 declareProperty( "nStripEtaEM1wid" , m_nStripetaEMwid[1] = 64); // 0.2
25 declareProperty( "nStripPhiEM1wid" , m_nStripphiEMwid[1] = 2); // 0.196
26 declareProperty( "nStripEtaEM2wid" , m_nStripetaEMwid[2] = 8); // 0.2
27 declareProperty( "nStripPhiEM2wid" , m_nStripphiEMwid[2] = 8); // 0.196
28 declareProperty( "nStripEtaEM3wid" , m_nStripetaEMwid[3] = 4); // 0.2
29 declareProperty( "nStripPhiEM3wid" , m_nStripphiEMwid[3] = 8); // 0.196
30
31 declareProperty( "nStripEtaEM0nor" , m_nStripetaEMnor[0] = 16); // 0.4
32 declareProperty( "nStripPhiEM0nor" , m_nStripphiEMnor[0] = 4); // 0.39
33 declareProperty( "nStripEtaEM1nor" , m_nStripetaEMnor[1] = 128); // 0.4
34 declareProperty( "nStripPhiEM1nor" , m_nStripphiEMnor[1] = 4); // 0.39
35 declareProperty( "nStripEtaEM2nor" , m_nStripetaEMnor[2] = 16); // 0.4
36 declareProperty( "nStripPhiEM2nor" , m_nStripphiEMnor[2] = 16); // 0.39
37 declareProperty( "nStripEtaEM3nor" , m_nStripetaEMnor[3] = 8); // 0.4
38 declareProperty( "nStripPhiEM3nor" , m_nStripphiEMnor[3] = 16); // 0.39
39
40
41 declareProperty( "nStripEtaHAD0nar" , m_nStripetaHADnar[0] = 1); // 0.1
42 declareProperty( "nStripPhiHAD0nar" , m_nStripphiHADnar[0] = 1); // 0.098
43 declareProperty( "nStripEtaHAD1nar" , m_nStripetaHADnar[1] = 1); // 0.1
44 declareProperty( "nStripPhiHAD1nar" , m_nStripphiHADnar[1] = 1); // 0.098
45 declareProperty( "nStripEtaHAD2nar" , m_nStripetaHADnar[2] = 1); // 0.2
46 declareProperty( "nStripPhiHAD2nar" , m_nStripphiHADnar[2] = 1); // 0.098
47
48 declareProperty( "nStripEtaHAD0wid" , m_nStripetaHADwid[0] = 2); // 0.2
49 declareProperty( "nStripPhiHAD0wid" , m_nStripphiHADwid[0] = 2); // 0.196
50 declareProperty( "nStripEtaHAD1wid" , m_nStripetaHADwid[1] = 2); // 0.2
51 declareProperty( "nStripPhiHAD1wid" , m_nStripphiHADwid[1] = 2); // 0.196
52 declareProperty( "nStripEtaHAD2wid" , m_nStripetaHADwid[2] = 1); // 0.2
53 declareProperty( "nStripPhiHAD2wid" , m_nStripphiHADwid[2] = 2); // 0.196
54
55 declareProperty( "nStripEtaHAD0nor" , m_nStripetaHADnor[0] = 4); // 0.4
56 declareProperty( "nStripPhiHAD0nor" , m_nStripphiHADnor[0] = 4); // 0.39
57 declareProperty( "nStripEtaHAD1nor" , m_nStripetaHADnor[1] = 4); // 0.4
58 declareProperty( "nStripPhiHAD1nor" , m_nStripphiHADnor[1] = 4); // 0.39
59 declareProperty( "nStripEtaHAD2nor" , m_nStripetaHADnor[2] = 2); // 0.4
60 declareProperty( "nStripPhiHAD2nor" , m_nStripphiHADnor[2] = 4); // 0.39
61
62
63
64}
65
66
68{
69 ATH_MSG_DEBUG("in initialize() by T2GeometryTool");
70 return StatusCode::SUCCESS;
71}
72
73
74
75const int T2GeometryTool::m_netareg[7] = {3,7,4,3,2,2,3};
76
77const double T2GeometryTool::m_etareg[7][8] = {
78 {0.0,1.4 ,1.5 ,1.8,0.0,0.0,0.0,0.0},
79 {0.0,1.4 ,1.5 ,1.8,2.0,2.4,2.5,3.2},
80 {0.0,1.4 ,1.425,2.5,3.2,0.0,0.0,0.0},
81 {0.0,1.35,1.5 ,2.5,0.0,0.0,0.0,0.0},
82 {0.0,2.5 ,3.2 ,0.0,0.0,0.0,0.0,0.0},
83 {0.0,2.5 ,3.2 ,0.0,0.0,0.0,0.0,0.0},
84 {0.0,1.5 ,2.5 ,3.2,0.0,0.0,0.0,0.0}};
85const double T2GeometryTool::m_etaGran[7][7] = {
86 {0.025 ,0.024,0.025 ,0.0 ,0.0 ,0.0 ,0.0},
87 {0.003125,0.025,0.003125,0.0041667,0.00625,0.025,0.1},
88 {0.025 ,0.05 ,0.025 ,0.1 ,0.0 ,0.0 ,0.0},
89 {0.05 ,0.001,0.05 ,0.0 ,0.0 ,0.0 ,0.0},
90 {0.1 ,0.2 ,0.0 ,0.0 ,0.0 ,0.0 ,0.0},
91 {0.1 ,0.2 ,0.0 ,0.0 ,0.0 ,0.0 ,0.0},
92 {0.2 ,0.1 ,0.2 ,0.0 ,0.0 ,0.0 ,0.0}};
93
94
95const int T2GeometryTool::m_nphireg[7] = {1,3,2,1,2,2,2};
96
97const double T2GeometryTool::m_phireg[7][4] = {
98 {0.0,1.8,0.0 ,0.0},
99 {0.0,1.4,1.475,3.2},
100 {0.0,2.5,3.2 ,0.0},
101 {0.0,2.5,0.0 ,0.0},
102 {0.0,2.5,3.2 ,0.0},
103 {0.0,2.5,3.2 ,0.0},
104 {0.0,2.5,3.2 ,0.0}};
105
106const double T2GeometryTool::m_phiGran[7][3] = {
107 {0.0981748,0.0,0.0},
108 {0.0981748,0.0245437,0.0981748},
109 {0.0245437,0.0981748,0.0},
110 {0.0245437,0.0 ,0.0},
111 {0.0981748,0.19635 ,0.0},
112 {0.0981748,0.19635 ,0.0},
113 {0.0981748,0.19635 ,0.0}};
114
#define ATH_MSG_DEBUG(x)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual StatusCode initialize() override
Initialize method.
static const int m_nphireg[7]
static const int m_netareg[7]
Granularity and eta ranges relevant for above energy sums.
T2GeometryTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
static const double m_etareg[7][8]
static const double m_phireg[7][4]
static const double m_etaGran[7][7]
int m_nStripetaEMnar[4]
Reference changed to vectors.
static const double m_phiGran[7][3]