ATLAS Offline Software
TActiveStore.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef XAODROOTACCESS_TACTIVESTORE_H
6 #define XAODROOTACCESS_TACTIVESTORE_H
7 
8 namespace xAOD {
9 
10  // Forward declaration(s):
11  class TStore;
12 
24  class TActiveStore {
25 
27  friend class TStore;
28 
29  public:
31  static TStore* store();
32 
33  private:
35  static void setStore( TStore* ptr );
36 
37  }; // class TActiveStore
38 
39 } // namespace xAOD
40 
41 #endif // XAODROOTACCESS_TACTIVESTORE_H
xAOD::TActiveStore::store
static TStore * store()
Access the currently active TStore object.
Definition: TActiveStore.cxx:16
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TActiveStore
Helper class for finding the active TStore object.
Definition: TActiveStore.h:24
xAOD::TStore
A relatively simple transient store for objects created in analysis.
Definition: TStore.h:44
xAOD::TActiveStore::setStore
static void setStore(TStore *ptr)
Set the active store pointer.
Definition: TActiveStore.cxx:21