#include <TileCellDim.h>
|
| void | initMessaging () const |
| | Initialize our message level and MessageSvc.
|
|
| unsigned int | m_nRows |
| std::vector< double > | m_rMin |
| std::vector< double > | m_rMax |
| std::vector< double > | m_zMin |
| std::vector< double > | m_zMax |
| double | m_volume |
| double | m_Radius2HalfLength |
| std::string | m_nm |
| | Message source name.
|
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| | MsgStream instance (a std::cout like with print-out levels)
|
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| | MessageSvc pointer.
|
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| | Current logging level.
|
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| | Messaging initialized (initMessaging)
|
Definition at line 17 of file TileCellDim.h.
◆ TileCellDim()
| TileCellDim::TileCellDim |
( |
unsigned int | nRows | ) |
|
Definition at line 17 of file TileCellDim.cxx.
21{
22
24
25}
AthMessaging()
Default constructor:
double m_Radius2HalfLength
◆ ~TileCellDim()
| TileCellDim::~TileCellDim |
( |
| ) |
|
◆ addRMax()
| void TileCellDim::addRMax |
( |
double | rMax | ) |
|
Definition at line 71 of file TileCellDim.cxx.
72{
75 else
76 throw std::runtime_error( "Attempt to insert new RMax when vector size reached maximum!" );
77}
std::vector< double > m_rMax
◆ addRMin()
| void TileCellDim::addRMin |
( |
double | rMin | ) |
|
Definition at line 63 of file TileCellDim.cxx.
64{
67 else
68 throw std::runtime_error( "Attempt to insert new RMin when vector size reached maximum!" );
69}
std::vector< double > m_rMin
◆ addZMax()
| void TileCellDim::addZMax |
( |
double | zMax | ) |
|
Definition at line 87 of file TileCellDim.cxx.
88{
91 else
92 throw std::runtime_error( "Attempt to insert new ZMax when vector size reached maximum!" );
93}
std::vector< double > m_zMax
◆ addZMin()
| void TileCellDim::addZMin |
( |
double | zMin | ) |
|
Definition at line 79 of file TileCellDim.cxx.
80{
83 else
84 throw std::runtime_error( "Attempt to insert new ZMin when vector size reached maximum!" );
85}
std::vector< double > m_zMin
◆ computeRowVolume()
| double TileCellDim::computeRowVolume |
( |
int | iRow | ) |
|
◆ computeVolume()
| void TileCellDim::computeVolume |
( |
| ) |
|
Definition at line 95 of file TileCellDim.cxx.
96{
98
101}
double computeRowVolume(int iRow)
◆ getNRows()
| unsigned int TileCellDim::getNRows |
( |
| ) |
const |
|
inline |
◆ getRMax()
| double TileCellDim::getRMax |
( |
unsigned int | index | ) |
const |
Definition at line 39 of file TileCellDim.cxx.
40{
43 else
44 throw std::runtime_error( "Index out of range when retrieving RMax!" );
45}
◆ getRMin()
| double TileCellDim::getRMin |
( |
unsigned int | index | ) |
const |
Definition at line 31 of file TileCellDim.cxx.
32{
35 else
36 throw std::runtime_error( "Index out of range when retrieving RMin!" );
37}
◆ getVolume()
| double TileCellDim::getVolume |
( |
| ) |
const |
|
inline |
◆ getZMax()
| double TileCellDim::getZMax |
( |
unsigned int | index | ) |
const |
Definition at line 55 of file TileCellDim.cxx.
56{
59 else
60 throw std::runtime_error( "Index out of range when retrieving ZMax!" );
61}
◆ getZMin()
| double TileCellDim::getZMin |
( |
unsigned int | index | ) |
const |
Definition at line 47 of file TileCellDim.cxx.
48{
51 else
52 throw std::runtime_error( "Index out of range when retrieving ZMin!" );
53}
◆ initMessaging()
| void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
40{
42
43 if (
m_lvl == MSG::NIL) {
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)
◆ msg() [1/2]
| MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
164{
166 if (!ms) {
170 }
171
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.
◆ msg() [2/2]
| MsgStream & AthMessaging::msg |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
179{
return msg() << lvl; }
MsgStream & msg() const
The standard message stream.
◆ msgLvl()
| bool AthMessaging::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
152{
155 return true;
156 } else {
157 return false;
158 }
159}
◆ print()
| void TileCellDim::print |
( |
| ) |
const |
Definition at line 112 of file TileCellDim.cxx.
113{
114 std::cout <<
" >> Cell contains " <<
m_nRows <<
" rows" << std::endl;
120 }
121 std::cout <<
" >> Cell Volume is " <<
m_volume << std::endl;
122}
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
| std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_nRows
| unsigned int TileCellDim::m_nRows |
|
private |
◆ m_Radius2HalfLength
| double TileCellDim::m_Radius2HalfLength |
|
private |
◆ m_rMax
| std::vector<double> TileCellDim::m_rMax |
|
private |
◆ m_rMin
| std::vector<double> TileCellDim::m_rMin |
|
private |
◆ m_volume
| double TileCellDim::m_volume |
|
private |
◆ m_zMax
| std::vector<double> TileCellDim::m_zMax |
|
private |
◆ m_zMin
| std::vector<double> TileCellDim::m_zMin |
|
private |
The documentation for this class was generated from the following files: