{
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;
* @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
*
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<Run::histogramstruct*> plothistogramstructpointerarray;
/** @brief Plots all histograms from #Run::histogramstruct into one canvas