#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 *, const TString &) |
TEcnaRootFile () | |
TEcnaRootFile (TEcnaObject *, const Text_t *, const TString &) | |
TEcnaRootFile (TEcnaObject *, const Text_t *) | |
TEcnaRootFile (const Text_t *) | |
TEcnaRootFile (const Text_t *, const TString &) | |
~TEcnaRootFile () override | |
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: 05/10/2012 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.
References Init().
TEcnaRootFile::TEcnaRootFile | ( | TEcnaObject * | pObjectManager, |
const Text_t * | name, | ||
const TString & | status | ||
) |
Definition at line 29 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, TEcnaObject::RegisterPointer(), and mps_update::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, |
const TString & | status | ||
) |
Definition at line 55 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and mps_update::status.
|
override |
Definition at line 75 of file TEcnaRootFile.cc.
References fCnaIndivResult.
void TEcnaRootFile::CloseFile | ( | ) |
Definition at line 116 of file TEcnaRootFile.cc.
References fCnaResultsBranch, fCnaResultsTree, fCounterBytesCnaResults, and fRootFile.
Referenced by TEcnaRead::CloseRootFile(), and TEcnaRun::CloseRootFile().
|
protected |
Definition at line 85 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 128 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 156 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 176 of file TEcnaRootFile.cc.
References fCnaResultsTree, fCounterBytesCnaResults, mps_fire::i, 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 183 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsTree, fCounterBytesCnaResults, TEcnaResultType::fIthElement, fNbEntries, TEcnaResultType::fTypOfCnaResult, mps_fire::i, isotrackApplyRegressor::k, and convertSQLiteXML::ok.
Int_t TEcnaRootFile::ReadElementNextEntryNumber | ( | CnaResultTyp | typ, |
Int_t | k | ||
) |
Definition at line 195 of file TEcnaRootFile.cc.
References fCnaIndivResult, fCnaResultsTree, fCounterBytesCnaResults, TEcnaResultType::fIthElement, fNbEntries, TEcnaResultType::fTypOfCnaResult, mps_fire::i, isotrackApplyRegressor::k, and convertSQLiteXML::ok.
Referenced by TEcnaRead::ReadSampleAdcValuesSameFile().
void TEcnaRootFile::ReStart | ( | const Text_t * | name | ) |
Definition at line 100 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, |
const TString & | status | ||
) |
Definition at line 108 of file TEcnaRootFile.cc.
References fRootFileName, fRootFileStatus, Init(), mergeVDriftHistosByStation::name, and mps_update::status.
TEcnaResultType* TEcnaRootFile::fCnaIndivResult |
Definition at line 42 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 41 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), and OpenW().
TTree* TEcnaRootFile::fCnaResultsTree |
Definition at line 37 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), OpenW(), ReadElement(), ReadElementNextEntryNumber(), and TEcnaRun::WriteRootFile().
Int_t TEcnaRootFile::fCounterBytesCnaResults |
Definition at line 35 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), ReadElement(), and ReadElementNextEntryNumber().
Int_t TEcnaRootFile::fNbEntries |
Definition at line 36 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), ReadElement(), and ReadElementNextEntryNumber().
TFile* TEcnaRootFile::fRootFile |
Definition at line 33 of file TEcnaRootFile.h.
Referenced by CloseFile(), Init(), OpenR(), OpenW(), TEcnaRead::ReadRootFileHeader(), and TEcnaRun::WriteRootFile().
TString TEcnaRootFile::fRootFileName |
Definition at line 30 of file TEcnaRootFile.h.
Referenced by Init(), OpenR(), OpenW(), ReStart(), and TEcnaRootFile().
TString TEcnaRootFile::fRootFileStatus |
Definition at line 31 of file TEcnaRootFile.h.
Referenced by Init(), TEcnaRead::OpenRootFile(), TEcnaRun::OpenRootFile(), ReStart(), and TEcnaRootFile().