CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
TEcnaRun Class Reference

#include <TEcnaRun.h>

Inheritance diagram for TEcnaRun:

Public Member Functions

void AverageHighFrequencyNoise ()
 
void AverageLowFrequencyNoise ()
 
void AverageMeanCorrelationsBetweenSamples ()
 
void AveragePedestals ()
 
void AverageSigmaOfCorrelationsBetweenSamples ()
 
void AverageTotalNoise ()
 
Bool_t CloseRootFile (const Text_t *)
 
void CorrelationsBetweenSamples ()
 
void CovariancesBetweenSamples ()
 
void Expert1Calculations ()
 
void Expert2Calculations ()
 
TString GetNewRootFileName ()
 
TString GetNewRootFileNameShort ()
 
Bool_t GetPathForResults ()
 
void GetReadyToCompute ()
 
void GetReadyToReadData (const TString &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &)
 
void GetReadyToReadData (const TString &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &)
 
TString GetRootFileName ()
 
TString GetRootFileNameShort ()
 
Bool_t GetSampleAdcValues (const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Double_t &)
 
void HighFrequencyCorrelationsBetweenChannels ()
 
void HighFrequencyCovariancesBetweenChannels ()
 
void HighFrequencyMeanCorrelationsBetweenSCs ()
 
void HighFrequencyMeanCorrelationsBetweenStins ()
 
void HighFrequencyMeanCorrelationsBetweenTowers ()
 
void HighFrequencyNoise ()
 
void Init ()
 
void LowFrequencyCorrelationsBetweenChannels ()
 
void LowFrequencyCovariancesBetweenChannels ()
 
void LowFrequencyMeanCorrelationsBetweenSCs ()
 
void LowFrequencyMeanCorrelationsBetweenStins ()
 
void LowFrequencyMeanCorrelationsBetweenTowers ()
 
void LowFrequencyNoise ()
 
void MeanCorrelationsBetweenSamples ()
 
Bool_t OpenRootFile (const Text_t *, const TString &)
 
void Pedestals ()
 
void PrintAllComments ()
 
void PrintComments ()
 
void PrintNoComment ()
 
void PrintWarnings ()
 
Bool_t ReadSampleAdcValues ()
 
Bool_t ReadSampleAdcValues (const Int_t &)
 
void SampleMeans ()
 
void SampleSigmas ()
 
void SampleValues ()
 
void SetEcalSubDetector (const TString &)
 
void SigmaOfCorrelationsBetweenSamples ()
 
void StandardCalculations ()
 
void StartStopDate (const TString &, const TString &)
 
void StartStopTime (time_t, time_t)
 
 TEcnaRun ()
 
 TEcnaRun (TEcnaObject *, const TString &)
 
 TEcnaRun (TEcnaObject *, const TString &, const Int_t &)
 
 TEcnaRun (const TEcnaRun &)
 
void TotalNoise ()
 
void TRootAdcEvt (const Int_t &, const Int_t &)
 
void TRootAvEvCorss ()
 
void TRootAvHfn ()
 
void TRootAvLfn ()
 
void TRootAvPed ()
 
void TRootAvSigCorss ()
 
void TRootAvTno ()
 
void TRootCorCss (const Int_t &, const Int_t &)
 
void TRootCovCss (const Int_t &, const Int_t &)
 
void TRootHFccMoStins ()
 
void TRootHfCor ()
 
void TRootHfCov ()
 
void TRootHfn ()
 
void TRootLFccMoStins ()
 
void TRootLfCor ()
 
void TRootLfCov ()
 
void TRootLfn ()
 
void TRootMeanCorss ()
 
void TRootMSp (const Int_t &)
 
void TRootNbOfEvts (const Int_t &)
 
void TRootPed ()
 
void TRootSigCorss ()
 
void TRootSSp (const Int_t &)
 
void TRootStinNumbers ()
 
void TRootTno ()
 
Bool_t WriteNewRootFile (const TString &)
 
Bool_t WriteRootFile ()
 
Bool_t WriteRootFile (const Text_t *, Int_t &)
 
virtual ~TEcnaRun ()
 

Private Attributes

Int_t fBuildEvtNotSkipped
 
Int_t fCdelete
 
Int_t fCnaCommand
 
Int_t fCnaError
 
TEcnaParCoutfCnaParCout
 
TEcnaParPathsfCnaParPaths
 
TEcnaWritefCnaWrite
 
Int_t fCnew
 
Int_t fCodePrintAllComments
 
Int_t fCodePrintComments
 
Int_t fCodePrintNoComment
 
Int_t fCodePrintWarnings
 
TEcnaParEcalfEcal
 
TEcnaNumberingfEcalNumbering
 
std::ofstream fFcout_f
 
TEcnaHeaderfFileHeader
 
Int_t fFlagPrint
 
TString fFlagSubDet
 
Int_t fgMaxCar
 
Int_t fMaxMsgIndexForMiscDiag
 
Int_t fMemoReadNumberOfEventsforSamples
 
Int_t * fMiscDiag
 
