ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileDetDescr
TileDetDescr
TileCellDim.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* Updates:
7
* - 2022 Jan, Riccardo Maria BIANCHI <riccardo.maria.bianchi@cern.ch>
8
* Added MsgStream for logging
9
*/
10
11
#ifndef TileCellDim_h
12
#define TileCellDim_h 1
13
14
#include "
AthenaBaseComps/AthMessaging.h
"
15
#include <vector>
16
17
class
TileCellDim
18
:
public
AthMessaging
19
{
20
public
:
21
TileCellDim
(
unsigned
int
nRows);
22
~TileCellDim
();
23
24
// Data access
25
inline
unsigned
int
getNRows
()
const
{
return
m_nRows
;}
26
inline
double
getVolume
()
const
{
return
m_volume
; }
27
28
double
getRMin
(
unsigned
int
index
)
const
;
29
double
getRMax
(
unsigned
int
index
)
const
;
30
double
getZMin
(
unsigned
int
index
)
const
;
31
double
getZMax
(
unsigned
int
index
)
const
;
32
33
// Filling in the contents
34
void
addRMin
(
double
rMin);
35
void
addRMax
(
double
rMax);
36
void
addZMin
(
double
zMin);
37
void
addZMax
(
double
zMax);
38
void
computeVolume
();
39
double
computeRowVolume
(
int
iRow);
40
41
void
print
()
const
;
42
43
private
:
44
unsigned
int
m_nRows
;
45
std::vector<double>
m_rMin
;
46
std::vector<double>
m_rMax
;
47
std::vector<double>
m_zMin
;
48
std::vector<double>
m_zMax
;
49
double
m_volume
,
m_Radius2HalfLength
;
50
};
51
52
#endif
AthMessaging.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
TileCellDim::m_zMin
std::vector< double > m_zMin
Definition
TileCellDim.h:47
TileCellDim::m_nRows
unsigned int m_nRows
Definition
TileCellDim.h:44
TileCellDim::TileCellDim
TileCellDim(unsigned int nRows)
Definition
TileCellDim.cxx:17
TileCellDim::m_rMin
std::vector< double > m_rMin
Definition
TileCellDim.h:45
TileCellDim::getZMax
double getZMax(unsigned int index) const
Definition
TileCellDim.cxx:55
TileCellDim::addRMax
void addRMax(double rMax)
Definition
TileCellDim.cxx:71
TileCellDim::m_Radius2HalfLength
double m_Radius2HalfLength
Definition
TileCellDim.h:49
TileCellDim::addZMin
void addZMin(double zMin)
Definition
TileCellDim.cxx:79
TileCellDim::m_rMax
std::vector< double > m_rMax
Definition
TileCellDim.h:46
TileCellDim::m_volume
double m_volume
Definition
TileCellDim.h:49
TileCellDim::getNRows
unsigned int getNRows() const
Definition
TileCellDim.h:25
TileCellDim::print
void print() const
Definition
TileCellDim.cxx:112
TileCellDim::getVolume
double getVolume() const
Definition
TileCellDim.h:26
TileCellDim::addZMax
void addZMax(double zMax)
Definition
TileCellDim.cxx:87
TileCellDim::getRMax
double getRMax(unsigned int index) const
Definition
TileCellDim.cxx:39
TileCellDim::~TileCellDim
~TileCellDim()
Definition
TileCellDim.cxx:27
TileCellDim::m_zMax
std::vector< double > m_zMax
Definition
TileCellDim.h:48
TileCellDim::getZMin
double getZMin(unsigned int index) const
Definition
TileCellDim.cxx:47
TileCellDim::addRMin
void addRMin(double rMin)
Definition
TileCellDim.cxx:63
TileCellDim::computeVolume
void computeVolume()
Definition
TileCellDim.cxx:95
TileCellDim::computeRowVolume
double computeRowVolume(int iRow)
Definition
TileCellDim.cxx:103
TileCellDim::getRMin
double getRMin(unsigned int index) const
Definition
TileCellDim.cxx:31
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.17.0