32 Long_t i_this = (Long_t)
this;
38 if (iCnaParCout == 0) {
47 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) {
99 if (iCnaParPaths == 0) {
109 const Text_t* h_name =
"CnaHeader";
110 const Text_t* h_title =
"CnaHeader";
114 Long_t iFileHeader = 0;
115 if (iFileHeader == 0) {
122 if (NbOfSamples > 0 && NbOfSamples <= fEcal->MaxSampADC()) {
125 std::cout <<
"TEcnaRun/CONSTRUCTOR> Number of required samples = " << NbOfSamples
303 std::cout <<
"*TEcnaRun::TEcnaRun(const TEcnaRun& dcop)> "
304 <<
" Now is the time to write a copy constructor" << std::endl;
332 std::cout <<
"*TEcnaRun::~TEcnaRun()> Entering destructor." << std::endl;
337 std::cout <<
"************************************************************************************* "
341 std::cout <<
"************************************************************************************* "
347 Int_t misc_czero = 0;
350 std::cout <<
" fMiscDiag Counter " << std::setw(3) <<
i <<
" = " << std::setw(9)
351 <<
fMiscDiag[
i] <<
" (INFO: alloc on non zero freed zone) " << std::endl;
356 std::cout <<
" Nb of fMiscDiag counters at zero: " << misc_czero
664 std::cout <<
"!TEcnaRun::~TEcnaRun()> WRONG MANAGEMENT OF MEMORY ALLOCATIONS: fCnew = " <<
fCnew
672 std::cout <<
"*TEcnaRun::~TEcnaRun()> Exiting destructor (this = " <<
this <<
")." << std::endl
673 <<
"~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#"
714 const Int_t& run_type) {
719 Int_t nrangeevts =
nlast - nfirst + 1;
721 if (nrangeevts < nbevts) {
722 if (
nlast >= nfirst) {
723 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- WARNING ---> number of events = " << nbevts
724 <<
", out of range (range = " << nfirst <<
"," <<
nlast <<
")" << std::endl
725 <<
" The number of found events will be less " << std::endl
726 <<
" than the number of requested events." << std::endl;
728 if (
nlast < nfirst) {
729 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- INFO ---> last requested event number = " <<
nlast
730 <<
", less than first requested event number (= " << nfirst <<
")" << std::endl
731 <<
" File will be read until EOF if the number of found events"
733 <<
" remains less than the number of requested events." << std::endl;
745 Int_t nentries = 99999999;
746 if (nfirst <= nentries) {
751 if (
nlast <= nentries) {
752 const Text_t* h_name =
"CnaHeader";
753 const Text_t* h_title =
"CnaHeader";
903 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> Allocation of 3D array for ADC distributions."
905 <<
" This number must not be too large"
906 <<
" (no failure after this message means alloc OK)." << std::endl;
919 for (Int_t j0Sample = 0; j0Sample <
fNbSampForFic; j0Sample++) {
956 for (Int_t i0Sample = 0; i0Sample <
fNbSampForFic; i0Sample++) {
961 std::cerr <<
"!TEcnaRun::GetReadyToReadData(...)> *** ERROR *** No allocation for fT2d_NbOfEvts!"
962 <<
" Pointer already not NULL " <<
fTTBELL << std::endl;
968 <<
"!TEcnaRun::GetReadyToReadData(...)> "
969 <<
" *** ERROR *** " << std::endl
970 <<
" --------------------------------------------------" << std::endl
971 <<
" NULL or NEGATIVE values for arguments" << std::endl
972 <<
" with expected positive values:" << std::endl
975 <<
" Number of samples by channel = " <<
fNbSampForFic << std::endl
978 <<
" hence, no memory allocation for array member has been performed." << std::endl;
980 std::cout <<
"Enter: 0 and RETURN to continue or: CTRL C to exit";
987 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)>" << std::endl
988 <<
" The method has been called with the following argument values:" << std::endl
1000 <<
" Number of samples by channel = " <<
fNbSampForFic << std::endl
1007 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) > WARNING/CORRECTION:" << std::endl
1008 <<
"! The fisrt requested event number is not positive (nfirst = " << nfirst <<
") " <<
fTTBELL
1015 <<
"!TEcnaRun::GetReadyToReadData(...)> WARNING/CORRECTION:" << std::endl
1016 <<
"! The number of requested events (nbevts = " << nbevts <<
") is too large." << std::endl
1017 <<
"! Last event number = " <<
nlast <<
" > number of entries = " << nentries <<
". " <<
fTTBELL
1023 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) *** ERROR ***> "
1024 <<
" The first requested event number is greater than the number of entries." <<
fTTBELL << std::endl;
1058 const Int_t& n1StexStin,
1059 const Int_t& i0StinEcha,
1060 const Int_t& i0Sample,
1061 const Double_t& adcvalue) {
1066 Bool_t ret_code = kFALSE;
1068 Int_t i0EventIndex = n1EventNumber - 1;
1069 Int_t i0StexStinEcna = n1StexStin - 1;
1074 if (n1StexStin >= 1 && n1StexStin <= fEcal->MaxStinEcnaInStex()) {
1075 if (i0StinEcha >= 0 && i0StinEcha < fEcal->MaxCrysInStin()) {
1076 if (i0Sample >= 0 && i0Sample < fEcal->MaxSampADC()) {
1088 if (i_trouve != 1) {
1098 <<
"*TEcnaRun::GetSampleAdcValues(...)> event " << n1EventNumber <<
" : first event for "
1113 <<
", i0Sample " << i0Sample << std::endl;
1118 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> NOT ALLOWED if RESULT. "
1119 <<
" n1StexStin = " << n1StexStin <<
", fT1d_StexStinFromIndex[" << i0StexStinEcna
1128 std::cout <<
"!TEcnaRun, GetSampleAdcValues *** ERROR ***> "
1130 <<
" fT1d_StexStinFromIndex[] ALLOCATION NOT DONE" <<
fTTBELL << std::endl;
1138 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1139 <<
" sample number = " << i0Sample <<
". OUT OF BOUNDS"
1148 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1149 <<
" channel number in " <<
fStinName.Data() <<
" = " << i0StinEcha <<
". OUT OF BOUNDS"
1154 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " <<
fStinName.Data() <<
" number in "
1155 <<
fStexName.Data() <<
" = " << n1StexStin <<
". OUT OF BOUNDS"
1166 if (ret_code == kTRUE) {
1182 if (i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) {
1189 if (i0EventIndex >= 0 && i0EventIndex < fFileHeader->fReqNbOfEvts) {
1193 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1194 <<
" sample index = " << i0Sample <<
". OUT OF BOUNDS"
1198 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1199 <<
" event number = " << n1EventNumber <<
". OUT OF BOUNDS"
1204 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> "
1205 <<
" CHANNEL NUMBER OUT OF BOUNDS" << std::endl
1206 <<
" i0StexEcha number = " << i0StexEcha <<
" , n1StexStin = " << n1StexStin
1207 <<
" , i0StinEcha = " << i0StinEcha
1214 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> ret_code = kFALSE " <<
fTTBELL << std::endl;
1218 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> GetReadyToReadData(...) not called." <<
fTTBELL
1223 if (ret_code == kFALSE) {
1224 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> ret_code = " << ret_code
1226 <<
fStinName.Data() <<
": " << n1StexStin <<
", channel: " << i0StinEcha <<
", Sample: " << i0Sample
1227 <<
", ADC value: " << adcvalue << std::endl;
1271 if (ok_read == kTRUE) {
1274 std::cout <<
"*TEcnaRun::ReadSampleAdcValues> Reading sample ADC values from file: " << std::endl
1277 size_t i_no_data = 0;
1282 vec(
i) = (Double_t)0.;
1298 partial_matrix(
i,
j) = (Double_t)0.;
1304 if (n1StexStin != -1) {
1314 fT2d_NbOfEvts[i0StexEcha][i0Sample] = (Int_t)partial_matrix(i0StinCrys, i0Sample);
1331 fT3d_AdcValues[i0StexEcha][i0Sample][i_event] = fT3d_read_AdcValues[i0StexEcha][i0Sample][i_event];
1339 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1340 <<
" Read failure. i_no_data = " << i_no_data <<
fTTBELL << std::endl;
1343 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> "
1344 <<
" ROOT file not found" <<
fTTBELL << std::endl;
1501 std::cout <<
"*TEcnaRun::SampleMeans() " << std::endl;
1504 std::cout <<
" Calculation: sample expectation values over the events"
1505 <<
" for each channel." << std::endl;
1512 fT2d_ev =
new Double_t*[n_StexEcha];
1514 fT1d_ev =
new Double_t[n_StexEcha * n_samp];
1516 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1522 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1523 if (
fT2d_ev[i0StexEcha][i0Sample] != (Double_t)0) {
1525 fT2d_ev[i0StexEcha][i0Sample] = (Double_t)0;
1532 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1555 std::cout <<
"*TEcnaRun::SampleSigmas()" << std::endl;
1558 std::cout <<
" Calculation: sample ADC sigmas over the events "
1559 <<
" for each channel." << std::endl;
1575 fT2d_sig =
new Double_t*[n_StexEcha];
1577 fT1d_sig =
new Double_t[n_StexEcha * n_samp];
1579 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
1585 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1586 if (
fT2d_sig[i0StexEcha][i0Sample] != (Double_t)0) {
1588 fT2d_sig[i0StexEcha][i0Sample] = (Double_t)0;
1595 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1596 Double_t variance = (Double_t)0.;
1599 variance += ecart * ecart;
1629 std::cout <<
"*TEcnaRun::CovariancesBetweenSamples()" << std::endl;
1632 std::cout <<
" Calculation: covariances between samples"
1633 <<
" for each channel." << std::endl;
1644 fT3d1_cov_ss =
new Double_t[n_StexEcha * n_samp * n_samp];
1646 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1648 for (Int_t
j = 0;
j < n_samp;
j++) {
1668 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1669 for (Int_t j0Sample = 0; j0Sample <= i0Sample; j0Sample++) {
1670 fT3d_cov_ss[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1706 std::cout <<
"*TEcnaRun::CorrelationsBetweenSamples()" << std::endl;
1709 std::cout <<
" Calculation: correlations between samples"
1710 <<
" for each channel." << std::endl;
1721 fT3d1_cor_ss =
new Double_t[n_StexEcha * n_samp * n_samp];
1723 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1725 for (Int_t
j = 0;
j < n_samp;
j++) {
1735 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1736 for (Int_t j0Sample = 0; j0Sample <= i0Sample; j0Sample++) {
1737 if ((
fT3d_cov_ss[j0StexEcha][i0Sample][i0Sample] > 0) && (
fT3d_cov_ss[j0StexEcha][j0Sample][j0Sample] > 0)) {
1742 (
fT3d_cor_ss)[j0StexEcha][i0Sample][j0Sample] = (Double_t)0;
1795 std::cout <<
"*TEcnaRun::Pedestals()" << std::endl;
1798 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1800 <<
" of the ADC expectation values (over the events)." << std::endl;
1804 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1850 std::cout <<
"*TEcnaRun::TotalNoise()" << std::endl;
1853 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to "
1855 <<
" of the ADC expectation values (over the events)." << std::endl;
1859 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1860 if (
fT2d_sig[i0StexEcha][i0Sample] < 0) {
1861 std::cout <<
"!TEcnaRun::TotalNoise() *** ERROR ***> Negative sigma!" <<
fTTBELL << std::endl;
1903 mean_over_samples(
i) = (Double_t)0.;
1908 std::cout <<
"*TEcnaRun::LowFrequencyNoise()" << std::endl;
1911 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1912 <<
" of the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")."
1918 Double_t mean_over_events = (Double_t)0;
1921 mean_over_samples(n_event) = (Double_t)0.;
1922 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1923 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
1927 mean_over_events += mean_over_samples(n_event);
1932 Double_t
var = (Double_t)0;
1934 Double_t ecart = mean_over_samples(n_event) - mean_over_events;
1935 var += ecart * ecart;
1976 mean_over_samples(
i) = (Double_t)0.;
1980 sigma_over_samples(
i) = (Double_t)0.;
1985 std::cout <<
"*TEcnaRun::HighFrequencyNoise()" << std::endl;
1988 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1989 <<
" of the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")."
1997 mean_over_samples(n_event) = (Double_t)0.;
1998 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1999 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2004 Double_t var_over_samples = (Double_t)0;
2005 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2006 Double_t deviation =
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(n_event);
2007 var_over_samples += deviation * deviation;
2011 if (var_over_samples < 0) {
2012 std::cout <<
"!TEcnaRun::HighFrequencyNoise() *** ERROR ***> Negative variance! " <<
fTTBELL << std::endl;
2014 sigma_over_samples(n_event) =
sqrt(var_over_samples);
2068 TVectorD half_cor_ss(ndim);
2069 for (Int_t
i = 0;
i < ndim;
i++) {
2070 half_cor_ss(
i) = (Double_t)0.;
2075 std::cout <<
"*TEcnaRun::MeanCorrelationsBetweenSamples()" << std::endl;
2078 std::cout <<
" Calculation, for all the channels, of the expectation values of the" << std::endl
2079 <<
" correlations between the first " <<
fNbSampForCalc <<
" samples." << std::endl;
2085 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2086 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++) {
2087 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
2093 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
2138 std::cout <<
"*TEcnaRun::SigmasOfCorrelationsBetweenSamples()" << std::endl;
2141 std::cout <<
" Calculation of the sigmas of the (sample,sample)" << std::endl
2142 <<
" correlations for all the channels." << std::endl;
2149 TVectorD half_cor_ss(ndim);
2150 for (Int_t
i = 0;
i < ndim;
i++) {
2151 half_cor_ss(
i) = (Double_t)0.;
2158 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2159 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++) {
2160 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
2166 Double_t
var = (Double_t)0;
2167 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
2168 Double_t ecart = half_cor_ss(i_rcor) -
fT1d_ev_cor_ss[i0StexEcha];
2169 var += ecart * ecart;
2171 var /= (Double_t)ndim;
2207 std::cout <<
"*TEcnaRun::AveragePedestals()" << std::endl;
2210 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average Pedestals"
2216 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2229 Int_t n1StinEcha = i0StinEcha + 1;
2230 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2233 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2236 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2241 Double_t xdivis = (Double_t)0.;
2283 std::cout <<
"*TEcnaRun::AverageTotalNoise()" << std::endl;
2286 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average total Noise"
2292 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2305 Int_t n1StinEcha = i0StinEcha + 1;
2306 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2309 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2312 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2317 Double_t xdivis = (Double_t)0.;
2358 std::cout <<
"*TEcnaRun::AverageLowFrequencyNoise()" << std::endl;
2361 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average Low Frequency Noise"
2367 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2380 Int_t n1StinEcha = i0StinEcha + 1;
2381 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2384 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2387 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2392 Double_t xdivis = (Double_t)0.;
2433 std::cout <<
"*TEcnaRun::AverageHighFrequencyNoise()" << std::endl;
2436 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average High Frequency Noise"
2442 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2455 Int_t n1StinEcha = i0StinEcha + 1;
2456 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2459 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2462 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2467 Double_t xdivis = (Double_t)0.;
2508 std::cout <<
"*TEcnaRun::AverageMeanCorrelationsBetweenSamples()" << std::endl;
2511 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average mean cor(s,s)"
2517 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2530 Int_t n1StinEcha = i0StinEcha + 1;
2531 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2534 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2537 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2542 Double_t xdivis = (Double_t)0.;
2583 std::cout <<
"*TEcnaRun::AverageSigmaOfCorrelationsBetweenSamples()" << std::endl;
2586 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average sigma of cor(s,s)"
2592 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2605 Int_t n1StinEcha = i0StinEcha + 1;
2606 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2609 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2612 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2617 Double_t xdivis = (Double_t)0.;
2660 std::cout <<
"*TEcnaRun::LowFrequencyCovariancesBetweenChannels()" << std::endl;
2663 std::cout <<
" Calculation of the Low Frequency Covariances between channels" << std::endl;
2673 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2680 if (
fT2d_lf_cov[i0StexEcha][j0StexEcha] != (Double_t)0) {
2682 fT2d_lf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2691 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2697 MoeOfMos(i0StexEcha) = (Double_t)0.;
2702 std::cout <<
" Calculation, for each pair of channels, of the covariance (over the events)" << std::endl
2703 <<
" between the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")."
2710 MoeOfMos(i0StexEcha) = (Double_t)0;
2716 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2717 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2718 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2720 mean_over_samples(i0StexEcha, n_event) /= (Double_t)
fNbSampForCalc;
2724 MoeOfMos(i0StexEcha) += mean_over_samples(i0StexEcha, n_event);
2734 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2737 fT2d_lf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2739 fT2d_lf_cov[i0StexEcha][j0StexEcha] += (mean_over_samples(i0StexEcha, n_event) - MoeOfMos(i0StexEcha)) *
2740 (mean_over_samples(j0StexEcha, n_event) - MoeOfMos(j0StexEcha));
2747 if (i0StexEcha % 100 == 0) {
2748 std::cout << i0StexEcha <<
"[LFN Cov], ";
2775 std::cout <<
"*TEcnaRun::LowFrequencyCorrelationsBetweenChannels()" << std::endl;
2778 std::cout <<
" Calculation of the Low Frequency Correlations between channels" << std::endl
2779 <<
" Starting allocation. " << std::endl;
2789 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2796 if (
fT2d_lf_cor[i0StexEcha][j0StexEcha] != (Double_t)0) {
2798 fT2d_lf_cor[i0StexEcha][j0StexEcha] = (Double_t)0;
2808 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2816 fT2d_lf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2822 if (i0StexEcha % 100 == 0) {
2823 std::cout << i0StexEcha <<
"[LFN Cor], ";
2852 std::cout <<
"*TEcnaRun::HighFrequencyCovariancesBetweenChannels()" << std::endl;
2855 std::cout <<
" Calculation of the High Frequency Covariances between channels" << std::endl;
2865 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2872 if (
fT2d_hf_cov[i0StexEcha][j0StexEcha] != (Double_t)0) {
2874 fT2d_hf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2883 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2890 cov_over_samp(i0StexEcha, j0StexEcha) = (Double_t)0.;
2896 std::cout <<
" Calculation of the mean (over the events)" << std::endl
2897 <<
" of the covariances between the channels (over the samples 1 to " <<
fNbSampForCalc <<
")."
2908 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2909 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2910 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2912 mean_over_samples(i0StexEcha, n_event) /= (Double_t)
fNbSampForCalc;
2915 if (i0StexEcha % 100 == 0) {
2916 std::cout << i0StexEcha <<
"[HFNa Cov], ";
2927 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2932 cov_over_samp(i0StexEcha, j0StexEcha) = (Double_t)0;
2933 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2934 cov_over_samp(i0StexEcha, j0StexEcha) +=
2935 (
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(i0StexEcha, n_event)) *
2936 (
fT3d_AdcValues[j0StexEcha][i0Sample][n_event] - mean_over_samples(j0StexEcha, n_event));
2938 cov_over_samp(i0StexEcha, j0StexEcha) /= (Double_t)
fNbSampForCalc;
2942 fT2d_hf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2944 fT2d_hf_cov[i0StexEcha][j0StexEcha] += cov_over_samp(i0StexEcha, j0StexEcha);
2952 if (i0StexEcha % 100 == 0) {
2953 std::cout << i0StexEcha <<
"[HFNb Cov], ";
2980 std::cout <<
"*TEcnaRun::HighFrequencyCorrelationsBetweenChannels()" << std::endl;
2983 std::cout <<
" Calculation of the High Frequency Correlations between channels" << std::endl
2984 <<
" Starting allocation. " << std::endl;
2994 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
3001 if (
fT2d_hf_cor[i0StexEcha][j0StexEcha] != (Double_t)0) {
3003 fT2d_hf_cor[i0StexEcha][j0StexEcha] = (Double_t)0;
3014 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
3022 fT2d_hf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
3029 if (i0StexEcha % 100 == 0) {
3030 std::cout << i0StexEcha <<
"[HFN Cor], ";
3067 std::cout <<
"*TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3070 std::cout <<
" Calculation of the mean, for each " <<
fStinName.Data() <<
", of the" << std::endl
3071 <<
" Low Frequency Correlations between channels." << std::endl;
3081 for (Int_t i0StexStinEcna = 0; i0StexStinEcna < n_Stin; i0StexStinEcna++) {
3106 TVectorD half_LFccMos(ndim);
3107 for (Int_t
i = 0;
i < ndim;
i++) {
3108 half_LFccMos(
i) = (Double_t)0.;
3113 std::cout <<
"*TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3116 std::cout <<
" Calculation, for each " <<
fStinName.Data() <<
", of the mean " << std::endl
3117 <<
" Low Frequency cor(c,c)." << std::endl;
3128 if ((i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
3129 (j0StexEcha >= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex())) {
3130 half_LFccMos(i_count) =
fT2d_lf_cor[i0StexEcha][j0StexEcha];
3133 std::cout <<
"!TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
3134 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl;
3140 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
3141 fT2d_lfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_LFccMos(i_rcor));
3145 if (i0StexStinEcna % 10 == 0) {
3146 std::cout << i0StexStinEcna <<
"[LFN MCtt], ";
3175 std::cout <<
"*TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3178 std::cout <<
" Calculation of the mean, for each " <<
fFlagSubDet.Data() <<
", of the" << std::endl
3179 <<
" High Frequency Correlations between channels." << std::endl;
3189 for (Int_t i0StexStinEcna = 0; i0StexStinEcna < n_Stin; i0StexStinEcna++) {
3214 TVectorD half_HFccMos(ndim);
3215 for (Int_t
i = 0;
i < ndim;
i++) {
3216 half_HFccMos(
i) = (Double_t)0.;
3220 std::cout <<
"*TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3224 <<
" High Frequency cor(c,c)." << std::endl;
3236 if ((i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
3237 (j0StexEcha >= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex())) {
3238 half_HFccMos(i_count) =
fT2d_hf_cor[i0StexEcha][j0StexEcha];
3241 std::cout <<
"!TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()> Channel number out of range."
3242 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl;
3248 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
3249 fT2d_hfcc_mostins[i0StexStinEcna][j0StexStinEcna] += fabs(half_HFccMos(i_rcor));
3253 if (i0StexStinEcna % 10 == 0) {
3254 std::cout << i0StexStinEcna <<
"[HFN MCtt], ";
3282 Bool_t ok_open = kFALSE;
3287 s_name.Append(
name);
3292 if (iCnaRootFile == 0) {
3308 std::cout <<
"TEcnaRun::OpenRootFile> Cannot open file " << s_name.Data() << std::endl;
3311 std::cout <<
"*TEcnaRun::OpenRootFile> Open ROOT file OK for file " << s_name.Data() << std::endl;
3328 s_name.Append(
name);
3330 Bool_t ok_close = kFALSE;
3336 std::cout <<
"*TEcnaRun::CloseRootFile> ROOT file " << s_name.Data() <<
" closed." << std::endl;
3344 std::cout <<
"*TEcnaRun::CloseRootFile(...)> No close since no file is open." <<
fTTBELL << std::endl;
3370 Bool_t ok_write = kFALSE;
3373 Int_t nCountEvts = 0;
3381 if (nCountEvts <= 0) {
3384 <<
". File will not be written." << std::endl;
3388 std::cout <<
"*TEcnaRun::WriteRootFile()> Results are going to be written in the ROOT file: " << std::endl
3395 if (ok_write == kTRUE) {
3419 Bool_t ok_write = kFALSE;
3440 std::cout <<
"*TEcnaRun::WriteNewRootFile()> Results are going to be written in the ROOT file: " << std::endl
3468 Bool_t ok_write = kFALSE;
3471 std::cout <<
"!TEcnaRun::WriteRootFile(...) *** ERROR ***> Writing on file already open." <<
fTTBELL << std::endl;
3519 TString typ_name =
"?";
3520 Int_t v_nb_times = 0;
3521 Int_t v_dim_one = 0;
3522 Int_t v_dim_two = 0;
3525 Int_t v_tot_writ = 0;
3539 typ_name.Resize(MaxCar);
3540 typ_name =
"StinNumbers";
3544 v_size = v_nb_times * v_dim_one * v_dim_two;
3548 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3549 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3553 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3563 v_tot_writ += v_size;
3575 typ_name.Resize(MaxCar);
3580 v_size = v_nb_times * v_dim_one * v_dim_two;
3584 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3585 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3589 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3599 v_tot_writ += v_size;
3611 typ_name.Resize(MaxCar);
3616 v_size = v_nb_times * v_dim_one * v_dim_two;
3620 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3621 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3625 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3635 v_tot_writ += v_size;
3647 typ_name.Resize(MaxCar);
3652 v_size = v_nb_times * v_dim_one * v_dim_two;
3656 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3657 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3661 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3671 v_tot_writ += v_size;
3683 typ_name.Resize(MaxCar);
3688 v_size = v_nb_times * v_dim_one * v_dim_two;
3692 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3693 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3697 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3707 v_tot_writ += v_size;
3719 typ_name.Resize(MaxCar);
3720 typ_name =
"AvMeanCorss";
3724 v_size = v_nb_times * v_dim_one * v_dim_two;
3728 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3729 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3733 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3743 v_tot_writ += v_size;
3755 typ_name.Resize(MaxCar);
3756 typ_name =
"AvSigCorss";
3760 v_size = v_nb_times * v_dim_one * v_dim_two;
3764 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3765 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3769 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3779 v_tot_writ += v_size;
3791 typ_name.Resize(MaxCar);
3796 v_size = v_nb_times * v_dim_one * v_dim_two;
3800 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3801 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3805 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3815 v_tot_writ += v_size;
3827 typ_name.Resize(MaxCar);
3832 v_size = v_nb_times * v_dim_one * v_dim_two;
3836 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3837 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3841 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3851 v_tot_writ += v_size;
3863 typ_name.Resize(MaxCar);
3864 typ_name =
"MeanCorss";
3868 v_size = v_nb_times * v_dim_one * v_dim_two;
3872 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3873 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3877 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3887 v_tot_writ += v_size;
3899 typ_name.Resize(MaxCar);
3904 v_size = v_nb_times * v_dim_one * v_dim_two;
3908 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3909 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3913 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3923 v_tot_writ += v_size;
3935 typ_name.Resize(MaxCar);
3940 v_size = v_nb_times * v_dim_one * v_dim_two;
3944 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3945 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3949 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3959 v_tot_writ += v_size;
3971 typ_name.Resize(MaxCar);
3972 typ_name =
"SigCorss";
3976 v_size = v_nb_times * v_dim_one * v_dim_two;
3980 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3981 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3985 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3995 v_tot_writ += v_size;
4007 typ_name.Resize(MaxCar);
4008 typ_name =
"LFccMoStins";
4012 v_size = v_nb_times * v_dim_one * v_dim_two;
4016 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4017 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4021 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4031 v_tot_writ += v_size;
4043 typ_name.Resize(MaxCar);
4044 typ_name =
"HFccMoStins";
4048 v_size = v_nb_times * v_dim_one * v_dim_two;
4052 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4053 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4057 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4067 v_tot_writ += v_size;
4079 typ_name.Resize(MaxCar);
4080 typ_name =
"NbOfEvts";
4083 v_dim_two = argNbSampWrite;
4084 v_size = v_nb_times * v_dim_one * v_dim_two;
4088 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4089 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4093 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4103 v_tot_writ += v_size;
4115 typ_name.Resize(MaxCar);
4119 v_dim_two = argNbSampWrite;
4120 v_size = v_nb_times * v_dim_one * v_dim_two;
4124 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4125 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4129 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4139 v_tot_writ += v_size;
4151 typ_name.Resize(MaxCar);
4155 v_dim_two = argNbSampWrite;
4156 v_size = v_nb_times * v_dim_one * v_dim_two;
4160 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4161 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4165 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4175 v_tot_writ += v_size;
4188 typ_name.Resize(MaxCar);
4189 typ_name =
"CovCss";
4191 v_dim_one = argNbSampWrite;
4192 v_dim_two = argNbSampWrite;
4193 v_size = v_nb_times * v_dim_one * v_dim_two;
4197 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4198 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4202 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4212 v_tot_writ += v_size;
4224 typ_name.Resize(MaxCar);
4225 typ_name =
"CorCss";
4227 v_dim_one = argNbSampWrite;
4228 v_dim_two = argNbSampWrite;
4229 v_size = v_nb_times * v_dim_one * v_dim_two;
4233 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4234 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4238 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4248 v_tot_writ += v_size;
4260 typ_name.Resize(MaxCar);
4261 typ_name =
"AdcEvt";
4263 v_dim_one = argNbSampWrite;
4265 v_size = v_nb_times * v_dim_one * v_dim_two;
4269 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4270 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4274 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4284 v_tot_writ += v_size;
4296 typ_name.Resize(MaxCar);
4301 v_size = v_nb_times * v_dim_one * v_dim_two;
4305 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4306 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4310 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4320 v_tot_writ += v_size;
4332 typ_name.Resize(MaxCar);
4337 v_size = v_nb_times * v_dim_one * v_dim_two;
4341 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4342 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4346 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4356 v_tot_writ += v_size;
4368 typ_name.Resize(MaxCar);
4373 v_size = v_nb_times * v_dim_one * v_dim_two;
4377 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4378 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4382 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4392 v_tot_writ += v_size;
4404 typ_name.Resize(MaxCar);
4409 v_size = v_nb_times * v_dim_one * v_dim_two;
4413 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4414 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4418 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4428 v_tot_writ += v_size;
4444 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(20) <<
"TOTAL: " << std::setw(21)
4445 <<
"CALCULATED = " << std::setw(9) << v_tot <<
" => WRITTEN ON FILE = " << std::setw(9) << v_tot_writ
4450 std::cout <<
"*TEcnaRun::WriteRootFile(...)> Write OK in file " <<
file_name <<
" in directory:" << std::endl
4487 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4502 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4524 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4540 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4696 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4697 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++) {
4712 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4713 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++) {
4866 std::cout <<
"*TEcnaRun::PrintComments()> Warnings and some comments on init will be printed" << std::endl;
4873 std::cout <<
"*TEcnaRun::PrintWarnings()> Warnings will be printed" << std::endl;
4880 std::cout <<
"*TEcnaRun::PrintAllComments()> All the comments will be printed" << std::endl;