Int_t fNbOfMiscDiagCounters
 
Int_t fNbSampForCalc
 
Int_t fNbSampForFic
 
TString fNewRootFileName
 
TString fNewRootFileNameShort
 
Int_t fNumberOfEvents
 
TEcnaObjectfObjectManager
 
Bool_t fOpenRootFile
 
Int_t fReadyToReadData
 
TString fRootFileName
 
TString fRootFileNameShort
 
Int_t fSpecialStexStinNotIndexed
 
TString fStexName
 
Int_t fStinIndexBuilt
 
TString fStinName
 
Double_t * fT1d_av_ev_corss
 
Double_t * fT1d_av_hifn
 
Double_t * fT1d_av_lofn
 
Double_t * fT1d_av_mped
 
Double_t * fT1d_av_sig_corss
 
Double_t * fT1d_av_totn
 
Double_t * fT1d_ev
 
Double_t * fT1d_ev_cor_ss
 
Double_t * fT1d_ev_ev
 
Double_t * fT1d_evevt_of_sigsamp
 
Double_t * fT1d_evsamp_of_sigevt
 
Int_t * fT1d_NbOfEvts
 
Double_t * fT1d_sig
 
Double_t * fT1d_sig_cor_ss
 
Double_t * fT1d_sigevt_of_evsamp
 
Int_t * fT1d_StexStinFromIndex
 
Int_t * fT1dCrysNumbersTable
 
Double_t * fT2d1_hf_cor
 
Double_t * fT2d1_hf_cov
 
Double_t * fT2d1_hfcc_mostins
 
Double_t * fT2d1_lf_cor
 
Double_t * fT2d1_lf_cov
 
Double_t * fT2d1_lfcc_mostins
 
Double_t ** fT2d_ev
 
Double_t ** fT2d_hf_cor
 
Double_t ** fT2d_hf_cov
 
Double_t ** fT2d_hfcc_mostins
 
Double_t ** fT2d_lf_cor
 
Double_t ** fT2d_lf_cov
 
Double_t ** fT2d_lfcc_mostins
 
Int_t ** fT2d_NbOfEvts
 
Double_t ** fT2d_sig
 
Int_t ** fT2dCrysNumbersTable
 
Double_t * fT3d1_AdcValues
 
Double_t * fT3d1_cor_ss
 
Double_t * fT3d1_cov_ss
 
Double_t ** fT3d2_AdcValues
 
Double_t ** fT3d2_cor_ss
 
Double_t ** fT3d2_cov_ss
 
Double_t *** fT3d_AdcValues
 
Double_t *** fT3d_cor_ss
 
Double_t *** fT3d_cov_ss
 
Int_t * fTagAdcEvt
 
Int_t * fTagAvHfn
 
Int_t * fTagAvLfn
 
Int_t * fTagAvMeanCorss
 
Int_t * fTagAvPed
 
Int_t * fTagAvSigCorss
 
Int_t * fTagAvTno
 
Int_t * fTagCorCss
 
Int_t * fTagCovCss
 
Int_t * fTagHFccMoStins
 
Int_t * fTagHfCor
 
Int_t * fTagHfCov
 
Int_t * fTagHfn
 
Int_t * fTagLFccMoStins
 
Int_t * fTagLfCor
 
Int_t * fTagLfCov
 
Int_t * fTagLfn
 
Int_t * fTagMeanCorss
 
Int_t * fTagMSp
 
Int_t * fTagNbOfEvts
 
Int_t * fTagPed
 
Int_t * fTagSigCorss
 
Int_t * fTagSSp
 
Int_t * fTagStinNumbers
 
Int_t * fTagTno
 
TString fTTBELL
 

Detailed Description


TEcnaRun.h Update: 05/10/2012 Authors: B.Fabbro (berna.nosp@m.rd.f.nosp@m.abbro.nosp@m.@cea.nosp@m..fr), FX Gentit DSM/IRFU/SPP CEA-Saclay Copyright: Those valid for CEA sofware

ECNA web page: http://cms-fabbro.web.cern.ch/cms-fabbro/

cna_new/Correlated_Noise_Analysis/ECNA_main_page.htm

TEcnaRun + ECNA (Ecal Correlated Noise Analysis) instructions for use in the framework of CMSSW.

==============> INTRODUCTION

The present documentation contains:

[1] a brief description of the ECNA package with instructions for use
    in the framework of the CMS Software

[2] the documentation for the class TEcnaRun

==[1]=====================================================================================

     DOCUMENTATION FOR THE INTERFACE: ECNA package / CMSSW / SCRAM

==========================================================================================

ECNA consists in 2 packages named: EcalCorrelatedNoiseAnalysisModules and EcalCorrelatedNoiseAnalysisAlgos.

The directory tree is the following:

