#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) |
void | ReStart (const Text_t *) |
void | ReStart (const Text_t *, TString) |
TEcnaRootFile () | |
TEcnaRootFile (TEcnaObject *, const Text_t *, TString) | |
TEcnaRootFile (TEcnaObject *, const Text_t *) | |
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 () |
TEcnaRootFile.h Update: 30/09/2011 Authors: FX Gentit, B.Fabbro (berna) DSM/IRFU/SPP CEA-Saclay Copyright: Those valid for CEA sofware rd.f abbro @cea .fr
ECNA web page: http://cms-fabbro.web.cern.ch/cms-fabbro/
Definition at line 25 of file TEcnaRootFile.h.
TEcnaRootFile::TEcnaRootFile | ( | ) |
Definition at line 21 of file TEcnaRootFile.cc.
TEcnaRootFile::TEcnaRootFile | ( | TEcnaObject * | pObjectManager, |
const Text_t * | name, | ||
TString | status | ||
) |
Definition at line 29 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, TEcnaObject::RegisterPointer(), and ntuplemaker::status.
TEcnaRootFile::TEcnaRootFile | ( | TEcnaObject * | pObjectManager, |
const Text_t * | name | ||
) |
Definition at line 42 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and TEcnaObject::RegisterPointer().
TEcnaRootFile::TEcnaRootFile | ( | const Text_t * | name | ) |
Definition at line 65 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), and mergeVDriftHistosByStation::name.
TEcnaRootFile::TEcnaRootFile | ( | const Text_t * | name, |
TString | status | ||
) |
Definition at line 55 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and ntuplemaker::status.
TEcnaRootFile::~TEcnaRootFile | ( | ) |
void TEcnaRootFile::CloseFile | ( | ) |
Definition at line 117 of file TEcnaRootFile.cc.
References fCnaResultsBranch, fCnaResultsTree, fCounterBytesCnaResults, and fRootFile.
Referenced by TEcnaRead::CloseRootFile(), and TEcnaRun::CloseRootFile().
|
protected |
Definition at line 83 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fCounterBytesCnaResults, fNbEntries, fRootFile, fRootFileName, and fRootFileStatus.
Referenced by ReStart(), and TEcnaRootFile().
Bool_t TEcnaRootFile::OpenR | ( | const Text_t * | name = "" | ) |
Definition at line 129 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fNbEntries, fRootFile, fRootFileName, mergeVDriftHistosByStation::name, and convertSQLiteXML::ok.
Referenced by TEcnaRead::OpenRootFile(), and TEcnaRun::OpenRootFile().
Bool_t TEcnaRootFile::OpenW | ( | const Text_t * | name = "" | ) |
Definition at line 151 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsBranch, fCnaResultsTree, fRootFile, fRootFileName, mergeVDriftHistosByStation::name, and convertSQLiteXML::ok.
Referenced by TEcnaRead::OpenRootFile(), and TEcnaRun::OpenRootFile().
Bool_t TEcnaRootFile::ReadElement | ( | Int_t | i | ) |
Definition at line 168 of file TEcnaRootFile.cc.
References fCnaResultsTree, fCounterBytesCnaResults, and convertSQLiteXML::ok.
Referenced by TEcnaRead::ReadAverageHighFrequencyNoise(), TEcnaRead::ReadAverageLowFrequencyNoise(), TEcnaRead::ReadAverageMeanCorrelationsBetweenSamples(), TEcnaRead::ReadAveragePedestals(), TEcnaRead::ReadAverageSigmaOfCorrelationsBetweenSamples(), TEcnaRead::ReadAverageTotalNoise(), TEcnaRead::ReadCorrelationsBetweenSamples(), TEcnaRead::ReadCovariancesBetweenSamples(), TEcnaRead::ReadHighFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadHighFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadHighFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadHighFrequencyNoise(), TEcnaRead::ReadLowFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadLowFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadLowFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadLowFrequencyNoise(), TEcnaRead::ReadMeanCorrelationsBetweenSamples(), TEcnaRead::ReadNumberOfEventsForSamples(), TEcnaRead::ReadPedestals(), TEcnaRead::ReadRelevantCorrelationsBetweenSamples(), TEcnaRead::ReadSampleAdcValues(), TEcnaRead::ReadSampleAdcValuesSameFile(), TEcnaRead::ReadSampleMeans(), TEcnaRead::ReadSampleSigmas(), TEcnaRead::ReadSigmaOfCorrelationsBetweenSamples(), TEcnaRead::ReadStinNumbers(), and TEcnaRead::ReadTotalNoise().
Bool_t TEcnaRootFile::ReadElement | ( | CnaResultTyp | typ, |
Int_t | k | ||
) |
Definition at line 175 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 188 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsTree, fCounterBytesCnaResults, TEcnaResultType::fIthElement, fNbEntries, TEcnaResultType::fTypOfCnaResult, i, gen::k, and convertSQLiteXML::ok.
Referenced by TEcnaRead::ReadSampleAdcValuesSameFile().
void TEcnaRootFile::ReStart | ( | const Text_t * | name | ) |
Definition at line 99 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), and mergeVDriftHistosByStation::name.
Referenced by TEcnaRead::OpenRootFile(), and TEcnaRun::OpenRootFile().
void TEcnaRootFile::ReStart | ( | const Text_t * | name, |
TString | status | ||
) |
Definition at line 108 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and ntuplemaker::status.
TEcnaResultType* TEcnaRootFile::fCnaIndivResult |
Definition at line 45 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), OpenW(), TEcnaRead::ReadAverageHighFrequencyNoise(), TEcnaRead::ReadAverageLowFrequencyNoise(), TEcnaRead::ReadAverageMeanCorrelationsBetweenSamples(), TEcnaRead::ReadAveragePedestals(), TEcnaRead::ReadAverageSigmaOfCorrelationsBetweenSamples(), TEcnaRead::ReadAverageTotalNoise(), TEcnaRead::ReadCorrelationsBetweenSamples(), TEcnaRead::ReadCovariancesBetweenSamples(), ReadElement(), ReadElementNextEntryNumber(), TEcnaRead::ReadHighFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadHighFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadHighFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadHighFrequencyNoise(), TEcnaRead::ReadLowFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadLowFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadLowFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadLowFrequencyNoise(), TEcnaRead::ReadMeanCorrelationsBetweenSamples(), TEcnaRead::ReadNumberOfEventsForSamples(), TEcnaRead::ReadPedestals(), TEcnaRead::ReadRelevantCorrelationsBetweenSamples(), TEcnaRead::ReadSampleAdcValues(), TEcnaRead::ReadSampleAdcValuesSameFile(), TEcnaRead::ReadSampleMeans(), TEcnaRead::ReadSampleSigmas(), TEcnaRead::ReadSigmaOfCorrelationsBetweenSamples(), TEcnaRead::ReadStinNumbers(), TEcnaRead::ReadTotalNoise(), TEcnaRun::TRootAdcEvt(), TEcnaRun::TRootAvEvCorss(), TEcnaRun::TRootAvHfn(), TEcnaRun::TRootAvLfn(), TEcnaRun::TRootAvPed(), TEcnaRun::TRootAvSigCorss(), TEcnaRun::TRootAvTno(), TEcnaRun::TRootCorCss(), TEcnaRun::TRootCovCss(), TEcnaRun::TRootHFccMoStins(), TEcnaRun::TRootHfCor(), TEcnaRun::TRootHfCov(), TEcnaRun::TRootHfn(), TEcnaRun::TRootLFccMoStins(), TEcnaRun::TRootLfCor(), TEcnaRun::TRootLfCov(), TEcnaRun::TRootLfn(), TEcnaRun::TRootMeanCorss(), TEcnaRun::TRootMSp(), TEcnaRun::TRootNbOfEvts(), TEcnaRun::TRootPed(), TEcnaRun::TRootSigCorss(), TEcnaRun::TRootSSp(), TEcnaRun::TRootStinNumbers(), TEcnaRun::TRootTno(), TEcnaRun::WriteRootFile(), and ~TEcnaRootFile().
TBranch* TEcnaRootFile::fCnaResultsBranch |
Definition at line 44 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), and OpenW().
TTree* TEcnaRootFile::fCnaResultsTree |
Definition at line 40 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), OpenW(), ReadElement(), ReadElementNextEntryNumber(), and TEcnaRun::WriteRootFile().
Int_t TEcnaRootFile::fCounterBytesCnaResults |
Definition at line 38 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), ReadElement(), and ReadElementNextEntryNumber().
Int_t TEcnaRootFile::fNbEntries |
Definition at line 39 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), ReadElement(), and ReadElementNextEntryNumber().
TFile* TEcnaRootFile::fRootFile |
Definition at line 36 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), OpenW(), TEcnaRead::ReadRootFileHeader(), and TEcnaRun::WriteRootFile().
TString TEcnaRootFile::fRootFileName |
Definition at line 33 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), OpenW(), ReStart(), and TEcnaRootFile().
TString TEcnaRootFile::fRootFileStatus |
Definition at line 34 of file TEcnaRootFile.h.
Referenced by Init(), TEcnaRead::OpenRootFile(), TEcnaRun::OpenRootFile(), ReStart(), and TEcnaRootFile().