41 const Text_t* h_name =
"CnaHeader";
42 const Text_t* h_title =
"CnaHeader";
46 Long_t iFileHeader = 0;
47 if (iFileHeader == 0) {
64 const Text_t* h_name =
"CnaHeader";
65 const Text_t* h_title =
"CnaHeader";
69 Long_t iFileHeader = 0;
70 if (iFileHeader == 0) {
77 if (NbOfSamples > 0 && NbOfSamples <= fEcal->MaxSampADC()) {
80 std::cout <<
"TEcnaRun/CONSTRUCTOR> Number of required samples = " << NbOfSamples
208 if (iCnaParCout == 0) {
215 Long_t iCnaParPaths = pObjectManager->
GetPointerValue(
"TEcnaParPaths");
216 if (iCnaParPaths == 0) {
277 std::cout <<
"*TEcnaRun::TEcnaRun(const TEcnaRun& dcop)> " 278 <<
" Now is the time to write a copy constructor" << std::endl;
306 std::cout <<
"*TEcnaRun::~TEcnaRun()> Entering destructor." << std::endl;
311 std::cout <<
"************************************************************************************* " 315 std::cout <<
"************************************************************************************* " 321 Int_t misc_czero = 0;
324 std::cout <<
" fMiscDiag Counter " << std::setw(3) <<
i <<
" = " << std::setw(9)
325 <<
fMiscDiag[
i] <<
" (INFO: alloc on non zero freed zone) " << std::endl;
330 std::cout <<
" Nb of fMiscDiag counters at zero: " << misc_czero
638 std::cout <<
"!TEcnaRun::~TEcnaRun()> WRONG MANAGEMENT OF MEMORY ALLOCATIONS: fCnew = " <<
fCnew 646 std::cout <<
"*TEcnaRun::~TEcnaRun()> Exiting destructor (this = " <<
this <<
")." << std::endl
647 <<
"~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#" 688 const Int_t& run_type) {
693 Int_t nrangeevts =
nlast - nfirst + 1;
695 if (nrangeevts < nbevts) {
696 if (
nlast >= nfirst) {
697 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- WARNING ---> number of events = " << nbevts
698 <<
", out of range (range = " << nfirst <<
"," <<
nlast <<
")" << std::endl
699 <<
" The number of found events will be less " << std::endl
700 <<
" than the number of requested events." << std::endl;
702 if (
nlast < nfirst) {
703 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> --- INFO ---> last requested event number = " <<
nlast 704 <<
", less than first requested event number (= " << nfirst <<
")" << std::endl
705 <<
" File will be read until EOF if the number of found events" 707 <<
" remains less than the number of requested events." << std::endl;
719 Int_t nentries = 99999999;
720 if (nfirst <= nentries) {
725 if (
nlast <= nentries) {
726 const Text_t* h_name =
"CnaHeader";
727 const Text_t* h_title =
"CnaHeader";
877 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)> Allocation of 3D array for ADC distributions." 879 <<
" This number must not be too large" 880 <<
" (no failure after this message means alloc OK)." << std::endl;
893 for (Int_t j0Sample = 0; j0Sample <
fNbSampForFic; j0Sample++) {
930 for (Int_t i0Sample = 0; i0Sample <
fNbSampForFic; i0Sample++) {
935 std::cerr <<
"!TEcnaRun::GetReadyToReadData(...)> *** ERROR *** No allocation for fT2d_NbOfEvts!" 936 <<
" Pointer already not NULL " <<
fTTBELL << std::endl;
942 <<
"!TEcnaRun::GetReadyToReadData(...)> " 943 <<
" *** ERROR *** " << std::endl
944 <<
" --------------------------------------------------" << std::endl
945 <<
" NULL or NEGATIVE values for arguments" << std::endl
946 <<
" with expected positive values:" << std::endl
949 <<
" Number of samples by channel = " <<
fNbSampForFic << std::endl
952 <<
" hence, no memory allocation for array member has been performed." << std::endl;
954 std::cout <<
"Enter: 0 and RETURN to continue or: CTRL C to exit";
961 std::cout <<
"*TEcnaRun::GetReadyToReadData(...)>" << std::endl
962 <<
" The method has been called with the following argument values:" << std::endl
974 <<
" Number of samples by channel = " <<
fNbSampForFic << std::endl
981 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) > WARNING/CORRECTION:" << std::endl
982 <<
"! The fisrt requested event number is not positive (nfirst = " << nfirst <<
") " <<
fTTBELL 989 <<
"!TEcnaRun::GetReadyToReadData(...)> WARNING/CORRECTION:" << std::endl
990 <<
"! The number of requested events (nbevts = " << nbevts <<
") is too large." << std::endl
991 <<
"! Last event number = " <<
nlast <<
" > number of entries = " << nentries <<
". " <<
fTTBELL 997 std::cout <<
"!TEcnaRun::GetReadyToReadData(...) *** ERROR ***> " 998 <<
" The first requested event number is greater than the number of entries." <<
fTTBELL << std::endl;
1032 const Int_t& n1StexStin,
1033 const Int_t& i0StinEcha,
1034 const Int_t& i0Sample,
1035 const Double_t& adcvalue) {
1040 Bool_t ret_code = kFALSE;
1042 Int_t i0EventIndex = n1EventNumber - 1;
1043 Int_t i0StexStinEcna = n1StexStin - 1;
1048 if (n1StexStin >= 1 && n1StexStin <= fEcal->MaxStinEcnaInStex()) {
1049 if (i0StinEcha >= 0 && i0StinEcha < fEcal->MaxCrysInStin()) {
1050 if (i0Sample >= 0 && i0Sample < fEcal->MaxSampADC()) {
1062 if (i_trouve != 1) {
1072 <<
"*TEcnaRun::GetSampleAdcValues(...)> event " << n1EventNumber <<
" : first event for " 1087 <<
", i0Sample " << i0Sample << std::endl;
1092 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> NOT ALLOWED if RESULT. " 1093 <<
" n1StexStin = " << n1StexStin <<
", fT1d_StexStinFromIndex[" << i0StexStinEcna
1102 std::cout <<
"!TEcnaRun, GetSampleAdcValues *** ERROR ***> " 1104 <<
" fT1d_StexStinFromIndex[] ALLOCATION NOT DONE" <<
fTTBELL << std::endl;
1112 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " 1113 <<
" sample number = " << i0Sample <<
". OUT OF BOUNDS" 1122 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " 1123 <<
" channel number in " <<
fStinName.Data() <<
" = " << i0StinEcha <<
". OUT OF BOUNDS" 1128 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " <<
fStinName.Data() <<
" number in " 1129 <<
fStexName.Data() <<
" = " << n1StexStin <<
". OUT OF BOUNDS" 1140 if (ret_code == kTRUE) {
1156 if (i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) {
1163 if (i0EventIndex >= 0 && i0EventIndex < fFileHeader->fReqNbOfEvts) {
1167 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " 1168 <<
" sample index = " << i0Sample <<
". OUT OF BOUNDS" 1172 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " 1173 <<
" event number = " << n1EventNumber <<
". OUT OF BOUNDS" 1178 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> " 1179 <<
" CHANNEL NUMBER OUT OF BOUNDS" << std::endl
1180 <<
" i0StexEcha number = " << i0StexEcha <<
" , n1StexStin = " << n1StexStin
1181 <<
" , i0StinEcha = " << i0StinEcha
1188 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> ret_code = kFALSE " <<
fTTBELL << std::endl;
1192 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...) *** ERROR ***> GetReadyToReadData(...) not called." <<
fTTBELL 1197 if (ret_code == kFALSE) {
1198 std::cout <<
"!TEcnaRun::GetSampleAdcValues(...)> *** ERROR ***> ret_code = " << ret_code
1200 <<
fStinName.Data() <<
": " << n1StexStin <<
", channel: " << i0StinEcha <<
", Sample: " << i0Sample
1201 <<
", ADC value: " << adcvalue << std::endl;
1245 if (ok_read == kTRUE) {
1248 std::cout <<
"*TEcnaRun::ReadSampleAdcValues> Reading sample ADC values from file: " << std::endl
1251 size_t i_no_data = 0;
1256 vec(
i) = (Double_t)0.;
1272 partial_matrix(
i,
j) = (Double_t)0.;
1278 if (n1StexStin != -1) {
1288 fT2d_NbOfEvts[i0StexEcha][i0Sample] = (Int_t)partial_matrix(i0StinCrys, i0Sample);
1305 fT3d_AdcValues[i0StexEcha][i0Sample][i_event] = fT3d_read_AdcValues[i0StexEcha][i0Sample][i_event];
1313 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> " 1314 <<
" Read failure. i_no_data = " << i_no_data <<
fTTBELL << std::endl;
1317 std::cout <<
"!TEcnaRun::ReadSampleAdcValues(...)> *ERROR* =====> " 1318 <<
" ROOT file not found" <<
fTTBELL << std::endl;
1475 std::cout <<
"*TEcnaRun::SampleMeans() " << std::endl;
1478 std::cout <<
" Calculation: sample expectation values over the events" 1479 <<
" for each channel." << std::endl;
1486 fT2d_ev =
new Double_t*[n_StexEcha];
1488 fT1d_ev =
new Double_t[n_StexEcha * n_samp];
1490 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1496 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1498 if (
fT2d_ev[i0StexEcha][i0Sample] != (Double_t)0) {
1500 fT2d_ev[i0StexEcha][i0Sample] = (Double_t)0;
1507 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1530 std::cout <<
"*TEcnaRun::SampleSigmas()" << std::endl;
1533 std::cout <<
" Calculation: sample ADC sigmas over the events " 1534 <<
" for each channel." << std::endl;
1550 fT2d_sig =
new Double_t*[n_StexEcha];
1552 fT1d_sig =
new Double_t[n_StexEcha * n_samp];
1554 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
1560 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1562 if (
fT2d_sig[i0StexEcha][i0Sample] != (Double_t)0) {
1564 fT2d_sig[i0StexEcha][i0Sample] = (Double_t)0;
1571 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1572 Double_t variance = (Double_t)0.;
1575 variance += ecart * ecart;
1605 std::cout <<
"*TEcnaRun::CovariancesBetweenSamples()" << std::endl;
1608 std::cout <<
" Calculation: covariances between samples" 1609 <<
" for each channel." << std::endl;
1620 fT3d1_cov_ss =
new Double_t[n_StexEcha * n_samp * n_samp];
1622 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1624 for (Int_t
j = 0;
j < n_samp;
j++) {
1644 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1645 for (Int_t j0Sample = 0; j0Sample <= i0Sample; j0Sample++) {
1682 std::cout <<
"*TEcnaRun::CorrelationsBetweenSamples()" << std::endl;
1685 std::cout <<
" Calculation: correlations between samples" 1686 <<
" for each channel." << std::endl;
1697 fT3d1_cor_ss =
new Double_t[n_StexEcha * n_samp * n_samp];
1699 for (Int_t
i = 0;
i < n_StexEcha;
i++) {
1701 for (Int_t
j = 0;
j < n_samp;
j++) {
1711 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1712 for (Int_t j0Sample = 0; j0Sample <= i0Sample; j0Sample++) {
1713 if ((
fT3d_cov_ss[j0StexEcha][i0Sample][i0Sample] > 0) && (
fT3d_cov_ss[j0StexEcha][j0Sample][j0Sample] > 0)) {
1772 std::cout <<
"*TEcnaRun::Pedestals()" << std::endl;
1775 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to " 1777 <<
" of the ADC expectation values (over the events)." << std::endl;
1781 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1827 std::cout <<
"*TEcnaRun::TotalNoise()" << std::endl;
1830 std::cout <<
" Calculation, for all the channels, of the expectation values (over the samples 1 to " 1832 <<
" of the ADC expectation values (over the events)." << std::endl;
1836 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1837 if (
fT2d_sig[i0StexEcha][i0Sample] < 0) {
1838 std::cout <<
"!TEcnaRun::TotalNoise() *** ERROR ***> Negative sigma!" <<
fTTBELL << std::endl;
1880 mean_over_samples(
i) = (Double_t)0.;
1885 std::cout <<
"*TEcnaRun::LowFrequencyNoise()" << std::endl;
1888 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1889 <<
" of the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")." 1895 Double_t mean_over_events = (Double_t)0;
1898 mean_over_samples(n_event) = (Double_t)0.;
1899 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1900 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
1904 mean_over_events += mean_over_samples(n_event);
1909 Double_t
var = (Double_t)0;
1911 Double_t ecart = mean_over_samples(n_event) - mean_over_events;
1912 var += ecart * ecart;
1953 mean_over_samples(
i) = (Double_t)0.;
1957 sigma_over_samples(
i) = (Double_t)0.;
1962 std::cout <<
"*TEcnaRun::HighFrequencyNoise()" << std::endl;
1965 std::cout <<
" Calculation, for each channel, of the sigma (over the events)" << std::endl
1966 <<
" of the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")." 1974 mean_over_samples(n_event) = (Double_t)0.;
1975 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1976 mean_over_samples(n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
1981 Double_t var_over_samples = (Double_t)0;
1982 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
1983 Double_t deviation =
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(n_event);
1984 var_over_samples += deviation * deviation;
1988 if (var_over_samples < 0) {
1989 std::cout <<
"!TEcnaRun::HighFrequencyNoise() *** ERROR ***> Negative variance! " <<
fTTBELL << std::endl;
1991 sigma_over_samples(n_event) =
sqrt(var_over_samples);
2045 TVectorD half_cor_ss(ndim);
2046 for (Int_t
i = 0;
i < ndim;
i++) {
2047 half_cor_ss(
i) = (Double_t)0.;
2052 std::cout <<
"*TEcnaRun::MeanCorrelationsBetweenSamples()" << std::endl;
2055 std::cout <<
" Calculation, for all the channels, of the expectation values of the" << std::endl
2056 <<
" correlations between the first " <<
fNbSampForCalc <<
" samples." << std::endl;
2062 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2063 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++) {
2064 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
2070 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
2115 std::cout <<
"*TEcnaRun::SigmasOfCorrelationsBetweenSamples()" << std::endl;
2118 std::cout <<
" Calculation of the sigmas of the (sample,sample)" << std::endl
2119 <<
" correlations for all the channels." << std::endl;
2126 TVectorD half_cor_ss(ndim);
2127 for (Int_t
i = 0;
i < ndim;
i++) {
2128 half_cor_ss(
i) = (Double_t)0.;
2135 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2136 for (Int_t j0Sample = 0; j0Sample < i0Sample; j0Sample++) {
2137 half_cor_ss(i_count) =
fT3d_cor_ss[i0StexEcha][i0Sample][j0Sample];
2143 Double_t
var = (Double_t)0;
2144 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
2145 Double_t ecart = half_cor_ss(i_rcor) -
fT1d_ev_cor_ss[i0StexEcha];
2146 var += ecart * ecart;
2148 var /= (Double_t)ndim;
2184 std::cout <<
"*TEcnaRun::AveragePedestals()" << std::endl;
2187 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average Pedestals" 2193 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2206 Int_t n1StinEcha = i0StinEcha + 1;
2207 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2210 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2213 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2218 Double_t xdivis = (Double_t)0.;
2260 std::cout <<
"*TEcnaRun::AverageTotalNoise()" << std::endl;
2263 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average total Noise" 2269 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2282 Int_t n1StinEcha = i0StinEcha + 1;
2283 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2286 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2289 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2294 Double_t xdivis = (Double_t)0.;
2335 std::cout <<
"*TEcnaRun::AverageLowFrequencyNoise()" << std::endl;
2338 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average Low Frequency Noise" 2344 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2357 Int_t n1StinEcha = i0StinEcha + 1;
2358 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2361 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2364 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2369 Double_t xdivis = (Double_t)0.;
2410 std::cout <<
"*TEcnaRun::AverageHighFrequencyNoise()" << std::endl;
2413 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average High Frequency Noise" 2419 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2432 Int_t n1StinEcha = i0StinEcha + 1;
2433 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2436 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2439 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2444 Double_t xdivis = (Double_t)0.;
2485 std::cout <<
"*TEcnaRun::AverageMeanCorrelationsBetweenSamples()" << std::endl;
2488 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average mean cor(s,s)" 2494 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2507 Int_t n1StinEcha = i0StinEcha + 1;
2508 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2511 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2514 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2519 Double_t xdivis = (Double_t)0.;
2560 std::cout <<
"*TEcnaRun::AverageSigmaOfCorrelationsBetweenSamples()" << std::endl;
2563 std::cout <<
" Calculation, for all the " <<
fStinName.Data() <<
"s, of the average sigma of cor(s,s)" 2569 Int_t n1StexStinEcna = i0StexStinEcna + 1;
2582 Int_t n1StinEcha = i0StinEcha + 1;
2583 if (n1StexStinEcna == 10 && n1StinEcha == 11) {
2586 if (n1StexStinEcna == 11 && n1StinEcha == 11) {
2589 if (!((n1StexStinEcna == 29 || n1StexStinEcna == 32) && n1StinEcha == 11)) {
2594 Double_t xdivis = (Double_t)0.;
2637 std::cout <<
"*TEcnaRun::LowFrequencyCovariancesBetweenChannels()" << std::endl;
2640 std::cout <<
" Calculation of the Low Frequency Covariances between channels" << std::endl;
2650 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2657 if (
fT2d_lf_cov[i0StexEcha][j0StexEcha] != (Double_t)0) {
2668 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2674 MoeOfMos(i0StexEcha) = (Double_t)0.;
2679 std::cout <<
" Calculation, for each pair of channels, of the covariance (over the events)" << std::endl
2680 <<
" between the ADC expectation values (over the samples 1 to " <<
fNbSampForCalc <<
")." 2687 MoeOfMos(i0StexEcha) = (Double_t)0;
2693 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2694 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2695 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2697 mean_over_samples(i0StexEcha, n_event) /= (Double_t)
fNbSampForCalc;
2701 MoeOfMos(i0StexEcha) += mean_over_samples(i0StexEcha, n_event);
2711 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2714 fT2d_lf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2716 fT2d_lf_cov[i0StexEcha][j0StexEcha] += (mean_over_samples(i0StexEcha, n_event) - MoeOfMos(i0StexEcha)) *
2717 (mean_over_samples(j0StexEcha, n_event) - MoeOfMos(j0StexEcha));
2724 if (i0StexEcha % 100 == 0) {
2725 std::cout << i0StexEcha <<
"[LFN Cov], ";
2752 std::cout <<
"*TEcnaRun::LowFrequencyCorrelationsBetweenChannels()" << std::endl;
2755 std::cout <<
" Calculation of the Low Frequency Correlations between channels" << std::endl
2756 <<
" Starting allocation. " << std::endl;
2766 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2773 if (
fT2d_lf_cor[i0StexEcha][j0StexEcha] != (Double_t)0) {
2785 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2793 fT2d_lf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
2799 if (i0StexEcha % 100 == 0) {
2800 std::cout << i0StexEcha <<
"[LFN Cor], ";
2829 std::cout <<
"*TEcnaRun::HighFrequencyCovariancesBetweenChannels()" << std::endl;
2832 std::cout <<
" Calculation of the High Frequency Covariances between channels" << std::endl;
2842 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2849 if (
fT2d_hf_cov[i0StexEcha][j0StexEcha] != (Double_t)0) {
2860 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2867 cov_over_samp(i0StexEcha, j0StexEcha) = (Double_t)0.;
2873 std::cout <<
" Calculation of the mean (over the events)" << std::endl
2874 <<
" of the covariances between the channels (over the samples 1 to " <<
fNbSampForCalc <<
")." 2885 mean_over_samples(i0StexEcha, n_event) = (Double_t)0.;
2886 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2887 mean_over_samples(i0StexEcha, n_event) +=
fT3d_AdcValues[i0StexEcha][i0Sample][n_event];
2889 mean_over_samples(i0StexEcha, n_event) /= (Double_t)
fNbSampForCalc;
2892 if (i0StexEcha % 100 == 0) {
2893 std::cout << i0StexEcha <<
"[HFNa Cov], ";
2904 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2909 cov_over_samp(i0StexEcha, j0StexEcha) = (Double_t)0;
2910 for (Int_t i0Sample = 0; i0Sample <
fNbSampForCalc; i0Sample++) {
2911 cov_over_samp(i0StexEcha, j0StexEcha) +=
2912 (
fT3d_AdcValues[i0StexEcha][i0Sample][n_event] - mean_over_samples(i0StexEcha, n_event)) *
2913 (
fT3d_AdcValues[j0StexEcha][i0Sample][n_event] - mean_over_samples(j0StexEcha, n_event));
2915 cov_over_samp(i0StexEcha, j0StexEcha) /= (Double_t)
fNbSampForCalc;
2919 fT2d_hf_cov[i0StexEcha][j0StexEcha] = (Double_t)0;
2921 fT2d_hf_cov[i0StexEcha][j0StexEcha] += cov_over_samp(i0StexEcha, j0StexEcha);
2929 if (i0StexEcha % 100 == 0) {
2930 std::cout << i0StexEcha <<
"[HFNb Cov], ";
2957 std::cout <<
"*TEcnaRun::HighFrequencyCorrelationsBetweenChannels()" << std::endl;
2960 std::cout <<
" Calculation of the High Frequency Correlations between channels" << std::endl
2961 <<
" Starting allocation. " << std::endl;
2971 for (Int_t i0StexEcha = 0; i0StexEcha < n_StexEcha; i0StexEcha++) {
2978 if (
fT2d_hf_cor[i0StexEcha][j0StexEcha] != (Double_t)0) {
2991 for (Int_t j0StexEcha = 0; j0StexEcha <= i0StexEcha; j0StexEcha++) {
2999 fT2d_hf_cor[i0StexEcha][j0StexEcha] = (Double_t)0.;
3006 if (i0StexEcha % 100 == 0) {
3007 std::cout << i0StexEcha <<
"[HFN Cor], ";
3044 std::cout <<
"*TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3047 std::cout <<
" Calculation of the mean, for each " <<
fStinName.Data() <<
", of the" << std::endl
3048 <<
" Low Frequency Correlations between channels." << std::endl;
3058 for (Int_t i0StexStinEcna = 0; i0StexStinEcna < n_Stin; i0StexStinEcna++) {
3083 TVectorD half_LFccMos(ndim);
3084 for (Int_t
i = 0;
i < ndim;
i++) {
3085 half_LFccMos(
i) = (Double_t)0.;
3090 std::cout <<
"*TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3093 std::cout <<
" Calculation, for each " <<
fStinName.Data() <<
", of the mean " << std::endl
3094 <<
" Low Frequency cor(c,c)." << std::endl;
3105 if ((i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
3106 (j0StexEcha >= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex())) {
3107 half_LFccMos(i_count) =
fT2d_lf_cor[i0StexEcha][j0StexEcha];
3110 std::cout <<
"!TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins()> Channel number out of range." 3111 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl;
3117 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
3122 if (i0StexStinEcna % 10 == 0) {
3123 std::cout << i0StexStinEcna <<
"[LFN MCtt], ";
3152 std::cout <<
"*TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3155 std::cout <<
" Calculation of the mean, for each " <<
fFlagSubDet.Data() <<
", of the" << std::endl
3156 <<
" High Frequency Correlations between channels." << std::endl;
3166 for (Int_t i0StexStinEcna = 0; i0StexStinEcna < n_Stin; i0StexStinEcna++) {
3191 TVectorD half_HFccMos(ndim);
3192 for (Int_t
i = 0;
i < ndim;
i++) {
3193 half_HFccMos(
i) = (Double_t)0.;
3197 std::cout <<
"*TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()" << std::endl;
3201 <<
" High Frequency cor(c,c)." << std::endl;
3213 if ((i0StexEcha >= 0 && i0StexEcha < fEcal->MaxCrysEcnaInStex()) &&
3214 (j0StexEcha >= 0 && j0StexEcha < fEcal->MaxCrysEcnaInStex())) {
3215 half_HFccMos(i_count) =
fT2d_hf_cor[i0StexEcha][j0StexEcha];
3218 std::cout <<
"!TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins()> Channel number out of range." 3219 <<
"i0StexEcha = " << i0StexEcha <<
", j0StexEcha = " << j0StexEcha <<
fTTBELL << std::endl;
3225 for (Int_t i_rcor = 0; i_rcor < ndim; i_rcor++) {
3230 if (i0StexStinEcna % 10 == 0) {
3231 std::cout << i0StexStinEcna <<
"[HFN MCtt], ";
3259 Bool_t ok_open = kFALSE;
3264 s_name.Append(
name);
3269 if (iCnaRootFile == 0) {
3285 std::cout <<
"TEcnaRun::OpenRootFile> Cannot open file " << s_name.Data() << std::endl;
3288 std::cout <<
"*TEcnaRun::OpenRootFile> Open ROOT file OK for file " << s_name.Data() << std::endl;
3305 s_name.Append(
name);
3307 Bool_t ok_close = kFALSE;
3313 std::cout <<
"*TEcnaRun::CloseRootFile> ROOT file " << s_name.Data() <<
" closed." << std::endl;
3321 std::cout <<
"*TEcnaRun::CloseRootFile(...)> No close since no file is open." <<
fTTBELL << std::endl;
3347 Bool_t ok_write = kFALSE;
3350 Int_t nCountEvts = 0;
3358 if (nCountEvts <= 0) {
3361 <<
". File will not be written." << std::endl;
3365 std::cout <<
"*TEcnaRun::WriteRootFile()> Results are going to be written in the ROOT file: " << std::endl
3372 if (ok_write == kTRUE) {
3396 Bool_t ok_write = kFALSE;
3417 std::cout <<
"*TEcnaRun::WriteNewRootFile()> Results are going to be written in the ROOT file: " << std::endl
3445 Bool_t ok_write = kFALSE;
3448 std::cout <<
"!TEcnaRun::WriteRootFile(...) *** ERROR ***> Writing on file already open." <<
fTTBELL << std::endl;
3496 TString typ_name =
"?";
3497 Int_t v_nb_times = 0;
3498 Int_t v_dim_one = 0;
3499 Int_t v_dim_two = 0;
3502 Int_t v_tot_writ = 0;
3516 typ_name.Resize(MaxCar);
3517 typ_name =
"StinNumbers";
3521 v_size = v_nb_times * v_dim_one * v_dim_two;
3525 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3526 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3530 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3540 v_tot_writ += v_size;
3552 typ_name.Resize(MaxCar);
3557 v_size = v_nb_times * v_dim_one * v_dim_two;
3561 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3562 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3566 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3576 v_tot_writ += v_size;
3588 typ_name.Resize(MaxCar);
3593 v_size = v_nb_times * v_dim_one * v_dim_two;
3597 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3598 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3602 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3612 v_tot_writ += v_size;
3624 typ_name.Resize(MaxCar);
3629 v_size = v_nb_times * v_dim_one * v_dim_two;
3633 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3634 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3638 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3648 v_tot_writ += v_size;
3660 typ_name.Resize(MaxCar);
3665 v_size = v_nb_times * v_dim_one * v_dim_two;
3669 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3670 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3674 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3684 v_tot_writ += v_size;
3696 typ_name.Resize(MaxCar);
3697 typ_name =
"AvMeanCorss";
3701 v_size = v_nb_times * v_dim_one * v_dim_two;
3705 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3706 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3710 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3720 v_tot_writ += v_size;
3732 typ_name.Resize(MaxCar);
3733 typ_name =
"AvSigCorss";
3737 v_size = v_nb_times * v_dim_one * v_dim_two;
3741 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3742 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3746 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3756 v_tot_writ += v_size;
3768 typ_name.Resize(MaxCar);
3773 v_size = v_nb_times * v_dim_one * v_dim_two;
3777 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3778 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3782 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3792 v_tot_writ += v_size;
3804 typ_name.Resize(MaxCar);
3809 v_size = v_nb_times * v_dim_one * v_dim_two;
3813 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3814 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3818 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3828 v_tot_writ += v_size;
3840 typ_name.Resize(MaxCar);
3841 typ_name =
"MeanCorss";
3845 v_size = v_nb_times * v_dim_one * v_dim_two;
3849 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3850 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3854 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3864 v_tot_writ += v_size;
3876 typ_name.Resize(MaxCar);
3881 v_size = v_nb_times * v_dim_one * v_dim_two;
3885 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3886 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3890 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3900 v_tot_writ += v_size;
3912 typ_name.Resize(MaxCar);
3917 v_size = v_nb_times * v_dim_one * v_dim_two;
3921 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3922 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3926 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3936 v_tot_writ += v_size;
3948 typ_name.Resize(MaxCar);
3949 typ_name =
"SigCorss";
3953 v_size = v_nb_times * v_dim_one * v_dim_two;
3957 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3958 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3962 for (Int_t
i = 0;
i < v_nb_times;
i++) {
3972 v_tot_writ += v_size;
3984 typ_name.Resize(MaxCar);
3985 typ_name =
"LFccMoStins";
3989 v_size = v_nb_times * v_dim_one * v_dim_two;
3993 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
3994 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
3998 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4008 v_tot_writ += v_size;
4020 typ_name.Resize(MaxCar);
4021 typ_name =
"HFccMoStins";
4025 v_size = v_nb_times * v_dim_one * v_dim_two;
4029 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4030 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4034 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4044 v_tot_writ += v_size;
4056 typ_name.Resize(MaxCar);
4057 typ_name =
"NbOfEvts";
4060 v_dim_two = argNbSampWrite;
4061 v_size = v_nb_times * v_dim_one * v_dim_two;
4065 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4066 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4070 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4080 v_tot_writ += v_size;
4092 typ_name.Resize(MaxCar);
4096 v_dim_two = argNbSampWrite;
4097 v_size = v_nb_times * v_dim_one * v_dim_two;
4101 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4102 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4106 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4116 v_tot_writ += v_size;
4128 typ_name.Resize(MaxCar);
4132 v_dim_two = argNbSampWrite;
4133 v_size = v_nb_times * v_dim_one * v_dim_two;
4137 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4138 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4142 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4152 v_tot_writ += v_size;
4165 typ_name.Resize(MaxCar);
4166 typ_name =
"CovCss";
4168 v_dim_one = argNbSampWrite;
4169 v_dim_two = argNbSampWrite;
4170 v_size = v_nb_times * v_dim_one * v_dim_two;
4174 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4175 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4179 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4189 v_tot_writ += v_size;
4201 typ_name.Resize(MaxCar);
4202 typ_name =
"CorCss";
4204 v_dim_one = argNbSampWrite;
4205 v_dim_two = argNbSampWrite;
4206 v_size = v_nb_times * v_dim_one * v_dim_two;
4210 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4211 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4215 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4225 v_tot_writ += v_size;
4237 typ_name.Resize(MaxCar);
4238 typ_name =
"AdcEvt";
4240 v_dim_one = argNbSampWrite;
4242 v_size = v_nb_times * v_dim_one * v_dim_two;
4246 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4247 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4251 for (Int_t i0StexEcha = 0; i0StexEcha < v_nb_times; i0StexEcha++) {
4261 v_tot_writ += v_size;
4273 typ_name.Resize(MaxCar);
4278 v_size = v_nb_times * v_dim_one * v_dim_two;
4282 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4283 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4287 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4297 v_tot_writ += v_size;
4309 typ_name.Resize(MaxCar);
4314 v_size = v_nb_times * v_dim_one * v_dim_two;
4318 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4319 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4323 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4333 v_tot_writ += v_size;
4345 typ_name.Resize(MaxCar);
4350 v_size = v_nb_times * v_dim_one * v_dim_two;
4354 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4355 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4359 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4369 v_tot_writ += v_size;
4381 typ_name.Resize(MaxCar);
4386 v_size = v_nb_times * v_dim_one * v_dim_two;
4390 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(18) << typ_name <<
": " << std::setw(4) << v_nb_times
4391 <<
" * (" << std::setw(4) << v_dim_one <<
"," << std::setw(4) << v_dim_two <<
") = " << std::setw(9)
4395 for (Int_t
i = 0;
i < v_nb_times;
i++) {
4405 v_tot_writ += v_size;
4421 std::cout <<
"*TEcnaRun::WriteRootFile(...)> " << std::setw(20) <<
"TOTAL: " << std::setw(21)
4422 <<
"CALCULATED = " << std::setw(9) << v_tot <<
" => WRITTEN ON FILE = " << std::setw(9) << v_tot_writ
4427 std::cout <<
"*TEcnaRun::WriteRootFile(...)> Write OK in file " <<
file_name <<
" in directory:" << std::endl
4464 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4479 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4501 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4517 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4673 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4674 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++) {
4689 for (Int_t i0Sample = 0; i0Sample < argNbSampWrite; i0Sample++) {
4690 for (Int_t j0Sample = 0; j0Sample < argNbSampWrite; j0Sample++) {
4843 std::cout <<
"*TEcnaRun::PrintComments()> Warnings and some comments on init will be printed" << std::endl;
4850 std::cout <<
"*TEcnaRun::PrintWarnings()> Warnings will be printed" << std::endl;
4857 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 &)
const TString & GetRootFileNameShort() const
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 &)
const TString & GetStartDate() const
Int_t * fT1dCrysNumbersTable
void Expert2Calculations()
Double_t * fT1d_av_ev_corss
void SetSizeHis(Int_t, Int_t)
Double_t ** fT2d_hfcc_mostins
const TString & GetRootFileName() const
Double_t * fT3d1_AdcValues
void SigmaOfCorrelationsBetweenSamples()
Bool_t RegisterPointer(const TString &, const Long_t &)
const TString & GetStopDate() const
const TString & GetRootFileName() const
Bool_t CloseRootFile(const Text_t *)
void TRootMSp(const Int_t &)
const TString & GetRootFileNameShort() const
R__EXTERN TEcnaRootFile * gCnaRootFile
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()
Int_t StexEchaForCons(const Int_t &, const Int_t &)
void StandardCalculations()
Bool_t GetPathForResultsRootFiles()
void AverageSigmaOfCorrelationsBetweenSamples()
Int_t GetDeeSCConsFrom1DeeSCEcna(const Int_t &, const Int_t &)
void LowFrequencyMeanCorrelationsBetweenStins()
Int_t MaxCrysInStinEcna(const Int_t &, const Int_t &, const TString &)
Double_t * fT1d_evsamp_of_sigevt
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 &)
const TString & GetRootFileName() const
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 fNewRootFileNameShort
Int_t GetCodePrint(const TString &)
Int_t MaxCrysEcnaInStex()
void TRootNbOfEvts(const Int_t &)
const TString & GetNewRootFileNameShort() const
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()
void CorrelationsBetweenSamples()
Bool_t OpenW(const Text_t *="")
void fMakeResultsFileName()
Int_t ** fT2dCrysNumbersTable
const TString & GetRootFileNameShort() const
Int_t fNbOfMiscDiagCounters
Int_t * fT1d_StexStinFromIndex
Long_t GetPointerValue(const TString &)
const TString & GetNewRootFileName() const
void StartStopTime(time_t, time_t)
Double_t * fT1d_evevt_of_sigsamp
TEcnaNumbering * fEcalNumbering
Double_t * fT1d_ev_cor_ss
const TString & ResultsRootFilePath() const
TString fRootFileNameShort
void StartStopDate(const TString &, const TString &)
Double_t ** fT2d_lfcc_mostins