<local path>/CMSSW_a_b_c/src/----CalibCalorimetry/---EcalCorrelatedNoiseAnalysisModules/BuildFile
                        |   |                    |                                     |---interface/
                        |   |                    |                                     |---src/
                            |                    |                                     |---data/
                            |                    |
                            |                    |---EcalCorrelatedNoiseAnalysisAlgos/BuildFile
                            |                    |                                   |---interface/
                            |                    |                                   |---src/
                            |                    |                                   |---test/
                            |                    |
                            |                    |
                            |                    \--- <other packages of CalibCalorimetry> 
                            |
                            \----<other subsystems...>

The package EcalCorrelatedNoiseAnalysisModules contains one standard analyzer (EcnaAnalyzer). The user can edit its own analyzer. A detailed description is given here after in the class TEcnaRun documentation. The package EcalCorrelatedNoiseAnalysisAlgos contains the basic ECNA classes (in src and interface) and standalone executables (in directory test).

==[2]======================================================================================

                     CLASS TEcnaRun DOCUMENTATION

=========================================================================================== TEcnaRun.

Brief and general description

This class allows the user to calculate pedestals, noises, correlations and other quantities of interest for correlated noise studies on the CMS/ECAL (EB and EE).

Three main operations are performed by the class TEcnaRun. Each of them is associated with a specific method of the analyzer EcnaAnalyzer:

(1) Initialization and calls to "preparation methods". This task is done in the constructor of the analyzer: EcnaAnalyzer::EcnaAnalyzer(const edm::ParameterSet& pSet)

(2) Building of the event distributions (distributions of the sample ADC values for each sample, each channel, etc...) This task is done in the method "analyze" of the analyzer: EcnaAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)

(3) Calculation of the different quantities (correlations, pedestals, noises, etc...) from the distributions obtained in (2) and writing of these quantities in results ROOT files and also in ASCII files. This task is done in the destructor of the analyzer: EcnaAnalyzer::~EcnaAnalyzer()

Use of the class TEcnaRun by the analyzer EcnaAnalyzer

      see files EcnaAnalyzer.h and EcnaAnalyzer.cc
      in package EcalCorrelatedNoiseAnalysisModules

More detailled description of the class TEcnaRun

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

                 Declaration and Print Methods

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 Just after the declaration with the constructor,
 you can set a "Print Flag" by means of the following "Print Methods":

 TEcnaRun* MyCnaRun = new TEcnaRun(...); // declaration of the object MyCnaRun

// Print Methods:

MyCnaRun->PrintNoComment(); // Set flag to forbid printing of all the comments // except ERRORS.

MyCnaRun->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.

MyCnaRun->PrintComments(); // Set flag to authorize printing of infos // and some comments concerning initialisations

MyCnaRun->PrintAllComments(); // Set flag to authorize printing of all the comments

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

       Method GetReadyToReadData(...) and associated methods

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

  MyCnaRun->GetReadyToReadData(AnalysisName,      NbOfSamples,       RunNumber,
                          FirstReqEvtNumber, LastReqEvtNumber,  ReqNbOfEvts,
                               StexNumber,        [RunType]);

Explanations for the arguments (all of them are input 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)

The different quantities (correlations, etc...) will be calculated for ReqNbOfEvts events between event# FirstReqEvtNumber and event# LastReqEvtNumber. If LastReqEvtNumber = 0, the calculations will be performed from event# FirstReqEvtNumber until EOF if necessary (i.e. if the number of treated events is < ReqNbOfEvts)

Int_t RunType [optional]: run type

                PEDESTAL_STD =  9
                LASER_STD    =  4
                PEDESTAL_GAP = 18, etc...

(see CMSSSW/DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h)

if RunType is specified, the run type will be displayed on the plots

==============> Method to set the start and stop times of the analysis (optional)

A method can be used to set the fStartDate and fStopDate attributes of the class TEcnaHeader from start and stop time given by the user provided these values have been recovered from the event reading:

void  MyCnaRun->StartStopDate(const TString& StartDate, const TString& StopDate);

// TString StartDate, StopDate: start and stop time of the run // in "date" format. Example: // Wed Oct 8 04:14:23 2003

If the method is not called, the values of the attributes fStartDate and fStopDate are set to: "!Start date> no info" and "!Stop date> no info" at the level of Init() method of the class TEcnaHeader. The values of StartDate and StopDate are written in the header of the .root result file.

PS: another similar method exists, with time_t type arguments:

void MyCnaRun->StartStopTime(time_t StartTime, time_t StopTime);

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

                   Calculation methods

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

The "calculation methods" are methods which compute the different
quantities of interest. They use the ADC sample values which can be
recovered by the method void SampleValues():

void SampleValues(); // 3D histo of the sample ADC value // for each triple (channel,sample,event)

List of the calculation methods with associated formulae:

.......... Calculation methods ( need previous call to GetReadyToReadData(...) )

// A(t,c,s,e) : ADC value for Stin t channel c, sample s, event e (Stin = tower if EB, SC if EE)

// E_e , Cov_e : average, covariance over the events // E_s , Cov_s : average, covariance over the samples // E_s,s' : average over couples of samples (half correlation matrix)

// e* : random variable associated to events // s* : random variable associated to samples

void SampleMeans(); // Expectation values for each couple (channel,sample) // SMean(t,c,s) = E_e[A(t,c,s,e*)]

