ATLAS Offline Software
Loading...
Searching...
No Matches
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
15#include <vector>
16
18 : public AthMessaging
19{
20 public:
21 TileCellDim(unsigned int nRows);
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;
50};
51
52#endif
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
std::vector< double > m_zMin
Definition TileCellDim.h:47
unsigned int m_nRows
Definition TileCellDim.h:44
TileCellDim(unsigned int nRows)
std::vector< double > m_rMin
Definition TileCellDim.h:45
double getZMax(unsigned int index) const
void addRMax(double rMax)
double m_Radius2HalfLength
Definition TileCellDim.h:49
void addZMin(double zMin)
std::vector< double > m_rMax
Definition TileCellDim.h:46
double m_volume
Definition TileCellDim.h:49
unsigned int getNRows() const
Definition TileCellDim.h:25
void print() const
double getVolume() const
Definition TileCellDim.h:26
void addZMax(double zMax)
double getRMax(unsigned int index) const
std::vector< double > m_zMax
Definition TileCellDim.h:48
double getZMin(unsigned int index) const
void addRMin(double rMin)
void computeVolume()
double computeRowVolume(int iRow)
double getRMin(unsigned int index) const
Definition index.py:1