#include <TEcnaRead.h>
Public Member Functions | |
void | Adelete (const TString &) |
void | Anew (const TString &) |
Bool_t | CloseRootFile (const Text_t *) |
Bool_t | DataExist () |
void | FileParameters (const TString &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const TString &) |
TString | GetAnalysisName () |
Int_t | GetFirstReqEvtNumber () |
Int_t | GetLastReqEvtNumber () |
Int_t | GetNbOfSamples () |
Int_t | GetNumberOfBinsSampleAsFunctionOfTime () |
Int_t | GetNumberOfEvents (const Int_t &, const Int_t &) |
Int_t | GetReqNbOfEvts () |
TString | GetRootFileName () |
TString | GetRootFileNameShort () |
Int_t | GetRunNumber () |
TString | GetRunType () |
TString | GetStartDate () |
time_t | GetStartTime () |
Int_t | GetStexNumber () |
Int_t | GetStexStinFromIndex (const Int_t &) |
Int_t | GetStinIndex (const Int_t &) |
TString | GetStopDate () |
time_t | GetStopTime () |
TString | GetTechReadCode (const TString &, const TString &) |
TString | GetTypeOfQuantity (const CnaResultTyp) |
void | Init () |
Bool_t | LookAtRootFile () |
Bool_t | OpenRootFile (const Text_t *, const TString &) |
TEcnaRead & | operator= (const TEcnaRead &) |
void | PrintAllComments () |
void | PrintComments () |
void | PrintNoComment () |
void | PrintWarnings () |
TVectorD | Read1DHisto (const Int_t &, const TString &, const Int_t &, const Int_t &, const Int_t &) |
TVectorD | Read1DHisto (const Int_t &, const TString &, const Int_t &) |
TVectorD | Read1DHisto (const Int_t &, const TString &, const TString &) |
TVectorD | ReadAverageHighFrequencyNoise (const Int_t &) |
TVectorD | ReadAverageLowFrequencyNoise (const Int_t &) |
TVectorD | ReadAverageMeanCorrelationsBetweenSamples (const Int_t &) |
TVectorD | ReadAverageNumberOfEvents (const Int_t &) |
TVectorD | ReadAveragePedestals (const Int_t &) |
TVectorD | ReadAverageSigmaOfCorrelationsBetweenSamples (const Int_t &) |
TVectorD | ReadAverageTotalNoise (const Int_t &) |
TMatrixD | ReadCorrelationsBetweenSamples (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadCovariancesBetweenSamples (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadHighFrequencyCorrelationsBetweenChannels (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadHighFrequencyCorrelationsBetweenChannels (const Int_t &) |
TMatrixD | ReadHighFrequencyCovariancesBetweenChannels (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadHighFrequencyCovariancesBetweenChannels (const Int_t &) |
TMatrixD | ReadHighFrequencyMeanCorrelationsBetweenStins (const Int_t &) |
TVectorD | ReadHighFrequencyNoise (const Int_t &) |
TMatrixD | ReadLowFrequencyCorrelationsBetweenChannels (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadLowFrequencyCorrelationsBetweenChannels (const Int_t &) |
TMatrixD | ReadLowFrequencyCovariancesBetweenChannels (const Int_t &, const Int_t &, const Int_t &) |
TMatrixD | ReadLowFrequencyCovariancesBetweenChannels (const Int_t &) |
TMatrixD | ReadLowFrequencyMeanCorrelationsBetweenStins (const Int_t &) |
TVectorD | ReadLowFrequencyNoise (const Int_t &) |
TMatrixD | ReadMatrix (const Int_t &, const TString &, const TString &, const Int_t &, const Int_t &) |
TMatrixD | ReadMatrix (const Int_t &, const TString &, const TString &) |
TVectorD | ReadMeanCorrelationsBetweenSamples (const Int_t &) |
TVectorD | ReadNumberOfEvents (const Int_t &) |
TMatrixD | ReadNumberOfEventsForSamples (const Int_t &, const Int_t &, const Int_t &) |
TVectorD | ReadPedestals (const Int_t &) |
TVectorD | ReadRelevantCorrelationsBetweenSamples (const Int_t &, const Int_t &, const Int_t &) |
Bool_t | ReadRootFileHeader (const Int_t &) |
TVectorD | ReadSampleAdcValues (const Int_t &, const Int_t &, const Int_t &, const Int_t &) |
Double_t *** | ReadSampleAdcValuesSameFile (const Int_t &, const Int_t &, const Int_t &) |
TVectorD | ReadSampleMeans (const Int_t &, const Int_t &, const Int_t &) |
TVectorD | ReadSampleMeans (const Int_t &, const Int_t &) |
TVectorD | ReadSampleSigmas (const Int_t &, const Int_t &, const Int_t &) |
TVectorD | ReadSampleSigmas (const Int_t &, const Int_t &) |
TVectorD | ReadSigmaOfCorrelationsBetweenSamples (const Int_t &) |
TVectorD | ReadStinNumbers (const Int_t &) |
TVectorD | ReadTotalNoise (const Int_t &) |
void | SetEcalSubDetector (const TString &) |
TEcnaRead () | |
TEcnaRead (TEcnaObject *, const TString &) | |
TEcnaRead (const TEcnaRead &) | |
void | TestArrayDimH1 (const TString &, const TString &, const Int_t &, const Int_t &) |
void | TestArrayDimH2 (const TString &, const TString &, const Int_t &, const Int_t &) |
virtual | ~TEcnaRead () |
Private Member Functions | |
void | fCopy (const TEcnaRead &) |
Private Attributes | |
Int_t | fCdelete |
TEcnaParCout * | fCnaParCout |
TEcnaParHistos * | fCnaParHistos |
TEcnaParPaths * | fCnaParPaths |
TEcnaWrite * | fCnaWrite |
Int_t | fCnew |
Int_t | fCodePrintAllComments |
Int_t | fCodePrintComments |
Int_t | fCodePrintNoComment |
Int_t | fCodePrintWarnings |
TString | fCurrentlyOpenFileName |
Bool_t | fDataExist |
TEcnaParEcal * | fEcal |
TEcnaNumbering * | fEcalNumbering |
TEcnaHeader * | fFileHeader |
TString | fFlagNoFileOpen |
Int_t | fFlagPrint |
TString | fFlagSubDet |
Int_t | fgMaxCar |
Int_t | fLookAtRootFile |
Int_t | fMemoStinNumbers |
Int_t | fNbChanByLine |
Int_t | fNbSampByLine |
TEcnaObject * | fObjectManager |
Bool_t | fOpenRootFile |
TString | fPathRoot |
Int_t | fReadyToReadRootFile |
TString | fStexName |
TString | fStinName |
Int_t * | fT1d_StexStinFromIndex |
Double_t * | fT3d1_AdcValues |
Double_t ** | fT3d2_AdcValues |
Double_t *** | fT3d_AdcValues |
Int_t * | fTagStinNumbers |
TString | fTTBELL |
TEcnaRead.h Update: 05/05/2012 Authors: B.Fabbro (berna), FX Gentit 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/
==============> INTRODUCTION
This class allows the user to read the .root results files (containing
expectation values, variances, covariances, correlations and other quantities of interest) previously computed by the class TEcnaRun. The results are available in arrays.
==============> PRELIMINARY REMARK
Another class named TEcnaHistos can be used directly to make plots of results previously computed by means of the class TEcnaRun. The class TEcnaHistos calls TEcnaRead and manage the reading of the .root result file
*** I N S T R U C T I O N S F O R U S E ***
//==============> TEcnaRead DECLARATION
// The declaration is done by calling the constructor without argument:
TEcnaRead* MyCnaRead = new TEcnaRead();
//==============> PREPARATION METHOD FileParameters(...)
// There is a preparation method named: FileParameters(...);
// FileParameters(...) is used to read the quantities written // in the ROOT files in order to use these quantities for analysis.
//....... Example of program using FileParameters(...)
// This example describes the reading of one result file. This file is situated in a // directory which name is given by the contents of a TString named PathForRootFile
//................ Set values for the arguments and call to the method
TString AnalysisName = "AdcPed12" Int_t RunNumber = 132440; Int_t FirstReqEvtNumber = 1; | (numbering starting from 1) Int_t LastReqEvtNumber = 300; | => treats 150 evts between evt#100 and evt#300 (included) Int_t ReqNbOfEvts = 150; | TString PathForRootFile = "/afs/cern.ch/etc..." // .root result files directory
TEcnaRead* MyCnaRead = new TEcnaRead(); MyCnaRead->FileParameters(AnalysisName, RunNumber, FirstReqEvtNumber, LastReqEvtNumber, ReqNbOfEvts, StexNumber, PathForRootFile);
*==> Stex = SM if EB, Dee if EE
//==============> CALL TO THE METHOD: Bool_t LookAtRootFile() (MANDATORY) // and method: Bool_t DataExist(); // if data exist: kTRUE , if not: kFALSE
// This methods returns a boolean. It tests the existence // of the ROOT file corresponding to the argument values given // in the call to the method FileParameters(...). // It is recommended to test the return value of the method.
//....... Example of use:
if( MyCnaRead->LookAtRootFile() == kFALSE ) { std::cout << "*** ERROR: ROOT file not found" << std::endl; } else { //........... The ROOT file exists and has been found // //—> CALLS TO THE METHODS WHICH RECOVER THE QUANTITIES. EXAMPLE: // (see the complete list of the methods hereafter)
Int_t MaxSamples = 10; TMatrixD CorMat(MaxSamples,MaxSamples); Int_t Tower = 59; Int_t Channel = 4; CorMat = MyCnaRead->ReadMatrix(MaxSamples, "Cor", "Samples", Tower, Channel);
// arguments: "Cor" = correlation matrix, "Samples" = between samples // large amount of possibilities for syntax: "Cor", "cor", "correlation", etc... // "Samples", "samples", "samp", etc...
if( MyCnaRead->DataExist() == kFALSE ) { : Analysis of the correlations, etc... : } else { std::cout << "problem while reading file. data not available. " << std::endl; }
}
*=======================* | DETAILLED DESCRIPTION | *=======================*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Method FileParameters(...) and associated methods
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
TEcnaRead* MyCnaRead = new TEcnaRead(); // declaration of the object MyCnaRead
MyCnaRead->FileParameters(AnalysisName, RunNumber, NbOfSamples FirstReqEvtNumber, LastReqEvtNumber, ReqNbOfEvts, StexNumber, PathForRootFile);
Arguments:
TString AnalysisName: code for the analysis. According to this code, the analyzer EcnaAnalyser selects the event type (PEDESTAL_STD, PEDESTAL_GAP, LASER_STD, etc...) and some other event characteristics (example: the gain in pedestal runs: AnalysisName = "Ped1" or "Ped6" or "Ped12") See EcnaAnalyser.h for a list of available codes. The string AnalysisName is automatically included in the name of the results files (see below: results files paragraph).
Int_t NbOfSamples number of samples (=10 maximum) Int_t RunNumber run number Int_t FirstReqEvtNumber first requested event number (numbering starting from 1) Int_t LastReqEvtNumber last requested event number Int_t ReqNbOfEvts requested number of events Int_t StexNumber Stex number (Stex = SM if EB, Dee if EE)
TString PathForRootFile: Path of the directory containing the ROOT file. The path must be complete: /afs/cern.ch/user/... etc...
==============> METHODS TO RECOVER THE QUANTITIES FROM THE ROOT FILE
SM = SuperModule (EB) equivalent to a Dee (EE) SC = SuperCrystal (EE) equivalent to a Tower (EB) Stex = SM in case of EB , Dee in case of EE Stin = Tower in case of EB , SC in case of EE
n1StexStin = Stin# in Stex = Tower# in SM (RANGE = [1,68]) if EB = SC# in Dee (RANGE = [1,149]) if EE
i0StexEcha = Channel# in Stex = Channel# in SM (RANGE = [0,1699]) if EB = Channel# in Dee (RANGE = [0,3724]) if EE
i0StinEcha = Channel# in Stin = Channel# in tower (RANGE = [0,24]) if EB = Channel# in SC (RANGE = [0,24]) if EE
MaxCrysInStin = Maximum number of Xtals in a tower or a SC (25) MaxCrysEcnaInStex = Maximum number of Xtals in SM (1700) or in the matrix including Dee (5000) MaxStinEcnaInStex = Maximum number of towers in SM (68) or in the matrix including Dee (200) MaxSampADC = Maximum number of samples (10) NbOfSample = Number of samples used to perform the calculations (example: for the 3 first samples, NbOfSample = 3)
=============================== Standard methods for the user ===============================
Intervals: Tower or SC: [1,...] Channel:[0,24] Sample:[1,10]
........................................................................... TVectorD Read1DHisto(const Int_t& VecDim, const TString& Quantity, const Int_t& Tower or SC, const Int_t& Channel, const Int_t& Sample);
Example: Int_t Tower = 59; Int_t Channel = 10; Int_t Sample = 4; NbOfEvts = 150; TVectorD Adc(NbOfEvts); Adc = Read1DHisto(NbOfEvts, "AdcValue", Tower, Channel, Sample;
........................................................................... TVectorD Read1DHisto(const Int_t& VecDim, const TString& Quantity, const Int_t& Tower or SC);
Example: Int_t Tower = 59; TVectorD SampMean(fEcal->MaxCrysInTow()*fEcal->MaxSampADC()); SampMean = Read1DHisto(fEcal->MaxCrysInTow()*fEcal->MaxSampADC(), "SampleMean", Tower);
........................................................................... TVectorD Read1DHisto(const Int_t& VecDim, const TString& Quantity, const TString& Detector);
Example: TVectorD Pedestal(fEcal->MaxCrysInTow()); Pedestal = Read1DHisto(fEcal->MaxCrysInTow(), "Ped","SM");
........................................................................... TMatrixD ReadMatrix(const Int_t&, const TString&, const TString&, const Int_t&, const Int_t&); TMatrixD ReadMatrix(const Int_t&, const TString&, const TString&);
=============================== more "technical" methods ===============================
TVectorD and TMatrixD sizes are indicated after the argument lists
TMatrixD ReadNumberOfEventsForSamples(const Int_t& n1StexStin, const Int_t& MaxCrysInStin, const Int_t& NbOfSamples); // TMatrixD(MaxCrysInStin,NbOfSamples)
TVectorD ReadSampleAdcValues(const Int_t& i0StexEcha, const Int_t& sample, const Int_t& ReqNbOfEvts); // TVectorD(ReqNbOfEvts)
TVectorD ReadSampleMeans(const Int_t& n1StexStin, const Int_t& i0StinEcha, const Int_t& NbOfSamples); // TVectorD(NbOfSamples)
TVectorD ReadSampleMeans(const Int_t& n1StexStin, const Int_t& MaxCrysInStin*NbOfSamples); // TVectorD(MaxCrysInStin*NbOfSamples)
TVectorD ReadSampleSigmas(const Int_t& n1StexStin, const Int_t& i0StinEcha, const Int_t& NbOfSamples); // TVectorD(NbOfSamples)
TVectorD ReadSampleSigmas(const Int_t& n1StexStin, const Int_t& MaxCrysInStin*NbOfSamples); // TVectorD(MaxCrysInStin*NbOfSamples)
TMatrixD ReadCovariancesBetweenSamples(const Int_t& n1StexStin, const Int_t& i0StinEcha); // TMatrixD(NbOfSamples,NbOfSamples)
TMatrixD ReadCorrelationsBetweenSamples(const Int_t& n1StexStin, const Int_t& i0StinEcha); // TMatrixD(NbOfSamples,NbOfSamples)
--------------------------------------------------------— TMatrixD
TMatrixD size is (MaxCrysInStin, MaxCrysInStin)
TMatrixD ReadLowFrequencyCovariancesBetweenChannels(const Int_t& n1StexStin_X, const Int_t& n1StexStin_Y, const Int_t& MaxCrysInStin);
TMatrixD ReadLowFrequencyCorrelationsBetweenChannels(const Int_t& n1StexStin_X, const Int_t& n1StexStin_Y, const Int_t& MaxCrysInStin);
TMatrixD ReadHighFrequencyCovariancesBetweenChannels(const Int_t& n1StexStin_X, const Int_t& n1StexStin_Y, const Int_t& MaxCrysInStin);
TMatrixD ReadHighFrequencyCorrelationsBetweenChannels(const Int_t& n1StexStin_X, const Int_t& n1StexStin_Y, const Int_t& MaxCrysInStin);
--------------------------------------------------------— TMatrixD
TMatrixD size is (MaxCrysEcnaInStex, MaxCrysEcnaInStex) (BIG!: 1700x1700 for EB and 5000x5000 for EE)
TMatrixD ReadLowFrequencyCovariancesBetweenChannels(const Int_t& MaxCrysEcnaInStex); TMatrixD ReadLowFrequencyCorrelationsBetweenChannels(const Int_t& MaxCrysEcnaInStex);
TMatrixD ReadHighFrequencyCovariancesBetweenChannels(const Int_t& MaxCrysEcnaInStex); TMatrixD ReadHighFrequencyCorrelationsBetweenChannels(const Int_t& MaxCrysEcnaInStex);
--------------------------------------------------------— TMatrixD
TMatrixD size is (MaxStinEcnaInStex, MaxStinEcnaInStex)
TMatrixD ReadLowFrequencyMeanCorrelationsBetweenStins(const Int_t& MaxStinEcnaInStex); TMatrixD ReadHighFrequencyMeanCorrelationsBetweenStins(const Int_t& MaxStinEcnaInStex);
--------------------------------------------------------— TVectorD
TVectorD sizes are indicated after the argument lists
TVectorD ReadPedestals(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex) TVectorD ReadTotalNoise(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex) TVectorD ReadMeanCorrelationsBetweenSamples(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex)
TVectorD ReadLowFrequencyNoise(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex) TVectorD ReadHighFrequencyNoise(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex) TVectorD ReadSigmaOfCorrelationsBetweenSamples(const Int_t& MaxCrysEcnaInStex); // TVectorD(MaxCrysEcnaInStex)
TString GetStartDate() TString GetStopDate() TString GetRunType() Int_t GetFirstReqEvtNumber(); Int_t GetReqNbOfEvts();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Print Methods
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Just after the declaration with the constructor, you can set a "Print Flag" by means of the following "Print Methods": TEcnaRead* MyCnaRead = new TEcnaRead(....); // declaration of the object MyCnaRead // Print Methods: MyCnaRead->PrintNoComment(); // Set flag to forbid printing of all the comments // except ERRORS. MyCnaRead->PrintWarnings(); // (DEFAULT) // Set flag to authorize printing of some warnings. // WARNING/INFO: information on something unusual // in the data. // WARNING/CORRECTION: something wrong (but not too serious) // in the value of some argument. // Automatically modified to a correct value. MyCnaRead->PrintComments(); // Set flag to authorize printing of infos // and some comments concerning initialisations MyCnaRead->PrintAllComments(); // Set flag to authorize printing of all the comments
Definition at line 352 of file TEcnaRead.h.
TEcnaRead::TEcnaRead | ( | ) |
TEcnaRead::TEcnaRead | ( | TEcnaObject * | pObjectManager, |
const TString & | SubDet | ||
) |
Definition at line 26 of file TEcnaRead.cc.
References fCnaParCout, fCnaParHistos, fCnaParPaths, fCnaWrite, fEcal, fEcalNumbering, fFileHeader, fObjectManager, TEcnaObject::GetPointerValue(), Init(), TEcnaObject::RegisterPointer(), and SetEcalSubDetector().
TEcnaRead::TEcnaRead | ( | const TEcnaRead & | dcop | ) |
|
virtual |
Definition at line 264 of file TEcnaRead.cc.
References Adelete(), gather_cfg::cout, fCdelete, fCnew, fCodePrintAllComments, fCodePrintComments, fFlagPrint, fT1d_StexStinFromIndex, fT3d1_AdcValues, fT3d2_AdcValues, fT3d_AdcValues, fTagStinNumbers, and fTTBELL.
void TEcnaRead::Adelete | ( | const TString & | VarName | ) |
Definition at line 193 of file TEcnaRead.cc.
References fCdelete.
Referenced by ~TEcnaRead().
void TEcnaRead::Anew | ( | const TString & | VarName | ) |
Definition at line 184 of file TEcnaRead.cc.
References fCnew.
Referenced by LookAtRootFile().
Bool_t TEcnaRead::CloseRootFile | ( | const Text_t * | name | ) |
Definition at line 875 of file TEcnaRead.cc.
References TEcnaRootFile::CloseFile(), gather_cfg::cout, fCodePrintAllComments, fCurrentlyOpenFileName, fFlagNoFileOpen, fFlagPrint, fOpenRootFile, fReadyToReadRootFile, fTTBELL, and gCnaRootFile.
Referenced by ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
Bool_t TEcnaRead::DataExist | ( | ) |
Definition at line 976 of file TEcnaRead.cc.
References fDataExist.
Referenced by TEcnaHistos::EvSamplesXtals(), TEcnaHistos::GetHistoValues(), TEcnaHistos::GetOkViewHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::SigmaSamplesXtals(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), TEcnaHistos::ViewStin(), TEcnaHistos::XtalSamplesEv(), and TEcnaHistos::XtalSamplesSigma().
|
private |
Definition at line 204 of file TEcnaRead.cc.
References fCdelete, fCnew, fCodePrintAllComments, fCodePrintComments, fCodePrintNoComment, fCodePrintWarnings, fFileHeader, fFlagPrint, fOpenRootFile, fPathRoot, and fTagStinNumbers.
Referenced by operator=().
void TEcnaRead::FileParameters | ( | const TString & | typ_ana, |
const Int_t & | nb_of_samples, | ||
const Int_t & | run_number, | ||
const Int_t & | nfirst, | ||
const Int_t & | nlast, | ||
const Int_t & | nreqevts, | ||
const Int_t & | Stex, | ||
const TString & | path_root | ||
) |
Definition at line 649 of file TEcnaRead.cc.
References gather_cfg::cout, fCnaWrite, fCodePrintAllComments, fCodePrintComments, fFileHeader, TEcnaHeader::fFirstReqEvtNumber, fFlagPrint, TEcnaHeader::fLastReqEvtNumber, TEcnaWrite::fMakeResultsFileName(), fMemoStinNumbers, TEcnaHeader::fNbOfSamples, fObjectManager, fPathRoot, fReadyToReadRootFile, TEcnaHeader::fReqNbOfEvts, TEcnaHeader::fRunNumber, TEcnaHeader::fStex, TEcnaHeader::fTypAna, TEcnaHeader::HeaderParameters(), nlast, and TEcnaWrite::RegisterFileParameters().
Referenced by TEcnaHistos::EvSamplesXtals(), Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::SigmaSamplesXtals(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHistime(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), TEcnaHistos::ViewStin(), TEcnaHistos::XtalSamplesEv(), and TEcnaHistos::XtalSamplesSigma().
TString TEcnaRead::GetAnalysisName | ( | ) |
Definition at line 742 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fTypAna.
Referenced by TEcnaHistos::FileParameters().
Int_t TEcnaRead::GetFirstReqEvtNumber | ( | ) |
Definition at line 745 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fFirstReqEvtNumber.
Referenced by TEcnaHistos::FileParameters().
Int_t TEcnaRead::GetLastReqEvtNumber | ( | ) |
Definition at line 746 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fLastReqEvtNumber.
Referenced by TEcnaHistos::FileParameters().
Int_t TEcnaRead::GetNbOfSamples | ( | ) |
Definition at line 743 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fNbOfSamples.
Referenced by TEcnaHistos::FileParameters().
Int_t TEcnaRead::GetNumberOfBinsSampleAsFunctionOfTime | ( | ) |
Int_t TEcnaRead::GetNumberOfEvents | ( | const Int_t & | xFapNbOfReqEvts, |
const Int_t & | xStexNumber | ||
) |
Definition at line 4275 of file TEcnaRead.cc.
References fCdelete, fCnaWrite, fCnew, fEcal, i, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaWrite::NumberOfEventsAnalysis(), and ReadNumberOfEvents().
Referenced by TEcnaHistos::FileParameters(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().
Int_t TEcnaRead::GetReqNbOfEvts | ( | ) |
Definition at line 747 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fReqNbOfEvts.
Referenced by TEcnaHistos::FileParameters(), and GetNumberOfBinsSampleAsFunctionOfTime().
TString TEcnaRead::GetRootFileName | ( | ) |
Definition at line 4356 of file TEcnaRead.cc.
References fCnaWrite, and TEcnaWrite::GetRootFileName().
Referenced by TEcnaRun::ReadSampleAdcValues().
TString TEcnaRead::GetRootFileNameShort | ( | ) |
Definition at line 4357 of file TEcnaRead.cc.
References fCnaWrite, and TEcnaWrite::GetRootFileNameShort().
Referenced by TEcnaHistos::GetOkViewHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().
Int_t TEcnaRead::GetRunNumber | ( | ) |
Definition at line 744 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fRunNumber.
Referenced by TEcnaHistos::FileParameters().
TString TEcnaRead::GetRunType | ( | ) |
Definition at line 758 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fRunType.
Referenced by TEcnaHistos::FileParameters(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().
TString TEcnaRead::GetStartDate | ( | ) |
Definition at line 756 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fStartDate.
Referenced by TEcnaHistos::FileParameters(), Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHistime(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().
time_t TEcnaRead::GetStartTime | ( | ) |
Definition at line 754 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fStartTime.
Referenced by Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::ViewHistime(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
Int_t TEcnaRead::GetStexNumber | ( | ) |
Definition at line 748 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fStex.
Referenced by TEcnaHistos::FileParameters().
Int_t TEcnaRead::GetStexStinFromIndex | ( | const Int_t & | i0StexStinEcna | ) |
Definition at line 4365 of file TEcnaRead.cc.
References fEcal, i, TEcnaParEcal::MaxStinEcnaInStex(), and ReadStinNumbers().
Referenced by TEcnaRun::ReadSampleAdcValues(), and TEcnaHistos::ViewStex().
Int_t TEcnaRead::GetStinIndex | ( | const Int_t & | n1StexStin | ) |
Definition at line 4385 of file TEcnaRead.cc.
References gather_cfg::cout, fCodePrintAllComments, fEcal, fFlagPrint, fTTBELL, i, TEcnaParEcal::MaxStinEcnaInStex(), and ReadStinNumbers().
Referenced by ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), and ReadNumberOfEventsForSamples().
TString TEcnaRead::GetStopDate | ( | ) |
Definition at line 757 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fStopDate.
Referenced by TEcnaHistos::FileParameters(), Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().
time_t TEcnaRead::GetStopTime | ( | ) |
Definition at line 755 of file TEcnaRead.cc.
References fFileHeader, and TEcnaHeader::fStopTime.
Referenced by Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TString TEcnaRead::GetTechReadCode | ( | const TString & | StandardQuantity, |
const TString & | StandardDetector | ||
) |
Definition at line 602 of file TEcnaRead.cc.
References gather_cfg::cout, and fTTBELL.
Referenced by Read1DHisto().
TString TEcnaRead::GetTypeOfQuantity | ( | const CnaResultTyp | arg_typ | ) |
Definition at line 4302 of file TEcnaRead.cc.
References cTypAdcEvt, cTypAvHfn, cTypAvLfn, cTypAvMeanCorss, cTypAvPed, cTypAvSigCorss, cTypAvTno, cTypCorCss, cTypCovCss, cTypHFccMoStins, cTypHfCor, cTypHfCov, cTypHfn, cTypLFccMoStins, cTypLfCor, cTypLfCov, cTypLfn, cTypMeanCorss, cTypMSp, cTypNbOfEvts, cTypNumbers, cTypPed, cTypSigCorss, cTypSSp, cTypTno, and fFlagSubDet.
Referenced by ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
void TEcnaRead::Init | ( | void | ) |
Definition at line 110 of file TEcnaRead.cc.
References fCdelete, fCnaParCout, fCnew, fCodePrintAllComments, fCodePrintComments, fCodePrintNoComment, fCodePrintWarnings, fCurrentlyOpenFileName, fDataExist, fFlagNoFileOpen, fFlagPrint, fgMaxCar, fLookAtRootFile, fMemoStinNumbers, fOpenRootFile, fPathRoot, fReadyToReadRootFile, fT1d_StexStinFromIndex, fT3d1_AdcValues, fT3d2_AdcValues, fT3d_AdcValues, fTagStinNumbers, fTTBELL, gCnaRootFile, and TEcnaParCout::GetCodePrint().
Referenced by TEcnaRead().
Bool_t TEcnaRead::LookAtRootFile | ( | ) |
Definition at line 922 of file TEcnaRead.cc.
References Anew(), gather_cfg::cout, fEcal, fFileHeader, fLookAtRootFile, fReadyToReadRootFile, TEcnaHeader::fStinNumbersCalc, fT1d_StexStinFromIndex, fTagStinNumbers, fTTBELL, i, TEcnaParEcal::MaxStinEcnaInStex(), ReadRootFileHeader(), and ReadStinNumbers().
Referenced by TEcnaHistos::EvSamplesXtals(), Read1DHisto(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::SigmaSamplesXtals(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewHistime(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), TEcnaHistos::ViewStin(), TEcnaHistos::XtalSamplesEv(), and TEcnaHistos::XtalSamplesSigma().
Bool_t TEcnaRead::OpenRootFile | ( | const Text_t * | name, |
const TString & | status | ||
) |
Definition at line 807 of file TEcnaRead.cc.
References gather_cfg::cout, fCodePrintAllComments, fCurrentlyOpenFileName, fFlagPrint, fObjectManager, fOpenRootFile, fPathRoot, TEcnaRootFile::fRootFileStatus, gCnaRootFile, TEcnaObject::GetPointerValue(), TEcnaRootFile::OpenR(), TEcnaRootFile::OpenW(), TEcnaRootFile::ReStart(), and mps_update::status.
Referenced by ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
void TEcnaRead::PrintAllComments | ( | ) |
Definition at line 4454 of file TEcnaRead.cc.
References gather_cfg::cout, fCodePrintAllComments, and fFlagPrint.
void TEcnaRead::PrintComments | ( | ) |
Definition at line 4438 of file TEcnaRead.cc.
References gather_cfg::cout, fCodePrintComments, and fFlagPrint.
void TEcnaRead::PrintNoComment | ( | ) |
Definition at line 4462 of file TEcnaRead.cc.
References fCodePrintNoComment, and fFlagPrint.
Referenced by TEcnaHistos::EvSamplesXtals(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::SigmaSamplesXtals(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::TEcnaHistos(), TEcnaHistos::ViewHistime(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), TEcnaHistos::ViewStin(), TEcnaHistos::XtalSamplesEv(), and TEcnaHistos::XtalSamplesSigma().
void TEcnaRead::PrintWarnings | ( | ) |
Definition at line 4446 of file TEcnaRead.cc.
References gather_cfg::cout, fCodePrintWarnings, and fFlagPrint.
TVectorD TEcnaRead::Read1DHisto | ( | const Int_t & | VecDim, |
const TString & | UserQuantity, | ||
const Int_t & | n1StexStin, | ||
const Int_t & | i0StinEcha, | ||
const Int_t & | n1Sample | ||
) |
Definition at line 313 of file TEcnaRead.cc.
References TEcnaParHistos::BuildStandard1DHistoCodeY(), gather_cfg::cout, fCnaParHistos, fFileHeader, TEcnaHeader::fReqNbOfEvts, fTTBELL, i, and ReadSampleAdcValues().
TVectorD TEcnaRead::Read1DHisto | ( | const Int_t & | VecDim, |
const TString & | UserQuantity, | ||
const Int_t & | n1StexStin | ||
) |
Definition at line 349 of file TEcnaRead.cc.
References TEcnaParHistos::BuildStandard1DHistoCodeY(), gather_cfg::cout, fCnaParHistos, fEcal, fTTBELL, i, TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxSampADC(), ReadSampleMeans(), and ReadSampleSigmas().
TVectorD TEcnaRead::Read1DHisto | ( | const Int_t & | VecDim, |
const TString & | UserQuantity, | ||
const TString & | UserDetector | ||
) |
Definition at line 383 of file TEcnaRead.cc.
References TEcnaParHistos::BuildStandard1DHistoCodeY(), TEcnaParHistos::BuildStandardDetectorCode(), gather_cfg::cout, fCnaParHistos, fEcal, fFileHeader, TEcnaHeader::fFirstReqEvtNumber, FileParameters(), TEcnaHeader::fLastReqEvtNumber, TEcnaHeader::fNbOfSamples, fPathRoot, TEcnaHeader::fReqNbOfEvts, TEcnaHeader::fRunNumber, TEcnaHeader::fStartDate, TEcnaHeader::fStopDate, fTTBELL, TEcnaHeader::fTypAna, GetStartDate(), GetStartTime(), GetStopDate(), GetStopTime(), GetTechReadCode(), i, LookAtRootFile(), TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxStexInStas(), TEcnaParEcal::MaxStinEcnaInStas(), TEcnaParEcal::MaxStinEcnaInStex(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAverageNumberOfEvents(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadHighFrequencyNoise(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEvents(), ReadPedestals(), ReadSigmaOfCorrelationsBetweenSamples(), and ReadTotalNoise().
TVectorD TEcnaRead::ReadAverageHighFrequencyNoise | ( | const Int_t & | VecDim | ) |
Definition at line 2610 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvHfn, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAverageLowFrequencyNoise | ( | const Int_t & | VecDim | ) |
Definition at line 2527 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvLfn, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAverageMeanCorrelationsBetweenSamples | ( | const Int_t & | VecDim | ) |
Definition at line 2693 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvMeanCorss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAverageNumberOfEvents | ( | const Int_t & | VecDim | ) |
Definition at line 2296 of file TEcnaRead.cc.
References fEcal, fEcalNumbering, fFileHeader, TEcnaHeader::fStex, fStexName, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), i, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaNumbering::MaxCrysInStinEcna(), TEcnaParEcal::MaxStinEcnaInStex(), ReadNumberOfEvents(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAveragePedestals | ( | const Int_t & | VecDim | ) |
Definition at line 2361 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvPed, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAverageSigmaOfCorrelationsBetweenSamples | ( | const Int_t & | VecDim | ) |
Definition at line 2777 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvSigCorss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TVectorD TEcnaRead::ReadAverageTotalNoise | ( | const Int_t & | VecDim | ) |
Definition at line 2444 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAvTno, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by Read1DHisto(), TEcnaHistos::ViewHisto(), and TEcnaHistos::ViewStas().
TMatrixD TEcnaRead::ReadCorrelationsBetweenSamples | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | MatDim | ||
) |
Definition at line 2956 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypCorCss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), TEcnaHistos::ViewMatrix(), and TEcnaHistos::ViewStin().
TMatrixD TEcnaRead::ReadCovariancesBetweenSamples | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | MatDim | ||
) |
Definition at line 2867 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypCovCss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), TEcnaHistos::ViewMatrix(), and TEcnaHistos::ViewStin().
TMatrixD TEcnaRead::ReadHighFrequencyCorrelationsBetweenChannels | ( | const Int_t & | n1StexStin_a, |
const Int_t & | n1StexStin_b, | ||
const Int_t & | MatDim | ||
) |
Definition at line 3413 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHfCor, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetStinIndex(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), TEcnaHistos::StexHocoVecoLHFCorcc(), and TEcnaHistos::ViewMatrix().
TMatrixD TEcnaRead::ReadHighFrequencyCorrelationsBetweenChannels | ( | const Int_t & | MatDim | ) |
Definition at line 3840 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHfCor, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
TMatrixD TEcnaRead::ReadHighFrequencyCovariancesBetweenChannels | ( | const Int_t & | n1StexStin_a, |
const Int_t & | n1StexStin_b, | ||
const Int_t & | MatDim | ||
) |
Definition at line 3317 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHfCov, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetStinIndex(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), and TEcnaHistos::ViewMatrix().
TMatrixD TEcnaRead::ReadHighFrequencyCovariancesBetweenChannels | ( | const Int_t & | MatDim | ) |
Definition at line 3730 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHfCov, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
TMatrixD TEcnaRead::ReadHighFrequencyMeanCorrelationsBetweenStins | ( | const Int_t & | MatDim | ) |
Definition at line 4053 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHFccMoStins, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
Referenced by ReadMatrix(), and TEcnaHistos::ViewMatrix().
TVectorD TEcnaRead::ReadHighFrequencyNoise | ( | const Int_t & | VecDim | ) |
Definition at line 2130 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypHfn, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
TMatrixD TEcnaRead::ReadLowFrequencyCorrelationsBetweenChannels | ( | const Int_t & | n1StexStin_a, |
const Int_t & | n1StexStin_b, | ||
const Int_t & | MatDim | ||
) |
Definition at line 3221 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLfCor, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetStinIndex(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), TEcnaHistos::StexHocoVecoLHFCorcc(), and TEcnaHistos::ViewMatrix().
TMatrixD TEcnaRead::ReadLowFrequencyCorrelationsBetweenChannels | ( | const Int_t & | MatDim | ) |
Definition at line 3620 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLfCor, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
TMatrixD TEcnaRead::ReadLowFrequencyCovariancesBetweenChannels | ( | const Int_t & | n1StexStin_a, |
const Int_t & | n1StexStin_b, | ||
const Int_t & | MatDim | ||
) |
Definition at line 3125 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLfCov, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetStinIndex(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Referenced by ReadMatrix(), and TEcnaHistos::ViewMatrix().
TMatrixD TEcnaRead::ReadLowFrequencyCovariancesBetweenChannels | ( | const Int_t & | MatDim | ) |
Definition at line 3510 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLfCov, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
TMatrixD TEcnaRead::ReadLowFrequencyMeanCorrelationsBetweenStins | ( | const Int_t & | MatDim | ) |
Definition at line 3951 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLFccMoStins, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, j, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), ReadStinNumbers(), and TestArrayDimH2().
Referenced by ReadMatrix(), and TEcnaHistos::ViewMatrix().
TVectorD TEcnaRead::ReadLowFrequencyNoise | ( | const Int_t & | VecDim | ) |
Definition at line 2049 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypLfn, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
TMatrixD TEcnaRead::ReadMatrix | ( | const Int_t & | MatDim, |
const TString & | UserCorOrCov, | ||
const TString & | UserBetweenWhat, | ||
const Int_t & | nb_arg_1, | ||
const Int_t & | nb_arg_2 | ||
) |
Definition at line 501 of file TEcnaRead.cc.
References TEcnaParHistos::BuildStandardBetweenWhatCode(), TEcnaParHistos::BuildStandardCovOrCorCode(), gather_cfg::cout, fCnaParHistos, fTTBELL, i, j, ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadLowFrequencyCorrelationsBetweenChannels(), and ReadLowFrequencyCovariancesBetweenChannels().
TMatrixD TEcnaRead::ReadMatrix | ( | const Int_t & | MatDim, |
const TString & | UserCorOrCov, | ||
const TString & | UserBetweenWhat | ||
) |
Definition at line 556 of file TEcnaRead.cc.
References TEcnaParHistos::BuildStandardBetweenWhatCode(), TEcnaParHistos::BuildStandardCovOrCorCode(), gather_cfg::cout, fCnaParHistos, fTTBELL, i, j, ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), and ReadLowFrequencyMeanCorrelationsBetweenStins().
TVectorD TEcnaRead::ReadMeanCorrelationsBetweenSamples | ( | const Int_t & | VecDim | ) |
Definition at line 1968 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypMeanCorss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
TVectorD TEcnaRead::ReadNumberOfEvents | ( | const Int_t & | VecDim | ) |
Definition at line 1662 of file TEcnaRead.cc.
References fEcal, fEcalNumbering, fFileHeader, TEcnaHeader::fNbOfSamples, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), i, j, TEcnaParEcal::MaxCrysEcnaInStex(), TEcnaParEcal::MaxCrysInStin(), TEcnaParEcal::MaxStinEcnaInStex(), ReadNumberOfEventsForSamples(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), GetNumberOfEvents(), Read1DHisto(), ReadAverageNumberOfEvents(), and TEcnaHistos::ViewStex().
TMatrixD TEcnaRead::ReadNumberOfEventsForSamples | ( | const Int_t & | n1StexStin, |
const Int_t & | MatDimX, | ||
const Int_t & | MatDimY | ||
) |
Definition at line 1705 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypNbOfEvts, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, fLookAtRootFile, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetStinIndex(), GetTypeOfQuantity(), i, j, OpenRootFile(), and TEcnaRootFile::ReadElement().
Referenced by ReadNumberOfEvents(), and TEcnaRun::ReadSampleAdcValues().
TVectorD TEcnaRead::ReadPedestals | ( | const Int_t & | VecDim | ) |
Definition at line 1807 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypPed, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
TVectorD TEcnaRead::ReadRelevantCorrelationsBetweenSamples | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | InPutMatDim | ||
) |
Definition at line 3038 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypCorCss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatMat, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH2().
Bool_t TEcnaRead::ReadRootFileHeader | ( | const Int_t & | i_print | ) |
Definition at line 988 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, TEcnaHeader::fAdcEvtCalc, TEcnaHeader::fAvHfnCalc, TEcnaHeader::fAvLfnCalc, TEcnaHeader::fAvMeanCorssCalc, TEcnaHeader::fAvPedCalc, TEcnaHeader::fAvSigCorssCalc, TEcnaHeader::fAvTnoCalc, fCnaWrite, TEcnaHeader::fCorCssCalc, TEcnaHeader::fCovCssCalc, fCurrentlyOpenFileName, fFileHeader, fFlagNoFileOpen, TEcnaHeader::fHFccMoStinsCalc, TEcnaHeader::fHfCorCalc, TEcnaHeader::fHfCovCalc, cmsPerfSuiteHarvest::file_name, TEcnaHeader::fLFccMoStinsCalc, TEcnaHeader::fLfCorCalc, TEcnaHeader::fLfCovCalc, TEcnaHeader::fMeanCorssCalc, TEcnaHeader::fMSpCalc, TEcnaRootFile::fRootFile, TEcnaWrite::fRootFileNameShort, TEcnaHeader::fRunType, TEcnaHeader::fSigCorssCalc, TEcnaHeader::fSSpCalc, TEcnaHeader::fStartDate, TEcnaHeader::fStartTime, TEcnaHeader::fStinNumbersCalc, TEcnaHeader::fStopDate, TEcnaHeader::fStopTime, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), OpenRootFile(), and TEcnaHeader::Print().
Referenced by LookAtRootFile().
TVectorD TEcnaRead::ReadSampleAdcValues | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | sample, | ||
const Int_t & | VecDim | ||
) |
Definition at line 1248 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAdcEvt, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaHeader::fReqNbOfEvts, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), and Read1DHisto().
Double_t *** TEcnaRead::ReadSampleAdcValuesSameFile | ( | const Int_t & | DimX, |
const Int_t & | DimY, | ||
const Int_t & | DimZ | ||
) |
Definition at line 4162 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypAdcEvt, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCnew, fDataExist, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fT3d1_AdcValues, fT3d2_AdcValues, fT3d_AdcValues, fTTBELL, gCnaRootFile, GetTypeOfQuantity(), OpenRootFile(), TEcnaRootFile::ReadElement(), TEcnaRootFile::ReadElementNextEntryNumber(), and simplePhotonAnalyzer_cfi::sample.
Referenced by TEcnaRun::ReadSampleAdcValues().
TVectorD TEcnaRead::ReadSampleMeans | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | VecDim | ||
) |
Definition at line 1335 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypMSp, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::EvSamplesXtals(), TEcnaHistos::GetHistoValues(), Read1DHisto(), and TEcnaHistos::XtalSamplesEv().
TVectorD TEcnaRead::ReadSampleMeans | ( | const Int_t & | n1StexStin, |
const Int_t & | VecDim | ||
) |
Definition at line 1416 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypMSp, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
TVectorD TEcnaRead::ReadSampleSigmas | ( | const Int_t & | n1StexStin, |
const Int_t & | i0StinEcha, | ||
const Int_t & | VecDim | ||
) |
Definition at line 1507 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypSSp, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::SigmaSamplesXtals(), and TEcnaHistos::XtalSamplesSigma().
TVectorD TEcnaRead::ReadSampleSigmas | ( | const Int_t & | n1StexStin, |
const Int_t & | VecDim | ||
) |
Definition at line 1572 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypSSp, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fEcalNumbering, fFileHeader, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaHeader::fNbOfSamples, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha(), TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysInStin(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
TVectorD TEcnaRead::ReadSigmaOfCorrelationsBetweenSamples | ( | const Int_t & | VecDim | ) |
Definition at line 2211 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypSigCorss, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
TVectorD TEcnaRead::ReadStinNumbers | ( | const Int_t & | VecDim | ) |
Definition at line 1129 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypNumbers, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCodePrintAllComments, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, fFlagPrint, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, fMemoStinNumbers, TEcnaWrite::fRootFileNameShort, fT1d_StexStinFromIndex, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxStinEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetOkViewHisto(), GetStexStinFromIndex(), GetStinIndex(), LookAtRootFile(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), TEcnaRun::ReadSampleAdcValues(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaHistos::ViewMatrix(), and TEcnaHistos::ViewStin().
TVectorD TEcnaRead::ReadTotalNoise | ( | const Int_t & | VecDim | ) |
Definition at line 1889 of file TEcnaRead.cc.
References CloseRootFile(), gather_cfg::cout, cTypTno, TEcnaRootFile::fCnaIndivResult, fCnaWrite, fCurrentlyOpenFileName, fDataExist, fEcal, fFlagNoFileOpen, cmsPerfSuiteHarvest::file_name, TEcnaResultType::fMatHis, TEcnaWrite::fRootFileNameShort, fTTBELL, gCnaRootFile, TEcnaWrite::GetRootFileName(), GetTypeOfQuantity(), i, TEcnaParEcal::MaxCrysEcnaInStex(), OpenRootFile(), TEcnaRootFile::ReadElement(), and TestArrayDimH1().
Referenced by TEcnaHistos::GetHistoValues(), Read1DHisto(), TEcnaHistos::ViewHistime(), and TEcnaHistos::ViewStex().
void TEcnaRead::SetEcalSubDetector | ( | const TString & | SubDet | ) |
Definition at line 171 of file TEcnaRead.cc.
References fEcal, fFlagSubDet, fgMaxCar, fStexName, fStinName, and TEcnaParEcal::GetEcalSubDetector().
Referenced by TEcnaRead().
void TEcnaRead::TestArrayDimH1 | ( | const TString & | CallingMethod, |
const TString & | MaxName, | ||
const Int_t & | MaxValue, | ||
const Int_t & | VecDim | ||
) |
Definition at line 1076 of file TEcnaRead.cc.
References gather_cfg::cout, and fTTBELL.
Referenced by ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAverageNumberOfEvents(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadHighFrequencyNoise(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEvents(), ReadPedestals(), ReadSampleAdcValues(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
void TEcnaRead::TestArrayDimH2 | ( | const TString & | CallingMethod, |
const TString & | MaxName, | ||
const Int_t & | MaxValue, | ||
const Int_t & | MatDim | ||
) |
Definition at line 1100 of file TEcnaRead.cc.
References gather_cfg::cout, and fTTBELL.
Referenced by ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), and ReadRelevantCorrelationsBetweenSamples().
|
private |
Definition at line 363 of file TEcnaRead.h.
Referenced by Adelete(), fCopy(), GetNumberOfEvents(), Init(), and ~TEcnaRead().
|
private |
Definition at line 369 of file TEcnaRead.h.
Referenced by Init(), and TEcnaRead().
|
private |
Definition at line 375 of file TEcnaRead.h.
Referenced by Read1DHisto(), ReadMatrix(), and TEcnaRead().
|
private |
Definition at line 370 of file TEcnaRead.h.
Referenced by TEcnaRead().
|
private |
Definition at line 376 of file TEcnaRead.h.
Referenced by FileParameters(), GetNumberOfEvents(), GetRootFileName(), GetRootFileNameShort(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), ReadTotalNoise(), and TEcnaRead().
|
private |
Definition at line 362 of file TEcnaRead.h.
Referenced by Anew(), fCopy(), GetNumberOfEvents(), Init(), ReadSampleAdcValuesSameFile(), and ~TEcnaRead().
|
private |
Definition at line 402 of file TEcnaRead.h.
Referenced by CloseRootFile(), fCopy(), FileParameters(), GetStinIndex(), Init(), OpenRootFile(), PrintAllComments(), ReadStinNumbers(), and ~TEcnaRead().
|
private |
Definition at line 402 of file TEcnaRead.h.
Referenced by fCopy(), FileParameters(), Init(), PrintComments(), and ~TEcnaRead().
|
private |
Definition at line 402 of file TEcnaRead.h.
Referenced by fCopy(), Init(), and PrintNoComment().
|
private |
Definition at line 402 of file TEcnaRead.h.
Referenced by fCopy(), Init(), and PrintWarnings().
|
private |
Definition at line 384 of file TEcnaRead.h.
Referenced by CloseRootFile(), Init(), OpenRootFile(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
|
private |
Definition at line 406 of file TEcnaRead.h.
Referenced by DataExist(), Init(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
|
private |
Definition at line 373 of file TEcnaRead.h.
Referenced by GetNumberOfEvents(), GetStexStinFromIndex(), GetStinIndex(), LookAtRootFile(), Read1DHisto(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAverageNumberOfEvents(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEvents(), ReadPedestals(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), ReadTotalNoise(), SetEcalSubDetector(), and TEcnaRead().
|
private |
Definition at line 374 of file TEcnaRead.h.
Referenced by ReadAverageNumberOfEvents(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadNumberOfEvents(), ReadRelevantCorrelationsBetweenSamples(), ReadSampleAdcValues(), ReadSampleMeans(), ReadSampleSigmas(), and TEcnaRead().
|
private |
Definition at line 372 of file TEcnaRead.h.
Referenced by fCopy(), FileParameters(), GetAnalysisName(), GetFirstReqEvtNumber(), GetLastReqEvtNumber(), GetNbOfSamples(), GetReqNbOfEvts(), GetRunNumber(), GetRunType(), GetStartDate(), GetStartTime(), GetStexNumber(), GetStopDate(), GetStopTime(), LookAtRootFile(), Read1DHisto(), ReadAverageNumberOfEvents(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadNumberOfEvents(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleMeans(), ReadSampleSigmas(), and TEcnaRead().
|
private |
Definition at line 385 of file TEcnaRead.h.
Referenced by CloseRootFile(), Init(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), and ReadTotalNoise().
|
private |
Definition at line 401 of file TEcnaRead.h.
Referenced by CloseRootFile(), fCopy(), FileParameters(), GetStinIndex(), Init(), OpenRootFile(), PrintAllComments(), PrintComments(), PrintNoComment(), PrintWarnings(), ReadStinNumbers(), and ~TEcnaRead().
|
private |
Definition at line 380 of file TEcnaRead.h.
Referenced by GetTypeOfQuantity(), and SetEcalSubDetector().
|
private |
Definition at line 360 of file TEcnaRead.h.
Referenced by Init(), and SetEcalSubDetector().
|
private |
Definition at line 388 of file TEcnaRead.h.
Referenced by Init(), LookAtRootFile(), and ReadNumberOfEventsForSamples().
|
private |
Definition at line 392 of file TEcnaRead.h.
Referenced by FileParameters(), Init(), and ReadStinNumbers().
|
private |
Definition at line 398 of file TEcnaRead.h.
|
private |
Definition at line 399 of file TEcnaRead.h.
|
private |
Definition at line 367 of file TEcnaRead.h.
Referenced by FileParameters(), OpenRootFile(), and TEcnaRead().
|
private |
Definition at line 383 of file TEcnaRead.h.
Referenced by CloseRootFile(), fCopy(), Init(), and OpenRootFile().
|
private |
Definition at line 396 of file TEcnaRead.h.
Referenced by fCopy(), FileParameters(), Init(), OpenRootFile(), and Read1DHisto().
|
private |
Definition at line 387 of file TEcnaRead.h.
Referenced by CloseRootFile(), FileParameters(), Init(), and LookAtRootFile().
|
private |
Definition at line 381 of file TEcnaRead.h.
Referenced by ReadAverageNumberOfEvents(), and SetEcalSubDetector().
|
private |
Definition at line 381 of file TEcnaRead.h.
Referenced by SetEcalSubDetector().
|
private |
Definition at line 390 of file TEcnaRead.h.
Referenced by Init(), LookAtRootFile(), ReadStinNumbers(), and ~TEcnaRead().
|
private |
Definition at line 411 of file TEcnaRead.h.
Referenced by Init(), ReadSampleAdcValuesSameFile(), and ~TEcnaRead().
|
private |
Definition at line 410 of file TEcnaRead.h.
Referenced by Init(), ReadSampleAdcValuesSameFile(), and ~TEcnaRead().
|
private |
Definition at line 409 of file TEcnaRead.h.
Referenced by Init(), ReadSampleAdcValuesSameFile(), and ~TEcnaRead().
|
private |
Definition at line 391 of file TEcnaRead.h.
Referenced by fCopy(), Init(), LookAtRootFile(), and ~TEcnaRead().
|
private |
Definition at line 365 of file TEcnaRead.h.
Referenced by CloseRootFile(), GetStinIndex(), GetTechReadCode(), Init(), LookAtRootFile(), Read1DHisto(), ReadAverageHighFrequencyNoise(), ReadAverageLowFrequencyNoise(), ReadAverageMeanCorrelationsBetweenSamples(), ReadAveragePedestals(), ReadAverageSigmaOfCorrelationsBetweenSamples(), ReadAverageTotalNoise(), ReadCorrelationsBetweenSamples(), ReadCovariancesBetweenSamples(), ReadHighFrequencyCorrelationsBetweenChannels(), ReadHighFrequencyCovariancesBetweenChannels(), ReadHighFrequencyMeanCorrelationsBetweenStins(), ReadHighFrequencyNoise(), ReadLowFrequencyCorrelationsBetweenChannels(), ReadLowFrequencyCovariancesBetweenChannels(), ReadLowFrequencyMeanCorrelationsBetweenStins(), ReadLowFrequencyNoise(), ReadMatrix(), ReadMeanCorrelationsBetweenSamples(), ReadNumberOfEventsForSamples(), ReadPedestals(), ReadRelevantCorrelationsBetweenSamples(), ReadRootFileHeader(), ReadSampleAdcValues(), ReadSampleAdcValuesSameFile(), ReadSampleMeans(), ReadSampleSigmas(), ReadSigmaOfCorrelationsBetweenSamples(), ReadStinNumbers(), ReadTotalNoise(), TestArrayDimH1(), TestArrayDimH2(), and ~TEcnaRead().