Helper to temporarily change the signal state of many clusters. More...
#include <CaloClusterChangeSignalState.h>
Public Member Functions | |
void | add (const xAOD::CaloCluster *clu, xAOD::CaloCluster::State s) |
Add one cluster to the list of clusters to be managed. | |
void | reset () |
Revert the signal state of all managed clusters. Note that the implicit destructor does the same - no need to call this method. |
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
void CaloClusterChangeSignalStateList::add | ( | const xAOD::CaloCluster * | clu, | |
xAOD::CaloCluster::State | s | |||
) | [inline] |
Add one cluster to the list of clusters to be managed.
clus | The cluster | |
s | The new signal state for the cluster. |