void SampleSigmas(); // Sigmas for each couple (channel,sample) // SSigma(t,c,s) = sqrt{ Cov_e[A(t,c,s,e*),A(t,c,s,e*)] }

//........................................... void CovariancesBetweenSamples(); // (s,s') covariances for each channel // Cov(t,c;s,s') = Cov_e[ A(t,c,s,e*) , A(t,c,s',e*) ] // = E_e[ ( A(t,c,s,e*) - E_e[A(t,c,s,e*)] )*( A(t,c,s',e*) - E_e[A(t,c,s',e*)] ) ]

void CorrelationsBetweenSamples(); // (s,s') correlations for each channel // Cor(t,c;s,s') = Cov(t,c;s,s')/sqrt{ Cov(t,c;s,s)*Cov(t,c;s',s') }

//.............................................. *==> Stin = tower if EB, SuperCrystal if EE void LowFrequencyCovariancesBetweenChannels(); // LF (t;c,c') covariances for each Stin void HighFrequencyCovariancesBetweenChannels(); // HF (t;c,c') covariances for each Stin void LowFrequencyCorrelationsBetweenChannels(); // LF (t;c,c') correlations for each Stin void HighFrequencyCorrelationsBetweenChannels(); // HF (t;c,c') correlations for each Stin

// LFCov(t;c,c') = Cov_e[ E_s[A(t,c,s*,e*)] , E_s[A(t,c',s*,e*) ] // // = E_e[ ( E_s[A(t,c ,s*,e*)] - E_e[ E_s[A(t,c ,s*,e*)] ] )* // ( E_s[A(t,c',s*,e*)] - E_e[ E_s[A(t,c',s*,e*)] ] ) ] // // HFCov(t;c,c') = E_e[ Cov_s[ A(t,c,s*,e*) , A(t,c',s*,e*) ] ] // // = E_e[ E_s[ ( A(t,c ,s*,e*) - E_s[A(t,c ,s*,e*)] )* // ( A(t,c',s*,e*) - E_s[A(t,c',s*,e*)] ) ] ] // // LFCor(t;c,c') = LFCov(t;c,c')/sqrt{ LFCov(t;c,c)*LFCov(t;c',c') } // // HFCor(t;c,c') = HFCov(t;c,c')/sqrt{ HFCov(t;c,c)*HFCov(t;c',c') }

//.............................................. . *==> Stex = SM if EB, Dee if EE void LowFrequencyMeanCorrelationsBetweenTowers(); // LF (tow,tow') correlations for each SM void HighFrequencyMeanCorrelationsBetweenTowers(); // HF (tow,tow') correlations for each SM

void LowFrequencyMeanCorrelationsBetweenSCs(); // LF (sc,sc') correlations for each Dee void HighFrequencyMeanCorrelationsBetweenSCs(); // HF (sc,sc') correlations for each Dee

//.................................................... Quantities as a function of Xtal# void Pedestals(); void TotalNoise(); void LowFrequencyNoise(); void HighFrequencyNoise(); void MeanCorrelationsBetweenSamples(); void SigmaOfCorrelationsBetweenSamples();

// Pedestal(t,c) = E_e[ E_s[A(t,c,s*,e*)] ] // TotalNoise(t,c) = E_s[ sqrt{ E_e[ ( A(t,c,s*,e*) - E_e[A(t,c,s*,e*)] )^2 ] } ] // LowFqNoise(t,c) = sqrt{ E_e[ ( E_s[A(t,c,s*,e*)] - E_e[ E_s[A(t,c,s*,e*)] ] )^2 ] } // HighFqNoise(t,c) = E_e[ sqrt{ E_s[ (A(t,c,s*,e*) - E_s[A(t,c,s*,e*)] )^2 ] } ] // MeanCorss(t,c) = E_s,s'[ Cor(t,c;s,s') ] // SigmaCorss(t,c) = E_s,s'[ Cor(t,c;s,s') - E_s,s'[ Cor(t,c;s,s') ] ]

//............ Quantities as a function of tower# (EB) or SC# (EE), average over the Xtals void AveragePedestals(); void AverageTotalNoise(); void AverageLowFrequencyNoise(); void AverageHighFrequencyNoise(); void AverageMeanCorrelationsBetweenSamples(); void AverageSigmaOfCorrelationsBetweenSamples();

// t = tower if EB , SC if EE , c = channel (Xtal) // AveragePedestal(t) = E_c[Pedestal(t,c*)] // TotalNoise(t) = E_c[TotalNoise(t,c*)] // LowFqNoise(t) = E_c[LowFqNoise(t,c*)] // HighFqNoise(t) = E_c[HighFqNoise(t,c*)] // MeanCorss(t) = E_c[MeanCorss(t,c*)] // SigmaCorss(t) = E_c[SigmaCorss(t,c*)]

==============> RESULTS FILES

The calculation methods above provide results which can be used directly in the user's code. However, these results can also be written in results files by appropriate methods. The names of the results files are automaticaly generated.

