ATLAS Offline Software
Loading...
Searching...
No Matches
Database
AthenaRoot
AthenaRootComps
src
RootGlobalsRestore.cxx
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// RootGlobalsRestore.cxx
8
// Implementation file for class RootGlobalsRestore
9
// Author: S.Binet<binet@cern.ch>
11
12
// AthenaRootComps includes
13
#include "
RootGlobalsRestore.h
"
14
15
// STL includes
16
17
// ROOT includes
18
#include "TFile.h"
19
#include "TDirectory.h"
20
#include "TError.h"
21
22
namespace
Athena
{
23
24
25
RootGlobalsRestore::RootGlobalsRestore
()
26
{
27
m_gd
= gDirectory;
28
m_gf
= gFile;
29
m_ge
= gErrorIgnoreLevel;
30
}
31
32
RootGlobalsRestore::~RootGlobalsRestore
()
33
{
34
gDirectory =
m_gd
;
35
gFile =
m_gf
;
36
gErrorIgnoreLevel =
m_ge
;
37
}
38
39
}
//> end namespace Athena
RootGlobalsRestore.h
Athena::RootGlobalsRestore::~RootGlobalsRestore
~RootGlobalsRestore()
Destructor:
Definition
RootGlobalsRestore.cxx:32
Athena::RootGlobalsRestore::m_gf
TFile * m_gf
current ROOT file
Definition
RootGlobalsRestore.h:63
Athena::RootGlobalsRestore::RootGlobalsRestore
RootGlobalsRestore()
Default constructor:
Definition
RootGlobalsRestore.cxx:25
Athena::RootGlobalsRestore::m_ge
int m_ge
current ROOT error-level
Definition
RootGlobalsRestore.h:66
Athena::RootGlobalsRestore::m_gd
TDirectory * m_gd
current ROOT directory
Definition
RootGlobalsRestore.h:60
Athena
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....
Definition
AthLegacySequence.h:21
Generated on
for ATLAS Offline Software by
1.14.0