ATLAS Offline Software
TChainStateTracker.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: TChainStateTracker.h 619763 2014-10-03 08:36:08Z krasznaa $
8 #ifndef XAODROOTACCESS_TOOLS_TCHAINSTATETRACKER_H
9 #define XAODROOTACCESS_TOOLS_TCHAINSTATETRACKER_H
10 
11 // ROOT include(s):
12 #include <TObject.h>
13 
14 namespace xAOD {
15 
32  class TChainStateTracker : public ::TObject {
33 
34  public:
37 
39  virtual ::Bool_t Notify();
40 
42  ::Bool_t internalStateChanged() const;
44  void reset();
45 
46  private:
48  ::Bool_t m_stateChanged;
49 
50  }; // class TChainStateTracker
51 
52 } // namespace xAOD
53 
54 #endif // XAODROOTACCESS_TOOLS_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
Class helping with tracking the state of TChain objects.
Definition: TChainStateTracker.h:32
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