EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairParRootFile Class Reference

#include <EicRoot/blob/master/parbase/FairParRootFileIo.h>

+ Inheritance diagram for FairParRootFile:
+ Collaboration diagram for FairParRootFile:

Public Member Functions

 FairParRootFile (const Text_t *fname, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1)
 pointer to current run in ROOT file
 
 FairParRootFile (TFile *f)
 
 ~FairParRootFile ()
 
FairRtdbRungetRun ()
 
void readVersions (FairRtdbRun *)
 
Bool_t IsOpen ()
 
void cd ()
 
Bool_t IsWritable ()
 
TKey * GetKey (Text_t *t)
 
TList * GetListOfKeys ()
 
void Close ()
 

Public Attributes

FairRtdbRunrun
 

Protected Attributes

TFile * RootFile
 

Private Member Functions

 FairParRootFile (const FairParRootFile &)
 
FairParRootFileoperator= (const FairParRootFile &)
 

Detailed Description

Definition at line 12 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 12 of file FairParRootFileIo.h

Constructor & Destructor Documentation

FairParRootFile::FairParRootFile ( const Text_t *  fname,
Option_t *  option = "READ",
const Text_t *  ftitle = "",
Int_t  compress = 1 
)

pointer to current run in ROOT file

FairParRootFile::FairParRootFile ( TFile *  f)

Definition at line 60 of file FairParRootFileIo.cxx.

View newest version in sPHENIX GitHub at line 60 of file FairParRootFileIo.cxx

FairParRootFile::~FairParRootFile ( )

Definition at line 74 of file FairParRootFileIo.cxx.

View newest version in sPHENIX GitHub at line 74 of file FairParRootFileIo.cxx

References run.

FairParRootFile::FairParRootFile ( const FairParRootFile )
private

Member Function Documentation

void FairParRootFile::cd ( )
inline

Definition at line 24 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 24 of file FairParRootFileIo.h

References RootFile.

Referenced by FairParRootFileIo::cd(), FairDetParRootFileIo::findContainer(), and FairDetParRootFileIo::write().

+ Here is the caller graph for this function:

void FairParRootFile::Close ( )
inline

Definition at line 29 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 29 of file FairParRootFileIo.h

References RootFile.

Referenced by FairParRootFileIo::close().

+ Here is the caller graph for this function:

TKey* FairParRootFile::GetKey ( Text_t *  t)
inline

Definition at line 27 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 27 of file FairParRootFileIo.h

References RootFile.

Referenced by FairDetParRootFileIo::getMaxVersion().

+ Here is the caller graph for this function:

TList* FairParRootFile::GetListOfKeys ( )
inline

Definition at line 28 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 28 of file FairParRootFileIo.h

References RootFile.

Referenced by FairParRootFileIo::getKeys().

+ Here is the caller graph for this function:

FairRtdbRun* FairParRootFile::getRun ( )
inline

Definition at line 20 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 20 of file FairParRootFileIo.h

References run.

Referenced by FairDetParRootFileIo::findInputVersion().

+ Here is the caller graph for this function:

Bool_t FairParRootFile::IsOpen ( )
inline

Definition at line 23 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 23 of file FairParRootFileIo.h

References RootFile.

Referenced by FairParRootFileIo::check(), and FairParRootFileIo::open().

+ Here is the caller graph for this function:

Bool_t FairParRootFile::IsWritable ( )
inline

Definition at line 25 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 25 of file FairParRootFileIo.h

References RootFile.

Referenced by FairDetParRootFileIo::write().

+ Here is the caller graph for this function:

FairParRootFile& FairParRootFile::operator= ( const FairParRootFile )
private
void FairParRootFile::readVersions ( FairRtdbRun currentRun)

Definition at line 86 of file FairParRootFileIo.cxx.

View newest version in sPHENIX GitHub at line 86 of file FairParRootFileIo.cxx

References RootFile, and run.

Referenced by FairParRootFileIo::readVersions().

+ Here is the caller graph for this function:

Member Data Documentation

TFile* FairParRootFile::RootFile
protected

Definition at line 32 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 32 of file FairParRootFileIo.h

Referenced by cd(), Close(), GetKey(), GetListOfKeys(), IsOpen(), IsWritable(), and readVersions().

FairRtdbRun* FairParRootFile::run

Definition at line 15 of file FairParRootFileIo.h.

View newest version in sPHENIX GitHub at line 15 of file FairParRootFileIo.h

Referenced by getRun(), readVersions(), and ~FairParRootFile().


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