It is also possible to write results in ASCII files => See TEcnaWrite and TEcnaGui It is also possible to plot results in ROOT canvases => See TEcnaHistos and TEcnaGui

*--------—> Codification for the name of the ROOT file:

The name of the ROOT file is the following:

 aaa_S1_sss_Rrrr_fff_lll_SMnnn.root     for EB
 aaa_S1_sss_Rrrr_fff_lll_Deennn.root    for EE

with: aaa = Analysis name sss = number of samples rrr = Run number fff = First requested event number lll = Last requested events mmm = Requested number of events nnn = SM number or Dee number

This name is automatically generated from the values of the arguments of the method "GetReadyToReadData".

*--------—> Method which writes the results in the ROOT file:

  Bool_t  MyCnaRun->WriteRootFile();

===================================================================================================

Definition at line 363 of file TEcnaRun.h.

Constructor & Destructor Documentation

TEcnaRun::TEcnaRun ( )

Definition at line 19 of file TEcnaRun.cc.

TEcnaRun::TEcnaRun ( TEcnaObject pObjectManager,
const TString &  SubDet 
)

Definition at line 26 of file TEcnaRun.cc.

TEcnaRun::TEcnaRun ( TEcnaObject pObjectManager,
const TString &  SubDet,
const Int_t &  NbOfSamples 
)

Definition at line 77 of file TEcnaRun.cc.

TEcnaRun::TEcnaRun ( const TEcnaRun dcop)

Definition at line 300 of file TEcnaRun.cc.

TEcnaRun::~TEcnaRun ( )
virtual

Definition at line 329 of file TEcnaRun.cc.

Member Function Documentation

void TEcnaRun::AverageHighFrequencyNoise ( )

Definition at line 2135 of file TEcnaRun.cc.

void TEcnaRun::AverageLowFrequencyNoise ( )

Definition at line 2075 of file TEcnaRun.cc.

void TEcnaRun::AverageMeanCorrelationsBetweenSamples ( )

Definition at line 2195 of file TEcnaRun.cc.

void TEcnaRun::AveragePedestals ( )

Definition at line 1954 of file TEcnaRun.cc.

void TEcnaRun::AverageSigmaOfCorrelationsBetweenSamples ( )

Definition at line 2255 of file TEcnaRun.cc.

void TEcnaRun::AverageTotalNoise ( )

Definition at line 2015 of file TEcnaRun.cc.

Bool_t TEcnaRun::CloseRootFile ( const Text_t *  name)

Definition at line 2972 of file TEcnaRun.cc.

void TEcnaRun::CorrelationsBetweenSamples ( )

Definition at line 1509 of file TEcnaRun.cc.

void TEcnaRun::CovariancesBetweenSamples ( )

Definition at line 1449 of file TEcnaRun.cc.

void TEcnaRun::Expert1Calculations ( )

Definition at line 1299 of file TEcnaRun.cc.

void TEcnaRun::Expert2Calculations ( )

Definition at line 1307 of file TEcnaRun.cc.

TString TEcnaRun::GetNewRootFileName ( )

Definition at line 3103 of file TEcnaRun.cc.

TString TEcnaRun::GetNewRootFileNameShort ( )

Definition at line 3104 of file TEcnaRun.cc.

Bool_t TEcnaRun::GetPathForResults ( )

Definition at line 134 of file TEcnaRun.cc.

void TEcnaRun::GetReadyToCompute ( )

Definition at line 1219 of file TEcnaRun.cc.

void TEcnaRun::GetReadyToReadData ( const TString &  typ_ana,
const Int_t &  run_number,
const Int_t &  nfirst,
const Int_t &  nlast,
const Int_t &  nbevts,
const Int_t &  Stex 
)

Definition at line 507 of file TEcnaRun.cc.

void TEcnaRun::GetReadyToReadData ( const TString &  typ_ana,
const Int_t &  run_number,
const Int_t &  nfirst,
const Int_t &  nlast,
const Int_t &  nbevts,
const Int_t &  Stex,
const Int_t &  run_type 
)

Definition at line 518 of file TEcnaRun.cc.

TString TEcnaRun::GetRootFileName ( )

Definition at line 1185 of file TEcnaRun.cc.

TString TEcnaRun::GetRootFileNameShort ( )

Definition at line 1186 of file TEcnaRun.cc.

Bool_t TEcnaRun::GetSampleAdcValues ( const Int_t &  n1EventNumber,
const Int_t &  n1StexStin,
const Int_t &  i0StinEcha,
const Int_t &  i0Sample,
const Double_t &  adcvalue 
)

Definition at line 838 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyCorrelationsBetweenChannels ( )

Definition at line 2640 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyCovariancesBetweenChannels ( )

Definition at line 2523 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyMeanCorrelationsBetweenSCs ( )

Definition at line 2821 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins ( )

Definition at line 2824 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyMeanCorrelationsBetweenTowers ( )

Definition at line 2819 of file TEcnaRun.cc.

void TEcnaRun::HighFrequencyNoise ( )

