![]() |
ATLAS Offline Software
|
#include <CaloRingerReaderUtils.h>
Public Types | |
| typedef container_t::base_value_type | particle_t |
| Particle type that the functor will decorate the CaloRingsLinks. | |
| typedef SG::WriteDecorHandle< container_t, xAOD::CaloRingsLinks > | decor_t |
| CaloRings links decorator handle type. | |
Public Member Functions | |
| BuildCaloRingsFctor (const std::string &decoContName, ToolHandle< ICaloRingsBuilder > &builder, IMessageSvc *msgSvc, IDataHandleHolder *owningAlg) | |
| Main ctor, repass information for interface. | |
| 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. | |
| void | operator() (const particle_t *part) |
| Methods. | |
| StatusCode | initialize () |
| Initialize the decorator keys. | |
| StatusCode | prepareToLoopFor (std::size_t nParticles) |
| Prepare to loop for nParticles. | |
| void | checkRelease () |
| Release the handles when finished looping. | |
Protected Member Functions | |
| void | incrementCounter () |
| Increment particle looping counter. | |
Private Types | |
| typedef BuildCaloRingsFctorBase | base_t |
Private Member Functions | |
| void | displayLoopingMessage () const |
| Shows current looping status. | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| SG::WriteDecorHandleKey< container_t > | m_decorKey |
| Decorator key. | |
| decor_t * | m_decor {nullptr} |
| Write decorator handle. | |
| ToolHandle< ICaloRingsBuilder > & | m_builder |
| Protected Properties. | |
| size_t | m_part_counter |
| Hold number of particles already procesed for this event: | |
| size_t | m_part_size |
| Hold number of particles to be processed: | |
| 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) | |
| SG::WriteHandle< xAOD::CaloRingsContainer > * | m_crContH |
| Private Properties. | |
| SG::WriteHandle< xAOD::RingSetContainer > * | m_rsContH |
| Keep RingSetContainer handle in scope until finished looping. | |
Static Private Attributes | |
| static constexpr const char * | m_particle_name = Ringer::GetParticleProp<particle_t>::name |
| Holds particle name: | |
| static constexpr bool | m_particle_has_cluster = Ringer::GetParticleProp<particle_t>::hasCluster |
| Holds if particle has cluster access: | |
Definition at line 107 of file CaloRingerReaderUtils.h.
|
private |
Definition at line 117 of file CaloRingerReaderUtils.h.
| typedef SG::WriteDecorHandle< container_t, xAOD::CaloRingsLinks > Ringer::BuildCaloRingsFctor< container_t >::decor_t |
CaloRings links decorator handle type.
Definition at line 114 of file CaloRingerReaderUtils.h.
| typedef container_t::base_value_type Ringer::BuildCaloRingsFctor< container_t >::particle_t |
Particle type that the functor will decorate the CaloRingsLinks.
Definition at line 111 of file CaloRingerReaderUtils.h.
|
inline |
Main ctor, repass information for interface.
Definition at line 149 of file CaloRingerReaderUtils.h.
| void Ringer::BuildCaloRingsFctor< container_t >::checkRelease | ( | ) |
Release the handles when finished looping.
|
private |
Shows current looping status.
|
inlineprotectedinherited |
Increment particle looping counter.
Definition at line 81 of file CaloRingerReaderUtils.h.
| StatusCode Ringer::BuildCaloRingsFctor< container_t >::initialize | ( | ) |
Initialize the decorator keys.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.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.
| void Ringer::BuildCaloRingsFctor< container_t >::operator() | ( | const particle_t * | part | ) |
Methods.
Looping functor method when it has access to cluster.
| StatusCode Ringer::BuildCaloRingsFctor< container_t >::prepareToLoopFor | ( | std::size_t | nParticles | ) |
Prepare to loop for nParticles.
|
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 |
Protected Properties.
CaloRings which will be used
Definition at line 64 of file CaloRingerReaderUtils.h.
|
privateinherited |
Private Properties.
Keep CaloRingsContainer handle in scope until finished looping
Definition at line 95 of file CaloRingerReaderUtils.h.
|
private |
|
private |
Decorator key.
Definition at line 138 of file CaloRingerReaderUtils.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
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 |
Hold number of particles already procesed for this event:
Definition at line 66 of file CaloRingerReaderUtils.h.
|
private |
Hold number of particles to be processed:
Definition at line 68 of file CaloRingerReaderUtils.h.
|
staticconstexprprivate |
Holds if particle has cluster access:
Definition at line 128 of file CaloRingerReaderUtils.h.
|
staticconstexprprivate |
Holds particle name:
Definition at line 126 of file CaloRingerReaderUtils.h.
|
privateinherited |
Keep RingSetContainer handle in scope until finished looping.
Definition at line 97 of file CaloRingerReaderUtils.h.