ATLAS Offline Software
|
Helper to temporarily change the signal state of a cluster. More...
#include <CaloClusterChangeSignalState.h>
Public Member Functions | |
CaloClusterChangeSignalState ()=delete | |
CaloClusterChangeSignalState (const CaloClusterChangeSignalState &)=delete | |
CaloClusterChangeSignalState & | operator= (const CaloClusterChangeSignalState &)=delete |
CaloClusterChangeSignalState (xAOD::CaloCluster *pClus, xAOD::CaloCluster::State s) | |
Change the signal state of a cluster, remembering the old state. More... | |
~CaloClusterChangeSignalState () | |
Destructor. More... | |
const xAOD::CaloCluster * | cluster () |
Return a ptr to the cluster we are managing. More... | |
Private Attributes | |
xAOD::CaloCluster * | m_clus |
The cluster that we're managing. More... | |
xAOD::CaloCluster::State | m_oldstate |
The previous signal state for the cluster. More... | |
Helper to temporarily change the signal state of a cluster.
Constructing one of these objects will change the signal state of a cluster. When this object is desctructed, the cluster's previous signal state will be restored.
Definition at line 18 of file CaloClusterChangeSignalState.h.
|
delete |
|
delete |
CaloClusterChangeSignalState::CaloClusterChangeSignalState | ( | xAOD::CaloCluster * | pClus, |
xAOD::CaloCluster::State | s | ||
) |
Change the signal state of a cluster, remembering the old state.
pClus | The cluster to change. |
s | The new signal state for the cluster. |
Definition at line 8 of file CaloClusterChangeSignalState.cxx.
CaloClusterChangeSignalState::~CaloClusterChangeSignalState | ( | ) |
Destructor.
Restore the cluster to its previous state.
Definition at line 17 of file CaloClusterChangeSignalState.cxx.
|
inline |
Return a ptr to the cluster we are managing.
Definition at line 42 of file CaloClusterChangeSignalState.h.
|
delete |
|
private |
The cluster that we're managing.
Definition at line 47 of file CaloClusterChangeSignalState.h.
|
private |
The previous signal state for the cluster.
Definition at line 49 of file CaloClusterChangeSignalState.h.