ATLAS Offline Software
CaloClusterChangeSignalState.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
9  m_clus (pClus),
10  m_oldstate (pClus->signalState())
11 {
12  pClus->setSignalState(s);
13  //std::cout << "SignalStateHelper: Setting state for clu " << pClus << std::endl;
14 }
15 
16 
18 {
19  //std::cout << "SignalStateHelper: Resetting state for clu " << m_clus << std::endl;
20  if (m_clus)
22 }
23 
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::CaloCluster_v1::State
State
enum of possible signal states.
Definition: CaloCluster_v1.h:304
CaloClusterChangeSignalState::CaloClusterChangeSignalState
CaloClusterChangeSignalState()=delete
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterChangeSignalState::m_clus
xAOD::CaloCluster * m_clus
The cluster that we're managing.
Definition: CaloClusterChangeSignalState.h:47
xAOD::CaloCluster_v1::setSignalState
bool setSignalState(const State s)
Switch signal state.
Definition: CaloCluster_v1.cxx:440
CaloClusterChangeSignalState::~CaloClusterChangeSignalState
~CaloClusterChangeSignalState()
Destructor.
Definition: CaloClusterChangeSignalState.cxx:17
CaloClusterChangeSignalState.h
CaloClusterChangeSignalState::m_oldstate
xAOD::CaloCluster::State m_oldstate
The previous signal state for the cluster.
Definition: CaloClusterChangeSignalState.h:49