![]() |
ATLAS Offline Software
|
The test calls for RoI data access for each RoI returned bunch of quantiries are checked, RoI et, actual RoI span, and cells count. More...
Public Member Functions | |
| AskForRoI (const EventContext &context, const ServiceHandle< ITrigCaloDataAccessSvc > &svc, const TrigRoiDescriptor &roi) | |
| ~AskForRoI () | |
| StatusCode | request (LArTT_Selector< LArCellCont > &sel) const |
| StatusCode | request (CaloConstCellContainer &c) const |
| void | firstCall () override |
| a method that will be called to obtain first results from the service It should set the reference quantities | |
| bool | callAndCompare () const override |
| a function that performs request, and compares the results obtained with the result of the first execution When result differ this function is supposed to return false, otherwise true | |
| bool | run (size_t nrepeats) |
| runs the stress test by invoking it the firstCall and then repetitively the callAndCompare | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| static bool | launchTests (size_t nrepeats, const std::vector< ParallelCallTest * > &tests) |
| Method to run launch number of tests in parallel (increasing the stress of the calle) It has a potential that also the "first" calls can be launched in parallel and thus be the worse case compared to a situation when the first calls are invoked sequentially while further calls in parallel. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| const EventContext & | m_context |
| const ServiceHandle< ITrigCaloDataAccessSvc > & | m_svc |
| const TrigRoiDescriptor | m_roi |
| LArTT_Selector< LArCellCont > | m_selRef |
| CaloConstCellContainer * | m_colRef |
| StatusCode | m_statusRef |
| double | m_etSumRef = 0 |
| size_t | m_countRef = 0 |
| double | m_minEtaRef = 100 |
| double | m_maxEtaRef = -100 |
| double | m_minPhiRef = 100 |
| double | m_maxPhiRef = -100 |
| 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) | |
The test calls for RoI data access for each RoI returned bunch of quantiries are checked, RoI et, actual RoI span, and cells count.
Definition at line 30 of file TestCaloDataAccess.cxx.
|
inline |
Definition at line 32 of file TestCaloDataAccess.cxx.
|
inline |
Definition at line 41 of file TestCaloDataAccess.cxx.
|
inlineoverridevirtual |
a function that performs request, and compares the results obtained with the result of the first execution When result differ this function is supposed to return false, otherwise true
Implements ParallelCallTest.
Definition at line 108 of file TestCaloDataAccess.cxx.
|
inlineoverridevirtual |
a method that will be called to obtain first results from the service It should set the reference quantities
Implements ParallelCallTest.
Definition at line 68 of file TestCaloDataAccess.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
staticinherited |
Method to run launch number of tests in parallel (increasing the stress of the calle) It has a potential that also the "first" calls can be launched in parallel and thus be the worse case compared to a situation when the first calls are invoked sequentially while further calls in parallel.
Definition at line 83 of file ParallelCallTest.cxx.
|
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.
|
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.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inline |
Definition at line 57 of file TestCaloDataAccess.cxx.
|
inline |
Definition at line 45 of file TestCaloDataAccess.cxx.
|
inherited |
runs the stress test by invoking it the firstCall and then repetitively the callAndCompare
Definition at line 69 of file ParallelCallTest.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 188 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 183 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 191 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 190 of file TestCaloDataAccess.cxx.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
private |
Definition at line 193 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 195 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 192 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 194 of file TestCaloDataAccess.cxx.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 185 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 187 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 189 of file TestCaloDataAccess.cxx.
|
private |
Definition at line 184 of file TestCaloDataAccess.cxx.