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. More... | |
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. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Private Member Functions | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
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 |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
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.