ATLAS Offline Software
|
Helper to temporarily change the signal state of many clusters. More...
#include <CaloClusterChangeSignalState.h>
Public Member Functions | |
void | add (xAOD::CaloCluster *clu, xAOD::CaloCluster::State s) |
Add one cluster to the list of clusters to be managed. More... | |
void | reset () |
Revert the signal state of all managed clusters. More... | |
Private Attributes | |
std::forward_list< CaloClusterChangeSignalState > | m_stateHelpers |
Helper to temporarily change the signal state of many clusters.
When this object is desctructed, all clusters will be reverted to their previous signal state
Definition at line 61 of file CaloClusterChangeSignalState.h.
|
inline |
Add one cluster to the list of clusters to be managed.
clus | The cluster |
s | The new signal state for the cluster. |
Definition at line 69 of file CaloClusterChangeSignalState.h.
|
inline |
Revert the signal state of all managed clusters.
Note that the implicit destructor does the same - no need to call this method
Definition at line 79 of file CaloClusterChangeSignalState.h.
|
private |
Definition at line 86 of file CaloClusterChangeSignalState.h.