ATLAS Offline Software
Loading...
Searching...
No Matches
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)
21 m_clus->setSignalState(m_oldstate);
22}
23
xAOD::CaloCluster * m_clus
The cluster that we're managing.
xAOD::CaloCluster::State m_oldstate
The previous signal state for the cluster.
State
enum of possible signal states.
bool setSignalState(const State s)
Switch signal state.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.