ATLAS Offline Software
Database
AthenaRoot
AthenaRootComps
src
RootGlobalsRestore.cxx
Go to the documentation of this file.
1
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
Athena::RootGlobalsRestore::m_gf
TFile * m_gf
current ROOT file
Definition:
RootGlobalsRestore.h:63
RootGlobalsRestore.h
ParseInputs.gDirectory
gDirectory
Definition:
Final2012/ParseInputs.py:133
Athena
Some weak symbol referencing magic...
Definition:
AthLegacySequence.h:21
Athena::RootGlobalsRestore::~RootGlobalsRestore
~RootGlobalsRestore()
Destructor:
Definition:
RootGlobalsRestore.cxx:32
Athena::RootGlobalsRestore::m_gd
TDirectory * m_gd
current ROOT directory
Definition:
RootGlobalsRestore.h:60
gErrorIgnoreLevel
int gErrorIgnoreLevel
Athena::RootGlobalsRestore::m_ge
int m_ge
current ROOT error-level
Definition:
RootGlobalsRestore.h:66
Athena::RootGlobalsRestore::RootGlobalsRestore
RootGlobalsRestore()
Default constructor:
Definition:
RootGlobalsRestore.cxx:25
Generated on Sat Jan 11 2025 21:17:04 for ATLAS Offline Software by
1.8.18