34 Long_t i_this = (Long_t)
this;
40 if( iCnaParCout == 0 )
48 if( iCnaParPaths == 0 )
62 const Text_t *h_name =
"CnaHeader";
63 const Text_t *h_title =
"CnaHeader";
67 Long_t iFileHeader = 0;
68 if( iFileHeader == 0 )
84 Long_t i_this = (Long_t)
this;
90 if( iCnaParCout == 0 )
98 if( iCnaParPaths == 0 )
107 const Text_t *h_name =
"CnaHeader";
108 const Text_t *h_title =
"CnaHeader";
112 Long_t iFileHeader = 0;
113 if( iFileHeader == 0 )
119 if( NbOfSamples>0 && NbOfSamples<=fEcal->MaxSampADC() )
125 cout <<
"TEcnaRun/CONSTRUCTOR> Number of required samples = " << NbOfSamples
126 <<
": OUT OF RANGE. Set to the default value (= " <<
fEcal->
MaxSampADC() <<
")."
299 cout <<
"*TEcnaRun::TEcnaRun(const TEcnaRun& dcop)> "
300 <<
" Now is the time to write a copy constructor"
332 cout <<
"*TEcnaRun::~TEcnaRun()> Entering destructor." << endl;
339 cout <<
"************************************************************************************* "
341 cout <<
"*TEcnaRun::~TEcnaRun()> Nb of calls to GetSampleAdcValues by cmsRun: "
343 cout <<
"************************************************************************************* "
350 Int_t misc_czero = 0;
355 cout <<
" fMiscDiag Counter "
356 << setw(3) <<
i <<
" = " << setw(9) <<
fMiscDiag[
i]
357 <<
" (INFO: alloc on non zero freed zone) " << endl;
364 cout <<
" Nb of fMiscDiag counters at zero: "
365 << misc_czero <<
" (total nb of counters: "
366 << fNbOfMiscDiagCounters <<
")" << endl;
470 cout <<
"!TEcnaRun::~TEcnaRun()> WRONG MANAGEMENT OF MEMORY ALLOCATIONS: fCnew = "
481 cout <<
"*TEcnaRun::~TEcnaRun()> Exiting destructor (this = " <<
this <<
")." << endl
482 <<
"~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#"
505 const Int_t& nfirst,
const Int_t&
nlast,
const Int_t& nbevts,
516 const Int_t& nfirst,
const Int_t&
nlast,
const Int_t& nbevts,
517 const Int_t& Stex,
const Int_t& run_type)
523 Int_t nrangeevts = nlast - nfirst + 1;
525 if( nrangeevts < nbevts )
527 if( nlast >= nfirst )
529 cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- WARNING ---> number of events = " << nbevts
530 <<
", out of range (range = " << nfirst <<
"," << nlast <<
")" << endl
531 <<
" The number of found events will be less " << endl
532 <<
" than the number of requested events." << endl;
536 cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- INFO ---> last requested event number = " << nlast
537 <<
", less than first requested event number (= " << nfirst <<
")" << endl
538 <<
" File will be read until EOF if the number of found events" << endl
539 <<
" remains less than the number of requested events." << endl;
549 Int_t nentries = 99999999;
550 if ( nfirst <= nentries )
557 if( nlast <= nentries )
559 const Text_t *h_name =
"CnaHeader";
560 const Text_t *h_title =
"CnaHeader";
571 run_number, nfirst, nlast, nbevts,
660 cout <<
"*TEcnaRun::GetReadyToReadData(...)> Allocation of 3D array for ADC distributions."
662 <<
" This number must not be too large"
663 <<
" (no failure after this message means alloc OK)." << endl;
728 cerr <<
"!TEcnaRun::GetReadyToReadData(...)> *** ERROR *** No allocation for fT2d_NbOfEvts!"
729 <<
" Pointer already not NULL " <<
fTTBELL << endl;
737 <<
"!TEcnaRun::GetReadyToReadData(...)> "
738 <<
" *** ERROR *** " << endl
739 <<
" --------------------------------------------------"
741 <<
" NULL or NEGATIVE values for arguments" << endl
742 <<
" with expected positive values:" << endl
745 <<
" Number of samples by channel = " <<
fNbSampForFic << endl
748 <<
" hence, no memory allocation for array member has been performed." << endl;
750 cout <<
"Enter: 0 and RETURN to continue or: CTRL C to exit";
757 cout <<
"*TEcnaRun::GetReadyToReadData(...)>" << endl
758 <<
" The method has been called with the following argument values:" << endl
759 <<
" Analysis name = "
765 <<
" First requested event number = "
767 <<
" Last requested event number = "
769 <<
" " <<
fStexName.Data() <<
" number = "
774 <<
" Number of crystals in " <<
fStinName.Data() <<
" = "
776 <<
" Number of samples by channel = "
785 cout <<
"!TEcnaRun::GetReadyToReadData(...) > WARNING/CORRECTION:" << endl
786 <<
"! The fisrt requested event number is not positive (nfirst = " << nfirst <<
") "
793 cout << endl <<
"!TEcnaRun::GetReadyToReadData(...)> WARNING/CORRECTION:" << endl
794 <<
"! The number of requested events (nbevts = " << nbevts <<
") is too large." << endl
795 <<
"! Last event number = " << nlast <<
" > number of entries = " << nentries <<
". "
801 cout <<
"!TEcnaRun::GetReadyToReadData(...) *** ERROR ***> "
802 <<
" The first requested event number is greater than the number of entries."
806 cout <<
"*TEcnaRun::GetReadyToReadData(...)> Leaving the method. fReadyToReadData = "
836 const Int_t& i0StinEcha,
const Int_t& i0Sample,
837 const Double_t& adcvalue)
843 Bool_t ret_code = kFALSE;
845 Int_t i0EventIndex = n1EventNumber - 1;
846 Int_t i0StexStinEcna = n1StexStin - 1;
852 if( n1StexStin>= 1 && n1StexStin <= fEcal->MaxStinEcnaInStex() )
854 if( i0StinEcha >= 0 && i0StinEcha < fEcal->MaxCrysInStin() )
856 if( i0Sample >= 0 && i0Sample < fEcal->MaxSampADC() )
880 cout << endl <<
"*TEcnaRun::GetSampleAdcValues(...)> event " << n1EventNumber
895 <<
" found), channel " << i0StinEcha <<
", i0Sample " << i0Sample << endl;
901 cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> NOT ALLOWED if RESULT. "
902 <<
" n1StexStin = " << n1StexStin <<
", fT1d_StexStinFromIndex["
903 << i0StexStinEcna <<
"] = "
914 cout <<
"!TEcnaRun, GetSampleAdcValues *** ERROR ***> "
916 <<
" fT1d_StexStinFromIndex[] ALLOCATION NOT DONE" <<
fTTBELL << endl;
926 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
927 <<
" sample number = " << i0Sample <<
". OUT OF BOUNDS"
940 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
941 <<
" channel number in " <<
fStinName.Data() <<
" = " << i0StinEcha <<
". OUT OF BOUNDS"
949 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
950 <<
fStinName.Data() <<
" number in " <<
fStexName.Data() <<
" = " << n1StexStin <<
". OUT OF BOUNDS"
962 if( ret_code == kTRUE )
979 if( i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex() )
987 if ( i0EventIndex >= 0 && i0EventIndex < fFileHeader->fReqNbOfEvts )
995 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
996 <<
" sample index = " << i0Sample <<
". OUT OF BOUNDS"
1003 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1004 <<
" event number = " << n1EventNumber <<
". OUT OF BOUNDS"
1012 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1013 <<
" CHANNEL NUMBER OUT OF BOUNDS" << endl
1014 <<
" i0StexEcha number = " << i0StexEcha
1015 <<
" , n1StexStin = " << n1StexStin
1016 <<
" , i0StinEcha = " << i0StinEcha
1025 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> ret_code = kFALSE "
1031 cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> GetReadyToReadData(...) not called."
1036 if (ret_code == kFALSE)
1038 cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> ret_code = " << ret_code
1039 <<
" (FALSE). Event: " << n1EventNumber
1041 <<
", " <<
fStinName.Data() <<
": " << n1StexStin
1042 <<
", channel: " << i0StinEcha
1043 <<
", Sample: " << i0Sample
1044 <<
", ADC value: " << adcvalue << endl;
1085 if ( ok_read == kTRUE )
1089 cout <<
"*TEcnaRun::ReadSampleAdcValues> Reading sample ADC values from file: " << endl
1092 size_t i_no_data = 0;
1117 if(n1StexStin != -1)
1131 {
fT2d_NbOfEvts[i0StexEcha][i0Sample] = (Int_t)partial_matrix(i0StinCrys,i0Sample);}
1142 Double_t*** fT3d_read_AdcValues =
1154 fT3d_read_AdcValues[i0StexEcha][i0Sample][i_event];}
1164 cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1165 <<
" Read failure. i_no_data = " << i_no_data <<
fTTBELL << endl;
1170 cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1171 <<
" ROOT file not found" <<
fTTBELL << endl;
1241 cout <<
"*TEcnaRun::GetReadyToCompute()> no data? fT2d_NbOfEvts = " <<
fT2d_NbOfEvts << endl;
1333 cout <<
" Calculation: sample expectation values over the events"
1334 <<
" for each channel." << endl;}
1342 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1350 if(
fT2d_ev[i0StexEcha][i0Sample] != (Double_t)0 )
1358 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1384 cout <<
" Calculation: sample ADC sigmas over the events "
1385 <<
" for each channel." << endl;}
1399 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
1407 if(
fT2d_sig[i0StexEcha][i0Sample] != (Double_t)0 )
1415 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1417 Double_t variance = (Double_t)0.;
1421 variance += ecart*ecart;
1452 cout <<
" Calculation: covariances between samples"
1453 <<
" for each channel." << endl;}
1462 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1464 for(Int_t
j = 0 ;
j < n_samp ;
j++){
1481 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1483 for (Int_t j0Sample = 0 ; j0Sample <= i0Sample; j0Sample++)
1485 fT3d_cov_ss[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1492 fT3d_cov_ss[j0StexEcha][i0Sample][j0Sample] /= (Double_t)fNumberOfEvents;
1520 cout <<
" Calculation: correlations between samples"
1521 <<
" for each channel." << endl;}
1530 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1532 for(Int_t
j = 0 ;
j < n_samp ;
j++){
1541 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1543 for (Int_t j0Sample = 0 ; j0Sample <= i0Sample ; j0Sample++)
1545 if( (
fT3d_cov_ss[j0StexEcha][i0Sample][i0Sample] > 0) &&
1546 (
fT3d_cov_ss[j0StexEcha][j0Sample][j0Sample] > 0) )
1553 (
fT3d_cor_ss)[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1598 cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1600 <<
" of the ADC expectation values (over the events)." << endl;}
1643 cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1645 <<
" of the ADC expectation values (over the events)." << endl;}
1651 if(
fT2d_sig[i0StexEcha][i0Sample] < 0)
1653 cout <<
"!TEcnaRun::TotalNoise() *** ERROR ***> Negative sigma!"
1700 cout <<
" Calculation, for each channel, of the sigma (over the events)" << endl
1701 <<
" of the ADC expectation values (over the samples 1 to "
1707 Double_t mean_over_events = (Double_t)0;
1711 mean_over_samples(n_event) = (Double_t)0.;
1714 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
1716 mean_over_samples(n_event) /= (Double_t)fNbSampForCalc;
1718 mean_over_events += mean_over_samples(n_event);
1720 mean_over_events /= (Double_t)fNumberOfEvents;
1723 Double_t var = (Double_t)0;
1726 Double_t ecart = mean_over_samples(n_event) - mean_over_events;
1729 var /= (Double_t)fNumberOfEvents;
1766 TVectorD sigma_over_samples(fNumberOfEvents);
1772 cout <<
" Calculation, for each channel, of the sigma (over the events)" << endl
1773 <<
" of the ADC expectation values (over the samples 1 to "
1782 mean_over_samples(n_event) = (Double_t)0.;
1784 {mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];}
1785 mean_over_samples(n_event) /= (Double_t)fNbSampForCalc;
1788 Double_t var_over_samples = (Double_t)0;
1790 {Double_t deviation =
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(n_event);
1791 var_over_samples += deviation*deviation;}
1792 var_over_samples /= (Double_t)fNbSampForCalc;
1794 if( var_over_samples < 0)
1795 {
cout <<
"!TEcnaRun::HighFrequencyNoise() *** ERROR ***> Negative variance! " <<
fTTBELL << endl;}
1797 {sigma_over_samples(n_event) =
sqrt(var_over_samples);}
1844 TVectorD half_cor_ss(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_cor_ss(
i)=(Double_t)0.;}
1849 cout <<
" Calculation, for all the channels, of the expectation values of the" << endl
1850 <<
" correlations between the first " <<
fNbSampForCalc <<
" samples." << endl;}
1858 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++)
1860 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
1866 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
1908 cout <<
" Calculation of the sigmas of the (sample,sample)" << endl
1909 <<
" correlations for all the channels." << endl;}
1915 TVectorD half_cor_ss(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_cor_ss(
i)=(Double_t)0.;}
1924 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++)
1926 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
1932 Double_t var = (Double_t)0;
1933 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
1935 Double_t ecart = half_cor_ss(i_rcor) -
fT1d_ev_cor_ss[i0StexEcha];
1938 var /= (Double_t)ndim;
1966 cout <<
" Calculation, for all the "
1967 <<
fStinName.Data() <<
"s, of the average Pedestals" << endl;}
1972 Int_t n1StexStinEcna = i0StexStinEcna+1;
1986 Int_t n1StinEcha = i0StinEcha+1;
1987 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
1989 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
1991 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
1995 Double_t xdivis = (Double_t)0.;
2027 cout <<
" Calculation, for all the "
2028 <<
fStinName.Data() <<
"s, of the average total Noise" << endl;}
2033 Int_t n1StexStinEcna = i0StexStinEcna+1;
2047 Int_t n1StinEcha = i0StinEcha+1;
2048 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2050 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2052 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2056 Double_t xdivis = (Double_t)0.;
2087 cout <<
" Calculation, for all the "
2088 <<
fStinName.Data() <<
"s, of the average Low Frequency Noise" << endl;}
2093 Int_t n1StexStinEcna = i0StexStinEcna+1;
2107 Int_t n1StinEcha = i0StinEcha+1;
2108 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2110 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2112 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2116 Double_t xdivis = (Double_t)0.;
2147 cout <<
" Calculation, for all the "
2148 <<
fStinName.Data() <<
"s, of the average High Frequency Noise" << endl;}
2153 Int_t n1StexStinEcna = i0StexStinEcna+1;
2167 Int_t n1StinEcha = i0StinEcha+1;
2168 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2170 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2172 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2176 Double_t xdivis = (Double_t)0.;
2207 cout <<
" Calculation, for all the "
2208 <<
fStinName.Data() <<
"s, of the average mean cor(s,s)" << endl;}
2213 Int_t n1StexStinEcna = i0StexStinEcna+1;
2227 Int_t n1StinEcha = i0StinEcha+1;
2228 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2230 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2232 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2236 Double_t xdivis = (Double_t)0.;
2267 cout <<
" Calculation, for all the "
2268 <<
fStinName.Data() <<
"s, of the average sigma of cor(s,s)" << endl;}
2273 Int_t n1StexStinEcna = i0StexStinEcna+1;
2287 Int_t n1StinEcha = i0StinEcha+1;
2288 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2290 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2292 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2296 Double_t xdivis = (Double_t)0.;
2338 cout <<
" Calculation of the Low Frequency Covariances between channels" << endl;}
2345 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2352 if(
fT2d_lf_cov[i0StexEcha][j0StexEcha] != (Double_t)0 )
2361 {mean_over_samples(i0StexEcha, n_event)=(Double_t)0.;}}
2365 { MoeOfMos(i0StexEcha)=(Double_t)0.;}
2369 cout <<
" Calculation, for each pair of channels, of the covariance (over the events)" << endl
2370 <<
" between the ADC expectation values (over the samples 1 to "
2377 MoeOfMos(i0StexEcha) = (Double_t)0;
2385 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2388 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2390 mean_over_samples(i0StexEcha, n_event) /= (Double_t)fNbSampForCalc;
2394 {MoeOfMos(i0StexEcha) += mean_over_samples(i0StexEcha, n_event);}
2395 MoeOfMos(i0StexEcha) /= (Double_t)fNumberOfEvents;
2405 for(Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++)
2410 fT2d_lf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2414 ( mean_over_samples(i0StexEcha, n_event) - MoeOfMos(i0StexEcha) )
2415 *( mean_over_samples(j0StexEcha, n_event) - MoeOfMos(j0StexEcha) );
2417 fT2d_lf_cov[i0StexEcha][j0StexEcha] /= (Double_t)fNumberOfEvents;
2422 if( i0StexEcha%100 == 0 ){
cout << i0StexEcha <<
"[LFN Cov], ";}
2447 cout <<
" Calculation of the Low Frequency Correlations between channels" << endl
2448 <<
" Starting allocation. "
2456 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2464 if(
fT2d_lf_cor[i0StexEcha][j0StexEcha] != (Double_t)0 )
2476 for (Int_t j0StexEcha = 0 ; j0StexEcha <= i0StexEcha ; j0StexEcha++)
2491 fT2d_lf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2497 if( i0StexEcha%100 == 0 ){
cout << i0StexEcha <<
"[LFN Cor], ";}
2526 cout <<
" Calculation of the High Frequency Covariances between channels" << endl;}
2533 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2541 if(
fT2d_hf_cov[i0StexEcha][j0StexEcha] != (Double_t)0 )
2550 {mean_over_samples(i0StexEcha, n_event)=(Double_t)0.;}}
2555 {cov_over_samp(i0StexEcha, j0StexEcha)=(Double_t)0.;}}
2559 cout <<
" Calculation of the mean (over the events)" << endl
2560 <<
" of the covariances between the channels (over the samples 1 to "
2573 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2575 {mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];}
2576 mean_over_samples(i0StexEcha, n_event) /= (Double_t)fNbSampForCalc;
2579 if( i0StexEcha%100 == 0 ){
cout << i0StexEcha <<
"[HFNa Cov], ";}
2591 for(Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++)
2599 cov_over_samp(i0StexEcha,j0StexEcha) = (Double_t)0;
2602 cov_over_samp(i0StexEcha,j0StexEcha) +=
2603 (
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(i0StexEcha, n_event) )*
2604 (
fT3d_AdcValues[j0StexEcha][i0Sample][n_event] - mean_over_samples(j0StexEcha, n_event) );
2606 cov_over_samp(i0StexEcha,j0StexEcha) /= (Double_t)fNbSampForCalc;
2611 fT2d_hf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2614 fT2d_hf_cov[i0StexEcha][j0StexEcha] += cov_over_samp(i0StexEcha,j0StexEcha);
2616 fT2d_hf_cov[i0StexEcha][j0StexEcha] /= (Double_t)fNumberOfEvents;
2622 if( i0StexEcha%100 == 0 ){
cout << i0StexEcha <<
"[HFNb Cov], ";}
2647 cout <<
" Calculation of the High Frequency Correlations between channels" << endl
2648 <<
" Starting allocation. "
2656 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2664 if(
fT2d_hf_cor[i0StexEcha][j0StexEcha] != (Double_t)0 )
2677 for (Int_t j0StexEcha = 0 ; j0StexEcha <= i0StexEcha ; j0StexEcha++)
2692 fT2d_hf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2699 if( i0StexEcha%100 == 0 ){
cout << i0StexEcha <<
"[HFN Cor], ";}
2735 cout <<
" Calculation of the mean, for each "
2736 <<
fStinName.Data() <<
", of the" << endl
2737 <<
" Low Frequency Correlations between channels." << endl;}
2744 for(Int_t i0StexStinEcna = 0 ; i0StexStinEcna < n_Stin ; i0StexStinEcna++){
2768 TVectorD half_LFccMos(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_LFccMos(
i)=(Double_t)0.;}
2773 cout <<
" Calculation, for each "
2774 <<
fStinName.Data() <<
", of the mean " << endl
2775 <<
" Low Frequency cor(c,c)." << endl;}
2789 if( (i0StexEcha>= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
2790 (j0StexEcha>= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex()) )
2791 {half_LFccMos(i_count) =
fT2d_lf_cor[i0StexEcha][j0StexEcha]; i_count++;}
2793 {
cout <<
"!TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
2794 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << endl; }
2799 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
2801 fT2d_lfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_LFccMos(i_rcor));
2805 if( i0StexStinEcna%10 == 0 ){
cout << i0StexStinEcna <<
"[LFN MCtt], ";}
2833 cout <<
" Calculation of the mean, for each "
2835 <<
" High Frequency Correlations between channels." << endl;}
2842 for(Int_t i0StexStinEcna = 0 ; i0StexStinEcna < n_Stin ; i0StexStinEcna++){
2866 TVectorD half_HFccMos(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_HFccMos(
i)=(Double_t)0.;}
2870 cout <<
" Calculation, for each "
2872 <<
" High Frequency cor(c,c)." << endl;}
2887 if( (i0StexEcha>= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
2888 (j0StexEcha>= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex()) )
2889 {half_HFccMos(i_count) =
fT2d_hf_cor[i0StexEcha][j0StexEcha]; i_count++;}
2891 {
cout <<
"!TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
2892 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << endl; }
2897 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
2899 fT2d_hfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_HFccMos(i_rcor));
2903 if( i0StexStinEcna%10 == 0 ){
cout << i0StexStinEcna <<
"[HFN MCtt], ";}
2929 Bool_t ok_open = kFALSE;
2934 s_name.Append(name);
2939 if( iCnaRootFile == 0 )
2954 cout <<
"TEcnaRun::OpenRootFile> Cannot open file " << s_name.Data() << endl;
2959 {
cout <<
"*TEcnaRun::OpenRootFile> Open ROOT file OK for file " << s_name.Data() << endl;}
2975 s_name.Append(name);
2977 Bool_t ok_close = kFALSE;
2984 cout <<
"*TEcnaRun::CloseRootFile> ROOT file " << s_name.Data() <<
" closed." << endl;}
2993 cout <<
"*TEcnaRun::CloseRootFile(...)> No close since no file is open."
3020 Bool_t ok_write = kFALSE;
3023 Int_t nCountEvts = 0;
3029 if ( nCountEvts <= 0 )
3033 <<
". File will not be written." << endl;
3039 cout <<
"*TEcnaRun::WriteRootFile()> Results are going to be written in the ROOT file: " << endl
3045 if( ok_write == kTRUE )
3071 Bool_t ok_write = kFALSE;
3086 cout <<
"*TEcnaRun::WriteNewRootFile()> Results are going to be written in the ROOT file: " << endl
3114 Bool_t ok_write = kFALSE;
3118 cout <<
"!TEcnaRun::WriteRootFile(...) *** ERROR ***> Writing on file already open."
3170 TString typ_name =
"?";
3171 Int_t v_nb_times = 0;
3172 Int_t v_dim_one = 0;
3173 Int_t v_dim_two = 0;
3176 Int_t v_tot_writ = 0;
3190 typ_name.Resize(MaxCar);
3191 typ_name =
"StinNumbers";
3195 v_size = v_nb_times*v_dim_one*v_dim_two;
3199 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3200 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3201 << setw(9) << v_size;}
3203 for (Int_t
i = 0;
i < v_nb_times;
i++)
3222 typ_name.Resize(MaxCar);
3227 v_size = v_nb_times*v_dim_one*v_dim_two;
3231 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3232 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3233 << setw(9) << v_size;}
3235 for (Int_t
i = 0;
i < v_nb_times;
i++)
3254 typ_name.Resize(MaxCar);
3259 v_size = v_nb_times*v_dim_one*v_dim_two;
3263 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3264 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3265 << setw(9) << v_size;}
3267 for (Int_t
i = 0;
i < v_nb_times;
i++)
3286 typ_name.Resize(MaxCar);
3291 v_size = v_nb_times*v_dim_one*v_dim_two;
3295 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3296 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3297 << setw(9) << v_size;}
3299 for (Int_t
i = 0;
i < v_nb_times;
i++)
3318 typ_name.Resize(MaxCar);
3323 v_size = v_nb_times*v_dim_one*v_dim_two;
3327 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3328 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3329 << setw(9) << v_size;}
3331 for (Int_t
i = 0;
i < v_nb_times;
i++)
3350 typ_name.Resize(MaxCar);
3351 typ_name =
"AvMeanCorss";
3355 v_size = v_nb_times*v_dim_one*v_dim_two;
3359 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3360 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3361 << setw(9) << v_size;}
3363 for (Int_t
i = 0;
i < v_nb_times;
i++)
3382 typ_name.Resize(MaxCar);
3383 typ_name =
"AvSigCorss";
3387 v_size = v_nb_times*v_dim_one*v_dim_two;
3391 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3392 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3393 << setw(9) << v_size;}
3395 for (Int_t
i = 0;
i < v_nb_times;
i++)
3414 typ_name.Resize(MaxCar);
3419 v_size = v_nb_times*v_dim_one*v_dim_two;
3423 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3424 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3425 << setw(9) << v_size;}
3427 for (Int_t
i = 0;
i < v_nb_times;
i++)
3446 typ_name.Resize(MaxCar);
3451 v_size = v_nb_times*v_dim_one*v_dim_two;
3455 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3456 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3457 << setw(9) << v_size;}
3459 for (Int_t
i = 0;
i < v_nb_times;
i++)
3478 typ_name.Resize(MaxCar);
3479 typ_name =
"MeanCorss";
3483 v_size = v_nb_times*v_dim_one*v_dim_two;
3487 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3488 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3489 << setw(9) << v_size;}
3491 for (Int_t
i = 0;
i < v_nb_times;
i++)
3510 typ_name.Resize(MaxCar);
3515 v_size = v_nb_times*v_dim_one*v_dim_two;
3519 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3520 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3521 << setw(9) << v_size;}
3523 for (Int_t
i = 0;
i < v_nb_times;
i++)
3542 typ_name.Resize(MaxCar);
3547 v_size = v_nb_times*v_dim_one*v_dim_two;
3551 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3552 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3553 << setw(9) << v_size;}
3555 for (Int_t
i = 0;
i < v_nb_times;
i++)
3574 typ_name.Resize(MaxCar);
3575 typ_name =
"SigCorss";
3579 v_size = v_nb_times*v_dim_one*v_dim_two;
3583 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3584 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3585 << setw(9) << v_size;}
3587 for (Int_t
i = 0;
i < v_nb_times;
i++)
3606 typ_name.Resize(MaxCar);
3607 typ_name =
"LFccMoStins";
3611 v_size = v_nb_times*v_dim_one*v_dim_two;
3615 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3616 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3617 << setw(9) << v_size;}
3619 for (Int_t
i = 0;
i < v_nb_times;
i++)
3638 typ_name.Resize(MaxCar);
3639 typ_name =
"HFccMoStins";
3643 v_size = v_nb_times*v_dim_one*v_dim_two;
3647 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3648 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3649 << setw(9) << v_size;}
3651 for (Int_t
i = 0;
i < v_nb_times;
i++)
3670 typ_name.Resize(MaxCar);
3671 typ_name =
"NbOfEvts";
3674 v_dim_two = argNbSampWrite;
3675 v_size = v_nb_times*v_dim_one*v_dim_two;
3679 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3680 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3681 << setw(9) << v_size;}
3683 for (Int_t
i = 0;
i < v_nb_times;
i++)
3702 typ_name.Resize(MaxCar);
3706 v_dim_two = argNbSampWrite;
3707 v_size = v_nb_times*v_dim_one*v_dim_two;
3711 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3712 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3713 << setw(9) << v_size;}
3715 for (Int_t
i = 0;
i < v_nb_times;
i++)
3734 typ_name.Resize(MaxCar);
3738 v_dim_two = argNbSampWrite;
3739 v_size = v_nb_times*v_dim_one*v_dim_two;
3743 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3744 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3745 << setw(9) << v_size;}
3747 for (Int_t
i = 0;
i < v_nb_times;
i++)
3767 typ_name.Resize(MaxCar);
3768 typ_name =
"CovCss";
3770 v_dim_one = argNbSampWrite;
3771 v_dim_two = argNbSampWrite;
3772 v_size = v_nb_times*v_dim_one*v_dim_two;
3776 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3777 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3778 << setw(9) << v_size;}
3780 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3791 {
cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3800 typ_name.Resize(MaxCar);
3801 typ_name =
"CorCss";
3803 v_dim_one = argNbSampWrite;
3804 v_dim_two = argNbSampWrite;
3805 v_size = v_nb_times*v_dim_one*v_dim_two;
3809 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3810 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3811 << setw(9) << v_size;}
3813 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3824 {
cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3833 typ_name.Resize(MaxCar);
3834 typ_name =
"AdcEvt";
3836 v_dim_one = argNbSampWrite;
3838 v_size = v_nb_times*v_dim_one*v_dim_two;
3842 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3843 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3844 << setw(9) << v_size;}
3846 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3857 {
cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3866 typ_name.Resize(MaxCar);
3871 v_size = v_nb_times*v_dim_one*v_dim_two;
3875 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3876 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3877 << setw(9) << v_size;}
3879 for (Int_t
i = 0;
i < v_nb_times;
i++)
3898 typ_name.Resize(MaxCar);
3903 v_size = v_nb_times*v_dim_one*v_dim_two;
3907 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3908 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3909 << setw(9) << v_size;}
3911 for (Int_t
i = 0;
i < v_nb_times;
i++)
3930 typ_name.Resize(MaxCar);
3935 v_size = v_nb_times*v_dim_one*v_dim_two;
3939 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3940 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3941 << setw(9) << v_size;}
3943 for (Int_t
i = 0;
i < v_nb_times;
i++)
3962 typ_name.Resize(MaxCar);
3967 v_size = v_nb_times*v_dim_one*v_dim_two;
3971 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(18) << typ_name <<
": " << setw(4) << v_nb_times
3972 <<
" * (" << setw(4) << v_dim_one <<
"," << setw(4) << v_dim_two <<
") = "
3973 << setw(9) << v_size;}
3975 for (Int_t
i = 0;
i < v_nb_times;
i++)
3998 cout <<
"*TEcnaRun::WriteRootFile(...)> " << setw(20) <<
"TOTAL: "
3999 << setw(21) <<
"CALCULATED = " << setw(9) << v_tot
4000 <<
" => WRITTEN ON FILE = " << setw(9) << v_tot_writ << endl;}
4003 cout <<
"*TEcnaRun::WriteRootFile(...)> Write OK in file " << file_name <<
" in directory:" << endl
4047 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4066 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4095 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4098 fT2d_ev[j0StexEcha][i0Sample];
4116 for (Int_t i0Sample=0; i0Sample<argNbSampWrite; i0Sample++)
4317 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4319 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++)
4338 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4340 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++)
4530 cout <<
"*TEcnaRun::PrintComments()> Warnings and some comments on init will be printed" << endl;
4538 cout <<
"*TEcnaRun::PrintWarnings()> Warnings will be printed" << endl;
4546 cout <<
"*TEcnaRun::PrintAllComments()> All the comments will be printed" << endl;
TEcnaResultType * fCnaIndivResult
void TRootAdcEvt(const Int_t &, const Int_t &)
Bool_t OpenR(const Text_t *="")
Double_t * fT1d_av_sig_corss
Int_t NumberOfEventsAnalysis(Int_t **, const Int_t &, const Int_t &, const Int_t &)
void LowFrequencyMeanCorrelationsBetweenSCs()
Int_t fCodePrintNoComment
void HighFrequencyMeanCorrelationsBetweenStins()
void Expert1Calculations()
Double_t * fT1d_sigevt_of_evsamp
void HighFrequencyMeanCorrelationsBetweenTowers()
Int_t fBuildEvtNotSkipped
void CovariancesBetweenSamples()
Bool_t OpenRootFile(const Text_t *, TString)
TEcnaObject * fObjectManager
TEcnaParCout * fCnaParCout
void FileParameters(TString, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, TString)
Int_t fCodePrintAllComments
void TRootSSp(const Int_t &)
Double_t * fT1d_sig_cor_ss
void SetEcalSubDetector(const TString)
TEcnaHeader * fFileHeader
void LowFrequencyMeanCorrelationsBetweenTowers()
void TRootCovCss(const Int_t &, const Int_t &)
TString GetRootFileNameShort()
Int_t * fT1dCrysNumbersTable
void Expert2Calculations()
Double_t * fT1d_av_ev_corss
void SetSizeHis(Int_t, Int_t)
Double_t ** fT2d_hfcc_mostins
Double_t * fT3d1_AdcValues
void SigmaOfCorrelationsBetweenSamples()
R__EXTERN TEcnaRootFile * gCnaRootFile
void RegisterFileParameters(const TString, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const TString, const TString, const time_t, const time_t)
Bool_t CloseRootFile(const Text_t *)
TString GetRootFileNameShort()
Long_t GetPointerValue(const TString)
void TRootMSp(const Int_t &)
Int_t GetCodePrint(const TString)
CnaResultTyp fTypOfCnaResult
TVectorD ReadStinNumbers(const Int_t &)
void AverageMeanCorrelationsBetweenSamples()
Double_t *** fT3d_AdcValues
void GetReadyToReadData(TString, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &)
Bool_t GetPathForResults()
void TRootCorCss(const Int_t &, const Int_t &)
Int_t GetStexStinFromIndex(const Int_t &)
void AverageLowFrequencyNoise()
TEcnaParPaths * fCnaParPaths
Bool_t ReadSampleAdcValues()
Int_t fMemoReadNumberOfEventsforSamples
Int_t fMaxMsgIndexForMiscDiag
Double_t * fT2d1_hfcc_mostins
Int_t fSpecialStexStinNotIndexed
void HighFrequencyCorrelationsBetweenChannels()
Bool_t WriteNewRootFile(const TString)
TString GetRootFileName()
Int_t StexEchaForCons(const Int_t &, const Int_t &)
void StandardCalculations()
Bool_t GetPathForResultsRootFiles()
TString GetRootFileName()
void AverageSigmaOfCorrelationsBetweenSamples()
Bool_t RegisterPointer(const TString, const Long_t &)
void LowFrequencyMeanCorrelationsBetweenStins()
Int_t MaxCrysInStinEcna(const Int_t &, const Int_t &, const TString)
Double_t * fT1d_evsamp_of_sigevt
TString GetNewRootFileNameShort()
Bool_t GetSampleAdcValues(const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Double_t &)
void SetSizeMat(Int_t, Int_t)
TMatrixD ReadNumberOfEventsForSamples(const Int_t &, const Int_t &, const Int_t &)
Double_t *** ReadSampleAdcValuesSameFile(const Int_t &, const Int_t &, const Int_t &)
void HighFrequencyMeanCorrelationsBetweenSCs()
void HighFrequencyCovariancesBetweenChannels()
void MeanCorrelationsBetweenSamples()
Double_t * fT2d1_lfcc_mostins
TString GetNewRootFileName()
TString fNewRootFileNameShort
TString ResultsRootFilePath()
Int_t MaxCrysEcnaInStex()
void TRootNbOfEvts(const Int_t &)
void HighFrequencyNoise()
void AverageHighFrequencyNoise()
Int_t Get0StexEchaFrom1StexStinAnd0StinEcha(const Int_t &, const Int_t &)
void LowFrequencyCovariancesBetweenChannels()
Double_t ** fT3d2_AdcValues
void ReStart(const Text_t *)
void LowFrequencyCorrelationsBetweenChannels()
Int_t MaxStinEcnaInStex()
TString GetRootFileNameShort()
void CorrelationsBetweenSamples()
void StartStopDate(TString, TString)
Bool_t OpenW(const Text_t *="")
void fMakeResultsFileName()
Int_t ** fT2dCrysNumbersTable
TString GetRootFileName()
Int_t fNbOfMiscDiagCounters
Int_t * fT1d_StexStinFromIndex
void StartStopTime(time_t, time_t)
Double_t * fT1d_evevt_of_sigsamp
TEcnaNumbering * fEcalNumbering
Double_t * fT1d_ev_cor_ss
TString fRootFileNameShort
Double_t ** fT2d_lfcc_mostins