ATLAS Offline Software
Control
xAODRootAccess
Root
TChainStateTracker.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
// $Id: TChainStateTracker.cxx 619763 2014-10-03 08:36:08Z krasznaa $
6
7
// Local include(s):
8
#include "
xAODRootAccess/tools/TChainStateTracker.h
"
9
10
namespace
xAOD
{
11
12
TChainStateTracker::TChainStateTracker
()
13
: ::TObject(),
14
m_stateChanged( kFALSE ) {
15
16
}
17
18
::Bool_t
TChainStateTracker::Notify
() {
19
20
// Update our tracking variable:
21
m_stateChanged
= kTRUE;
22
// Return gracefully:
23
return
kTRUE;
24
}
25
26
::Bool_t
TChainStateTracker::internalStateChanged
()
const
{
27
28
return
m_stateChanged
;
29
}
30
31
void
TChainStateTracker::reset
() {
32
33
m_stateChanged
= kFALSE;
34
return
;
35
}
36
37
}
// namespace xAOD
TChainStateTracker.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::TChainStateTracker::TChainStateTracker
TChainStateTracker()
Default constructor.
Definition:
TChainStateTracker.cxx:12
xAOD::TChainStateTracker::m_stateChanged
::Bool_t m_stateChanged
Flag showing when an internal state change is detected.
Definition:
TChainStateTracker.h:48
xAOD::TChainStateTracker::Notify
virtual ::Bool_t Notify()
Function called when the TChain opens a new input file.
Definition:
TChainStateTracker.cxx:18
xAOD::TChainStateTracker::reset
void reset()
Reset the object.
Definition:
TChainStateTracker.cxx:31
xAOD::TChainStateTracker::internalStateChanged
::Bool_t internalStateChanged() const
Check whether there was an internal state change without us knowing.
Definition:
TChainStateTracker.cxx:26
Generated on Fri Jan 10 2025 21:18:34 for ATLAS Offline Software by
1.8.18