ATLAS Offline Software
Loading...
Searching...
No Matches
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
22namespace Athena {
23
24
26{
27 m_gd = gDirectory;
28 m_gf = gFile;
29 m_ge = gErrorIgnoreLevel;
30}
31
33{
34 gDirectory = m_gd;
35 gFile = m_gf;
36 gErrorIgnoreLevel = m_ge;
37}
38
39} //> end namespace Athena
TFile * m_gf
current ROOT file
RootGlobalsRestore()
Default constructor:
int m_ge
current ROOT error-level
TDirectory * m_gd
current ROOT directory
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....