#include <TEcnaRootFile.h>
Public Member Functions | |
void | CloseFile () |
Bool_t | OpenR (const Text_t *="") |
Bool_t | OpenW (const Text_t *="") |
Bool_t | ReadElement (Int_t) |
Bool_t | ReadElement (CnaResultTyp, Int_t) |
Int_t | ReadElementNextEntryNumber (CnaResultTyp, Int_t) |
TEcnaRootFile () | |
TEcnaRootFile (const Text_t *) | |
TEcnaRootFile (const Text_t *, TString) | |
~TEcnaRootFile () | |
Public Attributes | |
TEcnaResultType * | fCnaIndivResult |
TBranch * | fCnaResultsBranch |
TTree * | fCnaResultsTree |
Int_t | fCounterBytesCnaResults |
Int_t | fNbEntries |
TFile * | fRootFile |
TString | fRootFileName |
TString | fRootFileStatus |
Protected Member Functions | |
void | Init () |
Definition at line 10 of file TEcnaRootFile.h.
TEcnaRootFile::TEcnaRootFile | ( | ) |
Definition at line 15 of file TEcnaRootFile.cc.
TEcnaRootFile::TEcnaRootFile | ( | const Text_t * | name | ) |
Definition at line 23 of file TEcnaRootFile.cc.
References fRootFileName, Init(), and mergeVDriftHistosByStation::name.
TEcnaRootFile::TEcnaRootFile | ( | const Text_t * | name, |
TString | status | ||
) |
Definition at line 32 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and ntuplemaker::status.
TEcnaRootFile::~TEcnaRootFile | ( | ) |
void TEcnaRootFile::CloseFile | ( | ) |
Definition at line 63 of file TEcnaRootFile.cc.
References fCnaResultsBranch, fCnaResultsTree, fCounterBytesCnaResults, and fRootFile.
|
protected |
Definition at line 50 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fCounterBytesCnaResults, fNbEntries, fRootFile, fRootFileName, and fRootFileStatus.
Referenced by TEcnaRootFile().
Bool_t TEcnaRootFile::OpenR | ( | const Text_t * | name = "" | ) |
Definition at line 72 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fNbEntries, fRootFile, fRootFileName, mergeVDriftHistosByStation::name, and convertSQLiteXML::ok.
Bool_t TEcnaRootFile::OpenW | ( | const Text_t * | name = "" | ) |
Definition at line 94 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fRootFile, fRootFileName, mergeVDriftHistosByStation::name, and convertSQLiteXML::ok.
Bool_t TEcnaRootFile::ReadElement | ( | Int_t | i | ) |
Definition at line 111 of file TEcnaRootFile.cc.
References fCnaResultsTree, fCounterBytesCnaResults, and convertSQLiteXML::ok.
Bool_t TEcnaRootFile::ReadElement | ( | CnaResultTyp | typ, |
Int_t | k | ||
) |
Definition at line 118 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsTree, fCounterBytesCnaResults, TEcnaResultType::fIthElement, fNbEntries, TEcnaResultType::fTypOfCnaResult, i, gen::k, and convertSQLiteXML::ok.
Int_t TEcnaRootFile::ReadElementNextEntryNumber | ( | CnaResultTyp | typ, |
Int_t | k | ||
) |
Definition at line 131 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsTree, fCounterBytesCnaResults, TEcnaResultType::fIthElement, fNbEntries, TEcnaResultType::fTypOfCnaResult, i, gen::k, and convertSQLiteXML::ok.
TEcnaResultType* TEcnaRootFile::fCnaIndivResult |
Definition at line 28 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), OpenW(), ReadElement(), ReadElementNextEntryNumber(), and ~TEcnaRootFile().
TBranch* TEcnaRootFile::fCnaResultsBranch |
Definition at line 27 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), and OpenW().
TTree* TEcnaRootFile::fCnaResultsTree |
Definition at line 23 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), OpenW(), ReadElement(), and ReadElementNextEntryNumber().
Int_t TEcnaRootFile::fCounterBytesCnaResults |
Definition at line 21 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), ReadElement(), and ReadElementNextEntryNumber().
Int_t TEcnaRootFile::fNbEntries |
Definition at line 22 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), ReadElement(), and ReadElementNextEntryNumber().
TFile* TEcnaRootFile::fRootFile |
Definition at line 20 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), and OpenW().
TString TEcnaRootFile::fRootFileName |
Definition at line 18 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), OpenW(), and TEcnaRootFile().
TString TEcnaRootFile::fRootFileStatus |
Definition at line 19 of file TEcnaRootFile.h.
Referenced by Init(), and TEcnaRootFile().