Definition at line 1751 of file TEcnaRun.cc.

void TEcnaRun::Init ( void  )

Definition at line 136 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyCorrelationsBetweenChannels ( )

Definition at line 2440 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyCovariancesBetweenChannels ( )

Definition at line 2335 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyMeanCorrelationsBetweenSCs ( )

Definition at line 2723 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins ( )

Definition at line 2726 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyMeanCorrelationsBetweenTowers ( )

Definition at line 2721 of file TEcnaRun.cc.

void TEcnaRun::LowFrequencyNoise ( )

Definition at line 1681 of file TEcnaRun.cc.

void TEcnaRun::MeanCorrelationsBetweenSamples ( )

Definition at line 1823 of file TEcnaRun.cc.

Bool_t TEcnaRun::OpenRootFile ( const Text_t *  name,
const TString &  status 
)

Definition at line 2929 of file TEcnaRun.cc.

void TEcnaRun::Pedestals ( )

Definition at line 1583 of file TEcnaRun.cc.

void TEcnaRun::PrintAllComments ( )

Definition at line 4544 of file TEcnaRun.cc.

void TEcnaRun::PrintComments ( )

Definition at line 4528 of file TEcnaRun.cc.

void TEcnaRun::PrintNoComment ( )

Definition at line 4552 of file TEcnaRun.cc.

void TEcnaRun::PrintWarnings ( )

Definition at line 4536 of file TEcnaRun.cc.

Bool_t TEcnaRun::ReadSampleAdcValues ( )

Definition at line 1057 of file TEcnaRun.cc.

Bool_t TEcnaRun::ReadSampleAdcValues ( const Int_t &  nb_samp_for_calc)

Definition at line 1059 of file TEcnaRun.cc.

void TEcnaRun::SampleMeans ( )

Definition at line 1329 of file TEcnaRun.cc.

void TEcnaRun::SampleSigmas ( )

Definition at line 1381 of file TEcnaRun.cc.

void TEcnaRun::SampleValues ( )

Definition at line 1257 of file TEcnaRun.cc.

void TEcnaRun::SetEcalSubDetector ( const TString &  SubDet)

Definition at line 275 of file TEcnaRun.cc.

void TEcnaRun::SigmaOfCorrelationsBetweenSamples ( )

Definition at line 1889 of file TEcnaRun.cc.

void TEcnaRun::StandardCalculations ( )

Definition at line 1278 of file TEcnaRun.cc.

void TEcnaRun::StartStopDate ( const TString &  c_startdate,
const TString &  c_stopdate 
)

Definition at line 1206 of file TEcnaRun.cc.

void TEcnaRun::StartStopTime ( time_t  t_startime,
time_t  t_stoptime 
)

Definition at line 1198 of file TEcnaRun.cc.

void TEcnaRun::TotalNoise ( )

Definition at line 1628 of file TEcnaRun.cc.

void TEcnaRun::TRootAdcEvt ( const Int_t &  user_StexEcha,
const Int_t &  argNbSampWrite 
)

Definition at line 4065 of file TEcnaRun.cc.

void TEcnaRun::TRootAvEvCorss ( )

Definition at line 4491 of file TEcnaRun.cc.

void TEcnaRun::TRootAvHfn ( )

Definition at line 4213 of file TEcnaRun.cc.

void TEcnaRun::TRootAvLfn ( )

Definition at line 4195 of file TEcnaRun.cc.

void TEcnaRun::TRootAvPed ( )

Definition at line 4472 of file TEcnaRun.cc.

void TEcnaRun::TRootAvSigCorss ( )

Definition at line 4510 of file TEcnaRun.cc.

void TEcnaRun::TRootAvTno ( )

Definition at line 4178 of file TEcnaRun.cc.

void TEcnaRun::TRootCorCss ( const Int_t &  user_StexEcha,
const Int_t &  argNbSampWrite 
)

Definition at line 4337 of file TEcnaRun.cc.

void TEcnaRun::TRootCovCss ( const Int_t &  user_StexEcha,
const Int_t &  argNbSampWrite 
)

Definition at line 4316 of file TEcnaRun.cc.

void TEcnaRun::TRootHFccMoStins ( )

Definition at line 4157 of file TEcnaRun.cc.

void TEcnaRun::TRootHfCor ( )

Definition at line 4294 of file TEcnaRun.cc.

void TEcnaRun::TRootHfCov ( )

Definition at line 4273 of file TEcnaRun.cc.

void TEcnaRun::TRootHfn ( )

Definition at line 4434 of file TEcnaRun.cc.

void TEcnaRun::TRootLFccMoStins ( )

Definition at line 4135 of file TEcnaRun.cc.

void TEcnaRun::TRootLfCor ( )

Definition at line 4252 of file TEcnaRun.cc.

void TEcnaRun::TRootLfCov ( )

Definition at line 4231 of file TEcnaRun.cc.

void TEcnaRun::TRootLfn ( )

Definition at line 4415 of file TEcnaRun.cc.

void TEcnaRun::TRootMeanCorss ( )

