From: Benjamin Linnik Date: Fri, 11 Sep 2015 17:11:57 +0000 (+0200) Subject: Run analyzer: Commented out debug lines X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=efda373576b8d0ce33f02518e3b03a06c262387d;p=radhard.git Run analyzer: Commented out debug lines --- diff --git a/MABS_run_analyzer/Run.c b/MABS_run_analyzer/Run.c index 1815053..c8a086a 100644 --- a/MABS_run_analyzer/Run.c +++ b/MABS_run_analyzer/Run.c @@ -1208,10 +1208,10 @@ Bool_t Run::plotCompareHistograms() { calibrated = calibrated && plothistogramstructpointerarray.at(histogrami)->calibrated; uncalibrated = uncalibrated && !plothistogramstructpointerarray.at(histogrami)->calibrated; - cout << colorcyan << plothistogramstructpointerarray.at(histogrami)->histogramdescription << endlr; + // cout << colorcyan << plothistogramstructpointerarray.at(histogrami)->histogramdescription << endlr; } - cout << "Calibrated " << (calibrated?"Yes":"No") << endl; - cout << "Uncalibrated " << (uncalibrated?"Yes":"No") << endl; +// cout << "Calibrated " << (calibrated?"Yes":"No") << endl; +// cout << "Uncalibrated " << (uncalibrated?"Yes":"No") << endl; if ( !(calibrated != uncalibrated)) // XOR operator != { cout << colorred << "plotCompareHistograms(): Mixing of calibrated and uncalibrated histograms when comparing plots. Aborting." << endlr; diff --git a/MABS_run_analyzer/Run.h b/MABS_run_analyzer/Run.h index d638ced..b0b35c6 100644 --- a/MABS_run_analyzer/Run.h +++ b/MABS_run_analyzer/Run.h @@ -337,7 +337,7 @@ public: * @code runs[runi]->plothistogramstructpointerarray.push_back(&runs[runi]->histogramfixedthreshold); * @endcode * to add histograms to compare, after adding a few, execute - * @code runs[runi]->plotCompareHistograms() + * @code runs[runi]->plotCompareHistograms(); * @endcode * in ChargeSpectrum.c * @@ -560,6 +560,15 @@ public: histogramstruct histogramfixedthresholdCalibrated; histogramstruct* plothistogramstructpointer; TH1F** plothistogrampointer; + /// + /** @brief A vector able to hold pointer of type #Run::histogramstruct + * + * You push in pointer of the type Run::histogramstruct in ChargeSpectrum.C and then + * compare different histograms of the same run. + * + * See Run::plotCompareHistograms( ) for more information and usage. + * + */ vector plothistogramstructpointerarray; /** @brief Plots all histograms from #Run::histogramstruct into one canvas