ATLAS Offline Software
Loading...
Searching...
No Matches
RootGlobalsRestore.h
Go to the documentation of this file.
1
2
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
21class TDirectory;
22class TFile;
23
24namespace 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
Define macros for attributes used to control the static checker.
RootGlobalsRestore(const RootGlobalsRestore &rhs)
Copy constructor:
TFile * m_gf
current ROOT file
RootGlobalsRestore()
Default constructor:
int m_ge
current ROOT error-level
TDirectory * m_gd
current ROOT directory
RootGlobalsRestore & operator=(const RootGlobalsRestore &rhs)
Assignment operator:
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....
StatusCode ROOTMessageFilterSvc::initialize ATLAS_NOT_THREAD_SAFE()
Return the file descriptor fataldump() uses for output.