CaloClusterChangeSignalState Class Reference

Helper to temporarily change the signal state of a cluster. More...

#include <CaloClusterChangeSignalState.h>

List of all members.

Public Member Functions

void init (const xAOD::CaloCluster *pClus, xAOD::CaloCluster::State s)
 CaloClusterChangeSignalState (const xAOD::CaloCluster *pClus, xAOD::CaloCluster::State s)
 Change the signal state of a cluster, remembering the old state.
 ~CaloClusterChangeSignalState ()
 Destructor. Restore the cluster to its previous state.
const xAOD::CaloClustercluster ()
 Return a ptr to the cluster we are managing.

Detailed Description

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.


Constructor & Destructor Documentation

CaloClusterChangeSignalState::CaloClusterChangeSignalState ( const xAOD::CaloCluster pClus,
xAOD::CaloCluster::State  s 
)

Change the signal state of a cluster, remembering the old state.

Parameters:
pClus The cluster to change.
s The new signal state for the cluster.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1