Definition at line 4396 of file TEcnaRun.cc.

void TEcnaRun::TRootMSp ( const Int_t &  argNbSampWrite)

Definition at line 4092 of file TEcnaRun.cc.

void TEcnaRun::TRootNbOfEvts ( const Int_t &  argNbSampWrite)

Definition at line 4044 of file TEcnaRun.cc.

void TEcnaRun::TRootPed ( )

Definition at line 4359 of file TEcnaRun.cc.

void TEcnaRun::TRootSigCorss ( )

Definition at line 4453 of file TEcnaRun.cc.

void TEcnaRun::TRootSSp ( const Int_t &  argNbSampWrite)

Definition at line 4113 of file TEcnaRun.cc.

void TEcnaRun::TRootStinNumbers ( )

Definition at line 4026 of file TEcnaRun.cc.

void TEcnaRun::TRootTno ( )

Definition at line 4377 of file TEcnaRun.cc.

Bool_t TEcnaRun::WriteNewRootFile ( const TString &  TypAna)

Definition at line 3070 of file TEcnaRun.cc.

Bool_t TEcnaRun::WriteRootFile ( )

Definition at line 3018 of file TEcnaRun.cc.

Bool_t TEcnaRun::WriteRootFile ( const Text_t *  name,
Int_t &  argNbSampWrite 
)

Definition at line 3111 of file TEcnaRun.cc.

Member Data Documentation

Int_t TEcnaRun::fBuildEvtNotSkipped
private

Definition at line 405 of file TEcnaRun.h.

Int_t TEcnaRun::fCdelete
private

Definition at line 374 of file TEcnaRun.h.

Int_t TEcnaRun::fCnaCommand
private

Definition at line 371 of file TEcnaRun.h.

Int_t TEcnaRun::fCnaError
private

Definition at line 371 of file TEcnaRun.h.

TEcnaParCout* TEcnaRun::fCnaParCout
private

Definition at line 386 of file TEcnaRun.h.

TEcnaParPaths* TEcnaRun::fCnaParPaths
private

Definition at line 387 of file TEcnaRun.h.

TEcnaWrite* TEcnaRun::fCnaWrite
private

Definition at line 388 of file TEcnaRun.h.

Int_t TEcnaRun::fCnew
private

Definition at line 373 of file TEcnaRun.h.

Int_t TEcnaRun::fCodePrintAllComments
private

Definition at line 510 of file TEcnaRun.h.

Int_t TEcnaRun::fCodePrintComments
private

Definition at line 510 of file TEcnaRun.h.

Int_t TEcnaRun::fCodePrintNoComment
private

Definition at line 510 of file TEcnaRun.h.

Int_t TEcnaRun::fCodePrintWarnings
private

Definition at line 510 of file TEcnaRun.h.

TEcnaParEcal* TEcnaRun::fEcal
private

Definition at line 384 of file TEcnaRun.h.

TEcnaNumbering* TEcnaRun::fEcalNumbering
private

Definition at line 385 of file TEcnaRun.h.

std::ofstream TEcnaRun::fFcout_f
private

Definition at line 507 of file TEcnaRun.h.

TEcnaHeader* TEcnaRun::fFileHeader
private

Definition at line 383 of file TEcnaRun.h.

Int_t TEcnaRun::fFlagPrint
private

Definition at line 509 of file TEcnaRun.h.

TString TEcnaRun::fFlagSubDet
private

Definition at line 392 of file TEcnaRun.h.

Int_t TEcnaRun::fgMaxCar
private

Definition at line 369 of file TEcnaRun.h.

Int_t TEcnaRun::fMaxMsgIndexForMiscDiag
private

Definition at line 380 of file TEcnaRun.h.

Int_t TEcnaRun::fMemoReadNumberOfEventsforSamples
private

Definition at line 412 of file TEcnaRun.h.

Int_t* TEcnaRun::fMiscDiag
private

Definition at line 378 of file TEcnaRun.h.

Int_t TEcnaRun::fNbOfMiscDiagCounters
private

Definition at line 379 of file TEcnaRun.h.

Int_t TEcnaRun::fNbSampForCalc
private

Definition at line 408 of file TEcnaRun.h.

Int_t TEcnaRun::fNbSampForFic
private

Definition at line 407 of file TEcnaRun.h.

TString TEcnaRun::fNewRootFileName
private

Definition at line 400 of file TEcnaRun.h.

TString TEcnaRun::fNewRootFileNameShort
private

Definition at line 401 of file TEcnaRun.h.

Int_t TEcnaRun::fNumberOfEvents
private

Definition at line 410 of file TEcnaRun.h.

TEcnaObject* TEcnaRun::fObjectManager
private

Definition at line 382 of file TEcnaRun.h.

Bool_t TEcnaRun::fOpenRootFile
private

Definition at line 395 of file TEcnaRun.h.

Int_t TEcnaRun::fReadyToReadData
private

Definition at line 396 of file TEcnaRun.h.

TString TEcnaRun::fRootFileName
private

Definition at line 398 of file TEcnaRun.h.

