ATLAS Offline Software
RootGlobalsRestore.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // RootGlobalsRestore.h
8 // Header file for class RootGlobalsRestore
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHENAROOTCOMPS_ATHENA_ROOTGLOBALSRESTORE_H
12 #define ATHENAROOTCOMPS_ATHENA_ROOTGLOBALSRESTORE_H 1
13 
14 // STL includes
15 #include <iosfwd>
16 
17 // Framework includes
19 
20 // Forward declaration
21 class TDirectory;
22 class TFile;
23 
24 namespace Athena {
25 
30 {
31 
33  // Public methods:
35  public:
36 
39 
42 
44  // Private methods:
46  private:
47 
49  RootGlobalsRestore( const RootGlobalsRestore& rhs ); //> not impl.
50 
52  RootGlobalsRestore& operator=( const RootGlobalsRestore& rhs ); //> not impl
53 
55  // Private data:
57  private:
58 
60  TDirectory* m_gd;
61 
63  TFile* m_gf;
64 
66  int m_ge;
67 
68 };
69 
71 // Inline methods:
73 //std::ostream& operator<<( std::ostream& out, const RootGlobalsRestore& o );
74 
75 } //> end namespace Athena
76 
77 #endif //> !ATHENAROOTCOMPS_ATHENA_ROOTGLOBALSRESTORE_H
Athena::RootGlobalsRestore::m_gf
TFile * m_gf
current ROOT file
Definition: RootGlobalsRestore.h:63
Athena::RootGlobalsRestore::RootGlobalsRestore
RootGlobalsRestore(const RootGlobalsRestore &rhs)
Copy constructor:
Athena
Some weak symbol referencing magic...
Definition: AthLegacySequence.h:21
Athena::RootGlobalsRestore::operator=
RootGlobalsRestore & operator=(const RootGlobalsRestore &rhs)
Assignment operator:
Athena::RootGlobalsRestore::m_gd
TDirectory * m_gd
current ROOT directory
Definition: RootGlobalsRestore.h:60
Athena::RootGlobalsRestore
Definition: RootGlobalsRestore.h:30
Athena::RootGlobalsRestore::m_ge
int m_ge
current ROOT error-level
Definition: RootGlobalsRestore.h:66
checker_macros.h
Define macros for attributes used to control the static checker.
Athena::ATLAS_NOT_THREAD_SAFE
void DebugAids::stacktraceLine ATLAS_NOT_THREAD_SAFE(IOFD fd, unsigned long addr)
Write out stack trace line to FD.
Definition: SealDebug.cxx:328