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

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

+ Inheritance diagram for FairParRootFileIo:
+ Collaboration diagram for FairParRootFileIo:

Public Member Functions

 FairParRootFileIo ()
 
 FairParRootFileIo (Bool_t merged)
 
 ~FairParRootFileIo ()
 
Bool_t open (const Text_t *fname, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1)
 
Bool_t open (const TList *fnamelist, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1)
 
void close ()
 
void print ()
 
FairParRootFilegetParRootFile ()
 
void readVersions (FairRtdbRun *)
 
TList * getKeys ()
 
Bool_t check ()
 
void cd ()
 
Bool_t open (TFile *f)
 
void setMerging (Bool_t io)
 
- Public Member Functions inherited from FairParIo
 FairParIo ()
 
virtual ~FairParIo ()
 
virtual FairDetParIogetDetParIo (const Text_t *)
 
virtual void setDetParIo (FairDetParIo *)
 
virtual void removeDetParIo (Text_t *)
 
void setInputNumber (Int_t)
 
const char * getFilename ()
 
virtual void setDetParIo (Text_t *)
 
void setAutoWritable (Bool_t f=kTRUE)
 
Bool_t isAutoWritable ()
 

Protected Attributes

FairParRootFilefile
 
Bool_t fMerging
 
- Protected Attributes inherited from FairParIo
TList * detParIoList
 
Bool_t autoWritable
 
TString filename
 

Private Member Functions

 FairParRootFileIo (const FairParRootFileIo &)
 
FairParRootFileIooperator= (const FairParRootFileIo &)
 

Detailed Description

Definition at line 43 of file FairParRootFileIo.h.

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

Constructor & Destructor Documentation

FairParRootFileIo::FairParRootFileIo ( )

Definition at line 98 of file FairParRootFileIo.cxx.

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

FairParRootFileIo::FairParRootFileIo ( Bool_t  merged)

Definition at line 110 of file FairParRootFileIo.cxx.

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

FairParRootFileIo::~FairParRootFileIo ( )

Definition at line 123 of file FairParRootFileIo.cxx.

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

References close().

+ Here is the call graph for this function:

FairParRootFileIo::FairParRootFileIo ( const FairParRootFileIo )
private

Member Function Documentation

void FairParRootFileIo::cd ( )
inlinevirtual

Reimplemented from FairParIo.

Definition at line 66 of file FairParRootFileIo.h.

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

References FairParRootFile::cd(), and file.

+ Here is the call graph for this function:

Bool_t FairParRootFileIo::check ( )
inlinevirtual

Reimplemented from FairParIo.

Definition at line 61 of file FairParRootFileIo.h.

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

References file, and FairParRootFile::IsOpen().

+ Here is the call graph for this function:

void FairParRootFileIo::close ( )
virtual

Reimplemented from FairParIo.

Definition at line 240 of file FairParRootFileIo.cxx.

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

References FairParRootFile::Close(), FairParIo::detParIoList, and file.

Referenced by open(), and ~FairParRootFileIo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TList * FairParRootFileIo::getKeys ( )

Definition at line 294 of file FairParRootFileIo.cxx.

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

References file, and FairParRootFile::GetListOfKeys().

+ Here is the call graph for this function:

FairParRootFile * FairParRootFileIo::getParRootFile ( )

Definition at line 275 of file FairParRootFileIo.cxx.

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

References file.

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

Definition at line 131 of file FairParRootFileIo.cxx.

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

References FairRuntimeDb::activateParIo(), close(), file, FairParIo::filename, fMerging, FairRuntimeDb::instance(), and FairParRootFile::IsOpen().

Referenced by FairAnaSelector::Init(), EicRunAna::Init(), PndGeoHandling::InitRuntimeDb(), open(), and EicRunSim::RunCoreStart().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t FairParRootFileIo::open ( const TList *  fnamelist,
Option_t *  option = "READ",
const Text_t *  ftitle = "",
Int_t  compress = 1 
)

Definition at line 168 of file FairParRootFileIo.cxx.

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

References open().

+ Here is the call graph for this function:

Bool_t FairParRootFileIo::open ( TFile *  f)

Open an existing root file for IO

Definition at line 224 of file FairParRootFileIo.cxx.

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

References FairRuntimeDb::activateParIo(), file, FairParIo::filename, FairRuntimeDb::instance(), and FairParRootFile::IsOpen().

+ Here is the call graph for this function:

FairParRootFileIo& FairParRootFileIo::operator= ( const FairParRootFileIo )
private
void FairParRootFileIo::print ( )
virtual

Reimplemented from FairParIo.

Definition at line 255 of file FairParRootFileIo.cxx.

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

References FairParIo::detParIoList, and file.

void FairParRootFileIo::readVersions ( FairRtdbRun currentRun)
virtual

Reimplemented from FairParIo.

Definition at line 283 of file FairParRootFileIo.cxx.

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

References file, and FairParRootFile::readVersions().

+ Here is the call graph for this function:

void FairParRootFileIo::setMerging ( Bool_t  io)
inline

Definition at line 74 of file FairParRootFileIo.h.

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

References fMerging.

Member Data Documentation

FairParRootFile* FairParRootFileIo::file
protected

Definition at line 46 of file FairParRootFileIo.h.

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

Referenced by cd(), check(), close(), getKeys(), getParRootFile(), open(), print(), and readVersions().

Bool_t FairParRootFileIo::fMerging
protected

Definition at line 47 of file FairParRootFileIo.h.

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

Referenced by open(), and setMerging().


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