TString TEcnaRun::fRootFileNameShort
private

Definition at line 399 of file TEcnaRun.h.

Int_t TEcnaRun::fSpecialStexStinNotIndexed
private

Definition at line 403 of file TEcnaRun.h.

TString TEcnaRun::fStexName
private

Definition at line 393 of file TEcnaRun.h.

Int_t TEcnaRun::fStinIndexBuilt
private

Definition at line 404 of file TEcnaRun.h.

TString TEcnaRun::fStinName
private

Definition at line 393 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_ev_corss
private

Definition at line 457 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_hifn
private

Definition at line 467 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_lofn
private

Definition at line 462 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_mped
private

Definition at line 447 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_sig_corss
private

Definition at line 472 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_av_totn
private

Definition at line 452 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_ev
private

Definition at line 427 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_ev_cor_ss
private

Definition at line 455 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_ev_ev
private

Definition at line 445 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_evevt_of_sigsamp
private

Definition at line 465 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_evsamp_of_sigevt
private

Definition at line 450 of file TEcnaRun.h.

Int_t* TEcnaRun::fT1d_NbOfEvts
private

Definition at line 420 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_sig
private

Definition at line 431 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_sig_cor_ss
private

Definition at line 470 of file TEcnaRun.h.

Double_t* TEcnaRun::fT1d_sigevt_of_evsamp
private

Definition at line 460 of file TEcnaRun.h.

Int_t* TEcnaRun::fT1d_StexStinFromIndex
private

Definition at line 423 of file TEcnaRun.h.

Int_t* TEcnaRun::fT1dCrysNumbersTable
private

Definition at line 505 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_hf_cor
private

Definition at line 490 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_hf_cov
private

Definition at line 486 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_hfcc_mostins
private

Definition at line 499 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_lf_cor
private

Definition at line 481 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_lf_cov
private

Definition at line 477 of file TEcnaRun.h.

Double_t* TEcnaRun::fT2d1_lfcc_mostins
private

Definition at line 495 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_ev
private

Definition at line 426 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_hf_cor
private

Definition at line 489 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_hf_cov
private

Definition at line 485 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_hfcc_mostins
private

Definition at line 498 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_lf_cor
private

Definition at line 480 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_lf_cov
private

Definition at line 476 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_lfcc_mostins
private

Definition at line 494 of file TEcnaRun.h.

Int_t** TEcnaRun::fT2d_NbOfEvts
private

Definition at line 419 of file TEcnaRun.h.

Double_t** TEcnaRun::fT2d_sig
private

Definition at line 430 of file TEcnaRun.h.

Int_t** TEcnaRun::fT2dCrysNumbersTable
private

Definition at line 504 of file TEcnaRun.h.

Double_t* TEcnaRun::fT3d1_AdcValues
private

Definition at line 416 of file TEcnaRun.h.

Double_t* TEcnaRun::fT3d1_cor_ss
private

Definition at line 441 of file TEcnaRun.h.

Double_t* TEcnaRun::fT3d1_cov_ss
private

Definition at line 436 of file TEcnaRun.h.

Double_t** TEcnaRun::fT3d2_AdcValues
private

Definition at line 415 of file TEcnaRun.h.

Double_t** TEcnaRun::fT3d2_cor_ss
private

Definition at line 440 of file TEcnaRun.h.

Double_t** TEcnaRun::fT3d2_cov_ss
private

Definition at line 435 of file TEcnaRun.h.

Double_t*** TEcnaRun::fT3d_AdcValues
private

Definition at line 414 of file TEcnaRun.h.

Double_t*** TEcnaRun::fT3d_cor_ss
private

Definition at line 439 of file TEcnaRun.h.

Double_t*** TEcnaRun::fT3d_cov_ss
private

Definition at line 434 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAdcEvt
private

Definition at line 417 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvHfn
private

Definition at line 468 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvLfn
private

Definition at line 463 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvMeanCorss
private

Definition at line 458 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvPed
private

Definition at line 448 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvSigCorss
private

Definition at line 473 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagAvTno
private

Definition at line 453 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagCorCss
private

Definition at line 442 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagCovCss
private

Definition at line 437 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagHFccMoStins
private

Definition at line 500 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagHfCor
private

Definition at line 491 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagHfCov
private

Definition at line 487 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagHfn
private

Definition at line 466 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagLFccMoStins
private

Definition at line 496 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagLfCor
private

Definition at line 482 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagLfCov
private

Definition at line 478 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagLfn
private

Definition at line 461 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagMeanCorss
private

Definition at line 456 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagMSp
private

Definition at line 428 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagNbOfEvts
private

Definition at line 421 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagPed
private

Definition at line 446 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagSigCorss
private

Definition at line 471 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagSSp
private

Definition at line 432 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagStinNumbers
private

Definition at line 424 of file TEcnaRun.h.

Int_t* TEcnaRun::fTagTno
private

Definition at line 451 of file TEcnaRun.h.

TString TEcnaRun::fTTBELL
private

Definition at line 376 of file TEcnaRun.h.