ATLAS Offline Software
Loading...
Searching...
No Matches
Athena::RootGlobalsRestore Class Reference

state of a few global resources from ROOT and restores their initial value upon d-tor call. More...

#include <RootGlobalsRestore.h>

Collaboration diagram for Athena::RootGlobalsRestore:

Public Member Functions

 RootGlobalsRestore ()
 Default constructor:
 ~RootGlobalsRestore ()
 Destructor:

Private Member Functions

 RootGlobalsRestore (const RootGlobalsRestore &rhs)
 Copy constructor:
RootGlobalsRestoreoperator= (const RootGlobalsRestore &rhs)
 Assignment operator:

Private Attributes

TDirectory * m_gd
 current ROOT directory
TFile * m_gf
 current ROOT file
int m_ge
 current ROOT error-level

Detailed Description

state of a few global resources from ROOT and restores their initial value upon d-tor call.

Definition at line 29 of file RootGlobalsRestore.h.

Constructor & Destructor Documentation

◆ RootGlobalsRestore() [1/2]

Athena::RootGlobalsRestore::RootGlobalsRestore ( )

Default constructor:

Definition at line 25 of file RootGlobalsRestore.cxx.

26{
28 m_gf = gFile;
30}
TFile * m_gf
current ROOT file
int m_ge
current ROOT error-level
TDirectory * m_gd
current ROOT directory

◆ ~RootGlobalsRestore()

Athena::RootGlobalsRestore::~RootGlobalsRestore ( )

Destructor:

Definition at line 32 of file RootGlobalsRestore.cxx.

33{
35 gFile = m_gf;
37}

◆ RootGlobalsRestore() [2/2]

Athena::RootGlobalsRestore::RootGlobalsRestore ( const RootGlobalsRestore & rhs)
private

Copy constructor:

Member Function Documentation

◆ operator=()

RootGlobalsRestore & Athena::RootGlobalsRestore::operator= ( const RootGlobalsRestore & rhs)
private

Assignment operator:

Member Data Documentation

◆ m_gd

TDirectory* Athena::RootGlobalsRestore::m_gd
private

current ROOT directory

Definition at line 60 of file RootGlobalsRestore.h.

◆ m_ge

int Athena::RootGlobalsRestore::m_ge
private

current ROOT error-level

Definition at line 66 of file RootGlobalsRestore.h.

◆ m_gf

TFile* Athena::RootGlobalsRestore::m_gf
private

current ROOT file

Definition at line 63 of file RootGlobalsRestore.h.


The documentation for this class was generated from the following files: