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 std::cout <<
"TEcnaRun/CONSTRUCTOR> Number of required samples = " << NbOfSamples
126 <<
": OUT OF RANGE. Set to the default value (= " <<
fEcal->
MaxSampADC() <<
")."
302 std::cout <<
"*TEcnaRun::TEcnaRun(const TEcnaRun& dcop)> "
303 <<
" Now is the time to write a copy constructor"
335 std::cout <<
"*TEcnaRun::~TEcnaRun()> Entering destructor." << std::endl;
342 std::cout <<
"************************************************************************************* "
344 std::cout <<
"*TEcnaRun::~TEcnaRun()> Nb of calls to GetSampleAdcValues by cmsRun: "
346 std::cout <<
"************************************************************************************* "
353 Int_t misc_czero = 0;
359 << std::setw(3) <<
i <<
" = " << std::setw(9) <<
fMiscDiag[
i]
360 <<
" (INFO: alloc on non zero freed zone) " << std::endl;
367 std::cout <<
" Nb of fMiscDiag counters at zero: "
368 << misc_czero <<
" (total nb of counters: "
369 << fNbOfMiscDiagCounters <<
")" << std::endl;
473 std::cout <<
"!TEcnaRun::~TEcnaRun()> WRONG MANAGEMENT OF MEMORY ALLOCATIONS: fCnew = "
484 std::cout <<
"*TEcnaRun::~TEcnaRun()> Exiting destructor (this = " <<
this <<
")." << std::endl
485 <<
"~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#"
508 const Int_t& nfirst,
const Int_t&
nlast,
const Int_t& nbevts,
519 const Int_t& nfirst,
const Int_t&
nlast,
const Int_t& nbevts,
520 const Int_t& Stex,
const Int_t& run_type)
526 Int_t nrangeevts = nlast - nfirst + 1;
528 if( nrangeevts < nbevts )
530 if( nlast >= nfirst )
532 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- WARNING ---> number of events = " << nbevts
533 <<
", out of range (range = " << nfirst <<
"," << nlast <<
")" << std::endl
534 <<
" The number of found events will be less " << std::endl
535 <<
" than the number of requested events." << std::endl;
539 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- INFO ---> last requested event number = " << nlast
540 <<
", less than first requested event number (= " << nfirst <<
")" << std::endl
541 <<
" File will be read until EOF if the number of found events" << std::endl
542 <<
" remains less than the number of requested events." << std::endl;
552 Int_t nentries = 99999999;
553 if ( nfirst <= nentries )
560 if( nlast <= nentries )
562 const Text_t *h_name =
"CnaHeader";
563 const Text_t *h_title =
"CnaHeader";
574 run_number, nfirst, nlast, nbevts,
663 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> Allocation of 3D array for ADC distributions."
665 <<
" This number must not be too large"
666 <<
" (no failure after this message means alloc OK)." << std::endl;
731 std::cerr <<
"!TEcnaRun::GetReadyToReadData(...)> *** ERROR *** No allocation for fT2d_NbOfEvts!"
732 <<
" Pointer already not NULL " <<
fTTBELL << std::endl;
740 <<
"!TEcnaRun::GetReadyToReadData(...)> "
741 <<
" *** ERROR *** " << std::endl
742 <<
" --------------------------------------------------"
744 <<
" NULL or NEGATIVE values for arguments" << std::endl
745 <<
" with expected positive values:" << std::endl
748 <<
" Number of samples by channel = " <<
fNbSampForFic << std::endl
751 <<
" hence, no memory allocation for array member has been performed." << std::endl;
753 std::cout <<
"Enter: 0 and RETURN to continue or: CTRL C to exit";
760 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)>" << std::endl
761 <<
" The method has been called with the following argument values:" << std::endl
762 <<
" Analysis name = "
768 <<
" First requested event number = "
770 <<
" Last requested event number = "
772 <<
" " <<
fStexName.Data() <<
" number = "
777 <<
" Number of crystals in " <<
fStinName.Data() <<
" = "
779 <<
" Number of samples by channel = "
788 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) > WARNING/CORRECTION:" << std::endl
789 <<
"! The fisrt requested event number is not positive (nfirst = " << nfirst <<
") "
796 std::cout << std::endl <<
"!TEcnaRun::GetReadyToReadData(...)> WARNING/CORRECTION:" << std::endl
797 <<
"! The number of requested events (nbevts = " << nbevts <<
") is too large." << std::endl
798 <<
"! Last event number = " << nlast <<
" > number of entries = " << nentries <<
". "
799 <<
fTTBELL << std::endl << std::endl;}
804 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) *** ERROR ***> "
805 <<
" The first requested event number is greater than the number of entries."
809 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> Leaving the method. fReadyToReadData = "
839 const Int_t& i0StinEcha,
const Int_t& i0Sample,
840 const Double_t& adcvalue)
846 Bool_t ret_code = kFALSE;
848 Int_t i0EventIndex = n1EventNumber - 1;
849 Int_t i0StexStinEcna = n1StexStin - 1;
855 if( n1StexStin>= 1 && n1StexStin <= fEcal->MaxStinEcnaInStex() )
857 if( i0StinEcha >= 0 && i0StinEcha < fEcal->MaxCrysInStin() )
859 if( i0Sample >= 0 && i0Sample < fEcal->MaxSampADC() )
883 std::cout << std::endl <<
"*TEcnaRun::GetSampleAdcValues(...)> event " << n1EventNumber
898 <<
" found), channel " << i0StinEcha <<
", i0Sample " << i0Sample << std::endl;
904 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> NOT ALLOWED if RESULT. "
905 <<
" n1StexStin = " << n1StexStin <<
", fT1d_StexStinFromIndex["
906 << i0StexStinEcna <<
"] = "
917 std::cout <<
"!TEcnaRun, GetSampleAdcValues *** ERROR ***> "
919 <<
" fT1d_StexStinFromIndex[] ALLOCATION NOT DONE" <<
fTTBELL << std::endl;
929 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
930 <<
" sample number = " << i0Sample <<
". OUT OF BOUNDS"
943 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
944 <<
" channel number in " <<
fStinName.Data() <<
" = " << i0StinEcha <<
". OUT OF BOUNDS"
952 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
953 <<
fStinName.Data() <<
" number in " <<
fStexName.Data() <<
" = " << n1StexStin <<
". OUT OF BOUNDS"
965 if( ret_code == kTRUE )
982 if( i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex() )
990 if ( i0EventIndex >= 0 && i0EventIndex < fFileHeader->fReqNbOfEvts )
998 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
999 <<
" sample index = " << i0Sample <<
". OUT OF BOUNDS"
1006 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1007 <<
" event number = " << n1EventNumber <<
". OUT OF BOUNDS"
1015 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1016 <<
" CHANNEL NUMBER OUT OF BOUNDS" << std::endl
1017 <<
" i0StexEcha number = " << i0StexEcha
1018 <<
" , n1StexStin = " << n1StexStin
1019 <<
" , i0StinEcha = " << i0StinEcha
1028 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> ret_code = kFALSE "
1034 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> GetReadyToReadData(...) not called."
1039 if (ret_code == kFALSE)
1041 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> ret_code = " << ret_code
1042 <<
" (FALSE). Event: " << n1EventNumber
1044 <<
", " <<
fStinName.Data() <<
": " << n1StexStin
1045 <<
", channel: " << i0StinEcha
1046 <<
", Sample: " << i0Sample
1047 <<
", ADC value: " << adcvalue << std::endl;
1088 if ( ok_read == kTRUE )
1092 std::cout <<
"*TEcnaRun::ReadSampleAdcValues> Reading sample ADC values from file: " << std::endl
1095 size_t i_no_data = 0;
1120 if(n1StexStin != -1)
1134 {
fT2d_NbOfEvts[i0StexEcha][i0Sample] = (Int_t)partial_matrix(i0StinCrys,i0Sample);}
1145 Double_t*** fT3d_read_AdcValues =
1157 fT3d_read_AdcValues[i0StexEcha][i0Sample][i_event];}
1167 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1168 <<
" Read failure. i_no_data = " << i_no_data <<
fTTBELL << std::endl;
1173 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1174 <<
" ROOT file not found" <<
fTTBELL << std::endl;
1336 std::cout <<
" Calculation: sample expectation values over the events"
1337 <<
" for each channel." << std::endl;}
1345 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1353 if(
fT2d_ev[i0StexEcha][i0Sample] != (Double_t)0 )
1361 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1387 std::cout <<
" Calculation: sample ADC sigmas over the events "
1388 <<
" for each channel." << std::endl;}
1402 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
1410 if(
fT2d_sig[i0StexEcha][i0Sample] != (Double_t)0 )
1418 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1420 Double_t variance = (Double_t)0.;
1424 variance += ecart*ecart;
1455 std::cout <<
" Calculation: covariances between samples"
1456 <<
" for each channel." << std::endl;}
1465 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1467 for(Int_t
j = 0 ;
j < n_samp ;
j++){
1484 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1486 for (Int_t j0Sample = 0 ; j0Sample <= i0Sample; j0Sample++)
1488 fT3d_cov_ss[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1495 fT3d_cov_ss[j0StexEcha][i0Sample][j0Sample] /= (Double_t)fNumberOfEvents;
1523 std::cout <<
" Calculation: correlations between samples"
1524 <<
" for each channel." << std::endl;}
1533 for(Int_t
i = 0 ;
i < n_StexEcha ;
i++){
1535 for(Int_t
j = 0 ;
j < n_samp ;
j++){
1544 for (Int_t i0Sample = 0 ; i0Sample <
fNbSampForCalc ; i0Sample++)
1546 for (Int_t j0Sample = 0 ; j0Sample <= i0Sample ; j0Sample++)
1548 if( (
fT3d_cov_ss[j0StexEcha][i0Sample][i0Sample] > 0) &&
1549 (
fT3d_cov_ss[j0StexEcha][j0Sample][j0Sample] > 0) )
1556 (
fT3d_cor_ss)[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1601 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1603 <<
" of the ADC expectation values (over the events)." << std::endl;}
1646 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1648 <<
" of the ADC expectation values (over the events)." << std::endl;}
1654 if(
fT2d_sig[i0StexEcha][i0Sample] < 0)
1656 std::cout <<
"!TEcnaRun::TotalNoise() *** ERROR ***> Negative sigma!"
1703 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1704 <<
" of the ADC expectation values (over the samples 1 to "
1710 Double_t mean_over_events = (Double_t)0;
1714 mean_over_samples(n_event) = (Double_t)0.;
1717 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
1719 mean_over_samples(n_event) /= (Double_t)fNbSampForCalc;
1721 mean_over_events += mean_over_samples(n_event);
1723 mean_over_events /= (Double_t)fNumberOfEvents;
1726 Double_t
var = (Double_t)0;
1729 Double_t ecart = mean_over_samples(n_event) - mean_over_events;
1732 var /= (Double_t)fNumberOfEvents;
1769 TVectorD sigma_over_samples(fNumberOfEvents);
1775 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1776 <<
" of the ADC expectation values (over the samples 1 to "
1785 mean_over_samples(n_event) = (Double_t)0.;
1787 {mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];}
1788 mean_over_samples(n_event) /= (Double_t)fNbSampForCalc;
1791 Double_t var_over_samples = (Double_t)0;
1793 {Double_t deviation =
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(n_event);
1794 var_over_samples += deviation*deviation;}
1795 var_over_samples /= (Double_t)fNbSampForCalc;
1797 if( var_over_samples < 0)
1798 {
std::cout <<
"!TEcnaRun::HighFrequencyNoise() *** ERROR ***> Negative variance! " <<
fTTBELL << std::endl;}
1800 {sigma_over_samples(n_event) =
sqrt(var_over_samples);}
1847 TVectorD half_cor_ss(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_cor_ss(
i)=(Double_t)0.;}
1852 std::cout <<
" Calculation, for all the channels, of the expectation values of the" << std::endl
1853 <<
" correlations between the first " <<
fNbSampForCalc <<
" samples." << std::endl;}
1861 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++)
1863 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
1869 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
1911 std::cout <<
" Calculation of the sigmas of the (sample,sample)" << std::endl
1912 <<
" correlations for all the channels." << std::endl;}
1918 TVectorD half_cor_ss(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_cor_ss(
i)=(Double_t)0.;}
1927 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++)
1929 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
1935 Double_t
var = (Double_t)0;
1936 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
1938 Double_t ecart = half_cor_ss(i_rcor) -
fT1d_ev_cor_ss[i0StexEcha];
1941 var /= (Double_t)ndim;
1969 std::cout <<
" Calculation, for all the "
1970 <<
fStinName.Data() <<
"s, of the average Pedestals" << std::endl;}
1975 Int_t n1StexStinEcna = i0StexStinEcna+1;
1989 Int_t n1StinEcha = i0StinEcha+1;
1990 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
1992 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
1994 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
1998 Double_t xdivis = (Double_t)0.;
2030 std::cout <<
" Calculation, for all the "
2031 <<
fStinName.Data() <<
"s, of the average total Noise" << std::endl;}
2036 Int_t n1StexStinEcna = i0StexStinEcna+1;
2050 Int_t n1StinEcha = i0StinEcha+1;
2051 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2053 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2055 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2059 Double_t xdivis = (Double_t)0.;
2090 std::cout <<
" Calculation, for all the "
2091 <<
fStinName.Data() <<
"s, of the average Low Frequency Noise" << std::endl;}
2096 Int_t n1StexStinEcna = i0StexStinEcna+1;
2110 Int_t n1StinEcha = i0StinEcha+1;
2111 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2113 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2115 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2119 Double_t xdivis = (Double_t)0.;
2150 std::cout <<
" Calculation, for all the "
2151 <<
fStinName.Data() <<
"s, of the average High Frequency Noise" << std::endl;}
2156 Int_t n1StexStinEcna = i0StexStinEcna+1;
2170 Int_t n1StinEcha = i0StinEcha+1;
2171 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2173 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2175 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2179 Double_t xdivis = (Double_t)0.;
2210 std::cout <<
" Calculation, for all the "
2211 <<
fStinName.Data() <<
"s, of the average mean cor(s,s)" << std::endl;}
2216 Int_t n1StexStinEcna = i0StexStinEcna+1;
2230 Int_t n1StinEcha = i0StinEcha+1;
2231 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2233 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2235 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2239 Double_t xdivis = (Double_t)0.;
2270 std::cout <<
" Calculation, for all the "
2271 <<
fStinName.Data() <<
"s, of the average sigma of cor(s,s)" << std::endl;}
2276 Int_t n1StexStinEcna = i0StexStinEcna+1;
2290 Int_t n1StinEcha = i0StinEcha+1;
2291 if( n1StexStinEcna == 10 && n1StinEcha == 11 )
2293 if( n1StexStinEcna == 11 && n1StinEcha == 11 )
2295 if( !( (n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11 ) )
2299 Double_t xdivis = (Double_t)0.;
2341 std::cout <<
" Calculation of the Low Frequency Covariances between channels" << std::endl;}
2348 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2355 if(
fT2d_lf_cov[i0StexEcha][j0StexEcha] != (Double_t)0 )
2364 {mean_over_samples(i0StexEcha, n_event)=(Double_t)0.;}}
2368 { MoeOfMos(i0StexEcha)=(Double_t)0.;}
2372 std::cout <<
" Calculation, for each pair of channels, of the covariance (over the events)" << std::endl
2373 <<
" between the ADC expectation values (over the samples 1 to "
2380 MoeOfMos(i0StexEcha) = (Double_t)0;
2388 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2391 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2393 mean_over_samples(i0StexEcha, n_event) /= (Double_t)fNbSampForCalc;
2397 {MoeOfMos(i0StexEcha) += mean_over_samples(i0StexEcha, n_event);}
2398 MoeOfMos(i0StexEcha) /= (Double_t)fNumberOfEvents;
2408 for(Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++)
2413 fT2d_lf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2417 ( mean_over_samples(i0StexEcha, n_event) - MoeOfMos(i0StexEcha) )
2418 *( mean_over_samples(j0StexEcha, n_event) - MoeOfMos(j0StexEcha) );
2420 fT2d_lf_cov[i0StexEcha][j0StexEcha] /= (Double_t)fNumberOfEvents;
2425 if( i0StexEcha%100 == 0 ){
std::cout << i0StexEcha <<
"[LFN Cov], ";}
2450 std::cout <<
" Calculation of the Low Frequency Correlations between channels" << std::endl
2451 <<
" Starting allocation. "
2459 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2467 if(
fT2d_lf_cor[i0StexEcha][j0StexEcha] != (Double_t)0 )
2479 for (Int_t j0StexEcha = 0 ; j0StexEcha <= i0StexEcha ; j0StexEcha++)
2494 fT2d_lf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2500 if( i0StexEcha%100 == 0 ){
std::cout << i0StexEcha <<
"[LFN Cor], ";}
2529 std::cout <<
" Calculation of the High Frequency Covariances between channels" << std::endl;}
2536 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2544 if(
fT2d_hf_cov[i0StexEcha][j0StexEcha] != (Double_t)0 )
2553 {mean_over_samples(i0StexEcha, n_event)=(Double_t)0.;}}
2558 {cov_over_samp(i0StexEcha, j0StexEcha)=(Double_t)0.;}}
2562 std::cout <<
" Calculation of the mean (over the events)" << std::endl
2563 <<
" of the covariances between the channels (over the samples 1 to "
2576 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2578 {mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];}
2579 mean_over_samples(i0StexEcha, n_event) /= (Double_t)fNbSampForCalc;
2582 if( i0StexEcha%100 == 0 ){
std::cout << i0StexEcha <<
"[HFNa Cov], ";}
2594 for(Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++)
2602 cov_over_samp(i0StexEcha,j0StexEcha) = (Double_t)0;
2605 cov_over_samp(i0StexEcha,j0StexEcha) +=
2606 (
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(i0StexEcha, n_event) )*
2607 (
fT3d_AdcValues[j0StexEcha][i0Sample][n_event] - mean_over_samples(j0StexEcha, n_event) );
2609 cov_over_samp(i0StexEcha,j0StexEcha) /= (Double_t)fNbSampForCalc;
2614 fT2d_hf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2617 fT2d_hf_cov[i0StexEcha][j0StexEcha] += cov_over_samp(i0StexEcha,j0StexEcha);
2619 fT2d_hf_cov[i0StexEcha][j0StexEcha] /= (Double_t)fNumberOfEvents;
2625 if( i0StexEcha%100 == 0 ){
std::cout << i0StexEcha <<
"[HFNb Cov], ";}
2650 std::cout <<
" Calculation of the High Frequency Correlations between channels" << std::endl
2651 <<
" Starting allocation. "
2659 for(Int_t i0StexEcha = 0 ; i0StexEcha < n_StexEcha ; i0StexEcha++){
2667 if(
fT2d_hf_cor[i0StexEcha][j0StexEcha] != (Double_t)0 )
2680 for (Int_t j0StexEcha = 0 ; j0StexEcha <= i0StexEcha ; j0StexEcha++)
2695 fT2d_hf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2702 if( i0StexEcha%100 == 0 ){
std::cout << i0StexEcha <<
"[HFN Cor], ";}
2738 std::cout <<
" Calculation of the mean, for each "
2739 <<
fStinName.Data() <<
", of the" << std::endl
2740 <<
" Low Frequency Correlations between channels." << std::endl;}
2747 for(Int_t i0StexStinEcna = 0 ; i0StexStinEcna < n_Stin ; i0StexStinEcna++){
2771 TVectorD half_LFccMos(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_LFccMos(
i)=(Double_t)0.;}
2777 <<
fStinName.Data() <<
", of the mean " << std::endl
2778 <<
" Low Frequency cor(c,c)." << std::endl;}
2792 if( (i0StexEcha>= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
2793 (j0StexEcha>= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex()) )
2794 {half_LFccMos(i_count) =
fT2d_lf_cor[i0StexEcha][j0StexEcha]; i_count++;}
2796 {
std::cout <<
"!TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
2797 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl; }
2802 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
2804 fT2d_lfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_LFccMos(i_rcor));
2808 if( i0StexStinEcna%10 == 0 ){
std::cout << i0StexStinEcna <<
"[LFN MCtt], ";}
2836 std::cout <<
" Calculation of the mean, for each "
2838 <<
" High Frequency Correlations between channels." << std::endl;}
2845 for(Int_t i0StexStinEcna = 0 ; i0StexStinEcna < n_Stin ; i0StexStinEcna++){
2869 TVectorD half_HFccMos(ndim);
for(Int_t
i=0;
i<ndim;
i++){half_HFccMos(
i)=(Double_t)0.;}
2874 <<
fFlagSubDet.Data() <<
", of the mean " << std::endl
2875 <<
" High Frequency cor(c,c)." << std::endl;}
2890 if( (i0StexEcha>= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
2891 (j0StexEcha>= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex()) )
2892 {half_HFccMos(i_count) =
fT2d_hf_cor[i0StexEcha][j0StexEcha]; i_count++;}
2894 {
std::cout <<
"!TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
2895 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl; }
2900 for(Int_t i_rcor = 0; i_rcor < ndim; i_rcor++)
2902 fT2d_hfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_HFccMos(i_rcor));
2906 if( i0StexStinEcna%10 == 0 ){
std::cout << i0StexStinEcna <<
"[HFN MCtt], ";}
2932 Bool_t ok_open = kFALSE;
2937 s_name.Append(name);
2942 if( iCnaRootFile == 0 )
2957 std::cout <<
"TEcnaRun::OpenRootFile> Cannot open file " << s_name.Data() << std::endl;
2962 {
std::cout <<
"*TEcnaRun::OpenRootFile> Open ROOT file OK for file " << s_name.Data() << std::endl;}
2978 s_name.Append(name);
2980 Bool_t ok_close = kFALSE;
2987 std::cout <<
"*TEcnaRun::CloseRootFile> ROOT file " << s_name.Data() <<
" closed." << std::endl;}
2996 std::cout <<
"*TEcnaRun::CloseRootFile(...)> No close since no file is open."
3023 Bool_t ok_write = kFALSE;
3026 Int_t nCountEvts = 0;
3032 if ( nCountEvts <= 0 )
3036 <<
". File will not be written." << std::endl;
3042 std::cout <<
"*TEcnaRun::WriteRootFile()> Results are going to be written in the ROOT file: " << std::endl
3048 if( ok_write == kTRUE )
3074 Bool_t ok_write = kFALSE;
3089 std::cout <<
"*TEcnaRun::WriteNewRootFile()> Results are going to be written in the ROOT file: " << std::endl
3117 Bool_t ok_write = kFALSE;
3121 std::cout <<
"!TEcnaRun::WriteRootFile(...) *** ERROR ***> Writing on file already open."
3173 TString typ_name =
"?";
3174 Int_t v_nb_times = 0;
3175 Int_t v_dim_one = 0;
3176 Int_t v_dim_two = 0;
3179 Int_t v_tot_writ = 0;
3193 typ_name.Resize(MaxCar);
3194 typ_name =
"StinNumbers";
3198 v_size = v_nb_times*v_dim_one*v_dim_two;
3202 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3203 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3204 << std::setw(9) << v_size;}
3206 for (Int_t
i = 0;
i < v_nb_times;
i++)
3225 typ_name.Resize(MaxCar);
3230 v_size = v_nb_times*v_dim_one*v_dim_two;
3234 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3235 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3236 << std::setw(9) << v_size;}
3238 for (Int_t
i = 0;
i < v_nb_times;
i++)
3257 typ_name.Resize(MaxCar);
3262 v_size = v_nb_times*v_dim_one*v_dim_two;
3266 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3267 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3268 << std::setw(9) << v_size;}
3270 for (Int_t
i = 0;
i < v_nb_times;
i++)
3289 typ_name.Resize(MaxCar);
3294 v_size = v_nb_times*v_dim_one*v_dim_two;
3298 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3299 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3300 << std::setw(9) << v_size;}
3302 for (Int_t
i = 0;
i < v_nb_times;
i++)
3321 typ_name.Resize(MaxCar);
3326 v_size = v_nb_times*v_dim_one*v_dim_two;
3330 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3331 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3332 << std::setw(9) << v_size;}
3334 for (Int_t
i = 0;
i < v_nb_times;
i++)
3353 typ_name.Resize(MaxCar);
3354 typ_name =
"AvMeanCorss";
3358 v_size = v_nb_times*v_dim_one*v_dim_two;
3362 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3363 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3364 << std::setw(9) << v_size;}
3366 for (Int_t
i = 0;
i < v_nb_times;
i++)
3385 typ_name.Resize(MaxCar);
3386 typ_name =
"AvSigCorss";
3390 v_size = v_nb_times*v_dim_one*v_dim_two;
3394 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3395 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3396 << std::setw(9) << v_size;}
3398 for (Int_t
i = 0;
i < v_nb_times;
i++)
3417 typ_name.Resize(MaxCar);
3422 v_size = v_nb_times*v_dim_one*v_dim_two;
3426 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3427 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3428 << std::setw(9) << v_size;}
3430 for (Int_t
i = 0;
i < v_nb_times;
i++)
3449 typ_name.Resize(MaxCar);
3454 v_size = v_nb_times*v_dim_one*v_dim_two;
3458 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3459 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3460 << std::setw(9) << v_size;}
3462 for (Int_t
i = 0;
i < v_nb_times;
i++)
3481 typ_name.Resize(MaxCar);
3482 typ_name =
"MeanCorss";
3486 v_size = v_nb_times*v_dim_one*v_dim_two;
3490 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3491 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3492 << std::setw(9) << v_size;}
3494 for (Int_t
i = 0;
i < v_nb_times;
i++)
3513 typ_name.Resize(MaxCar);
3518 v_size = v_nb_times*v_dim_one*v_dim_two;
3522 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3523 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3524 << std::setw(9) << v_size;}
3526 for (Int_t
i = 0;
i < v_nb_times;
i++)
3545 typ_name.Resize(MaxCar);
3550 v_size = v_nb_times*v_dim_one*v_dim_two;
3554 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3555 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3556 << std::setw(9) << v_size;}
3558 for (Int_t
i = 0;
i < v_nb_times;
i++)
3577 typ_name.Resize(MaxCar);
3578 typ_name =
"SigCorss";
3582 v_size = v_nb_times*v_dim_one*v_dim_two;
3586 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3587 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3588 << std::setw(9) << v_size;}
3590 for (Int_t
i = 0;
i < v_nb_times;
i++)
3609 typ_name.Resize(MaxCar);
3610 typ_name =
"LFccMoStins";
3614 v_size = v_nb_times*v_dim_one*v_dim_two;
3618 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3619 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3620 << std::setw(9) << v_size;}
3622 for (Int_t
i = 0;
i < v_nb_times;
i++)
3641 typ_name.Resize(MaxCar);
3642 typ_name =
"HFccMoStins";
3646 v_size = v_nb_times*v_dim_one*v_dim_two;
3650 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3651 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3652 << std::setw(9) << v_size;}
3654 for (Int_t
i = 0;
i < v_nb_times;
i++)
3673 typ_name.Resize(MaxCar);
3674 typ_name =
"NbOfEvts";
3677 v_dim_two = argNbSampWrite;
3678 v_size = v_nb_times*v_dim_one*v_dim_two;
3682 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3683 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3684 << std::setw(9) << v_size;}
3686 for (Int_t
i = 0;
i < v_nb_times;
i++)
3705 typ_name.Resize(MaxCar);
3709 v_dim_two = argNbSampWrite;
3710 v_size = v_nb_times*v_dim_one*v_dim_two;
3714 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3715 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3716 << std::setw(9) << v_size;}
3718 for (Int_t
i = 0;
i < v_nb_times;
i++)
3737 typ_name.Resize(MaxCar);
3741 v_dim_two = argNbSampWrite;
3742 v_size = v_nb_times*v_dim_one*v_dim_two;
3746 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3747 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3748 << std::setw(9) << v_size;}
3750 for (Int_t
i = 0;
i < v_nb_times;
i++)
3770 typ_name.Resize(MaxCar);
3771 typ_name =
"CovCss";
3773 v_dim_one = argNbSampWrite;
3774 v_dim_two = argNbSampWrite;
3775 v_size = v_nb_times*v_dim_one*v_dim_two;
3779 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3780 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3781 << std::setw(9) << v_size;}
3783 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3794 {
std::cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3803 typ_name.Resize(MaxCar);
3804 typ_name =
"CorCss";
3806 v_dim_one = argNbSampWrite;
3807 v_dim_two = argNbSampWrite;
3808 v_size = v_nb_times*v_dim_one*v_dim_two;
3812 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3813 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3814 << std::setw(9) << v_size;}
3816 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3827 {
std::cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3836 typ_name.Resize(MaxCar);
3837 typ_name =
"AdcEvt";
3839 v_dim_one = argNbSampWrite;
3841 v_size = v_nb_times*v_dim_one*v_dim_two;
3845 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3846 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3847 << std::setw(9) << v_size;}
3849 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++)
3860 {
std::cout <<
" => WRITTEN ON FILE "; v_tot_writ += v_size;}
3869 typ_name.Resize(MaxCar);
3874 v_size = v_nb_times*v_dim_one*v_dim_two;
3878 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3879 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3880 << std::setw(9) << v_size;}
3882 for (Int_t
i = 0;
i < v_nb_times;
i++)
3901 typ_name.Resize(MaxCar);
3906 v_size = v_nb_times*v_dim_one*v_dim_two;
3910 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3911 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3912 << std::setw(9) << v_size;}
3914 for (Int_t
i = 0;
i < v_nb_times;
i++)
3933 typ_name.Resize(MaxCar);
3938 v_size = v_nb_times*v_dim_one*v_dim_two;
3942 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3943 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3944 << std::setw(9) << v_size;}
3946 for (Int_t
i = 0;
i < v_nb_times;
i++)
3965 typ_name.Resize(MaxCar);
3970 v_size = v_nb_times*v_dim_one*v_dim_two;
3974 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3975 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = "
3976 << std::setw(9) << v_size;}
3978 for (Int_t
i = 0;
i < v_nb_times;
i++)
4001 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(20) <<
"TOTAL: "
4002 << std::setw(21) <<
"CALCULATED = " << std::setw(9) << v_tot
4003 <<
" => WRITTEN ON FILE = " << std::setw(9) << v_tot_writ << std::endl;}
4006 std::cout <<
"*TEcnaRun::WriteRootFile(...)> Write OK in file " << file_name <<
" in directory:" << std::endl
4050 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4069 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4098 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4101 fT2d_ev[j0StexEcha][i0Sample];
4119 for (Int_t i0Sample=0; i0Sample<argNbSampWrite; i0Sample++)
4320 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4322 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++)
4341 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++)
4343 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++)
4533 std::cout <<
"*TEcnaRun::PrintComments()> Warnings and some comments on init will be printed" << std::endl;
4541 std::cout <<
"*TEcnaRun::PrintWarnings()> Warnings will be printed" << std::endl;
4549 std::cout <<
"*TEcnaRun::PrintAllComments()> All the comments will be printed" << std::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()
TEcnaObject * fObjectManager
void GetReadyToReadData(const TString &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &)
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)
TEcnaParCout * fCnaParCout
Int_t fCodePrintAllComments
void TRootSSp(const Int_t &)
Double_t * fT1d_sig_cor_ss
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
Bool_t RegisterPointer(const TString &, const Long_t &)
Bool_t CloseRootFile(const Text_t *)
TString GetRootFileNameShort()
void TRootMSp(const Int_t &)
CnaResultTyp fTypOfCnaResult
TVectorD ReadStinNumbers(const Int_t &)
void AverageMeanCorrelationsBetweenSamples()
Double_t *** fT3d_AdcValues
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
Bool_t OpenRootFile(const Text_t *, const TString &)
Double_t * fT2d1_hfcc_mostins
Int_t fSpecialStexStinNotIndexed
void HighFrequencyCorrelationsBetweenChannels()
TString GetRootFileName()
Int_t StexEchaForCons(const Int_t &, const Int_t &)
void StandardCalculations()
Bool_t GetPathForResultsRootFiles()
TString GetRootFileName()
void AverageSigmaOfCorrelationsBetweenSamples()
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 SetEcalSubDetector(const TString &)
void SetSizeMat(Int_t, Int_t)
Bool_t WriteNewRootFile(const TString &)
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 FileParameters(const TString &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const Int_t &, const TString &)
void MeanCorrelationsBetweenSamples()
Double_t * fT2d1_lfcc_mostins
TString GetNewRootFileName()
TString fNewRootFileNameShort
TString ResultsRootFilePath()
Int_t GetCodePrint(const TString &)
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()
Bool_t OpenW(const Text_t *="")
void fMakeResultsFileName()
Int_t ** fT2dCrysNumbersTable
TString GetRootFileName()
Int_t fNbOfMiscDiagCounters
Int_t * fT1d_StexStinFromIndex
Long_t GetPointerValue(const TString &)
void StartStopTime(time_t, time_t)
Double_t * fT1d_evevt_of_sigsamp
TEcnaNumbering * fEcalNumbering
Double_t * fT1d_ev_cor_ss
TString fRootFileNameShort
void StartStopDate(const TString &, const TString &)
Double_t ** fT2d_lfcc_mostins