![]() |
ATLAS Offline Software
|
This class contains a few functions to set the amount of energy removed from a xAOD::CaloCluster by a xAOD::Track in eflowRec. More...
#include <PFSubtractionStatusSetter.h>
Public Member Functions | |
| PFSubtractionStatusSetter () | |
| void | markSubtractionStatus (const std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusterList, std::vector< std::pair< float, float > > &clusterSubtractedEnergyRatios, eflowCaloObject &thisEflowCaloObject, unsigned int trackIndex) const |
| Set the ratio of new to old cluster energy for each cluster matched to a track with trackIndex. | |
| void | markAllTracksAnnihStatus (eflowCaloObject &thisEflowCaloObject) const |
| Set the ratio of new to old cluster energy, to zero, for all cluster matched to all tracks attached to the eflowCaloObject. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| 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) | |
This class contains a few functions to set the amount of energy removed from a xAOD::CaloCluster by a xAOD::Track in eflowRec.
It can either set this for a specific track attached to an eflowCaloObject or set it for all tracks in an eflowCaloObject
Definition at line 19 of file PFSubtractionStatusSetter.h.
| PFSubtractionStatusSetter::PFSubtractionStatusSetter | ( | ) |
Definition at line 14 of file PFSubtractionStatusSetter.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| void PFSubtractionStatusSetter::markAllTracksAnnihStatus | ( | eflowCaloObject & | thisEflowCaloObject | ) | const |
Set the ratio of new to old cluster energy, to zero, for all cluster matched to all tracks attached to the eflowCaloObject.
Definition at line 71 of file PFSubtractionStatusSetter.cxx.
| void PFSubtractionStatusSetter::markSubtractionStatus | ( | const std::vector< std::pair< xAOD::CaloCluster *, bool > > & | clusterList, |
| std::vector< std::pair< float, float > > & | clusterSubtractedEnergyRatios, | ||
| eflowCaloObject & | thisEflowCaloObject, | ||
| unsigned int | trackIndex ) const |
Set the ratio of new to old cluster energy for each cluster matched to a track with trackIndex.
Definition at line 17 of file PFSubtractionStatusSetter.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.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.
|
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.