]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Run analyzer: Commented out debug lines
authorBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Fri, 11 Sep 2015 17:11:57 +0000 (19:11 +0200)
committerBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Fri, 11 Sep 2015 17:11:57 +0000 (19:11 +0200)
MABS_run_analyzer/Run.c
MABS_run_analyzer/Run.h

index 18150530517cee7c7e4c7552bb0d2a3a3e655645..c8a086a1764caf5635bf7a31c7fc2dc27c71f0dc 100644 (file)
@@ -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;
index d638cedf58f0485aa9d41f5835057ee37c92360e..b0b35c65a0edb6b27e928bdd7b0b252899f12554 100644 (file)
@@ -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<Run::histogramstruct*> plothistogramstructpointerarray;
             
     /** @brief Plots all histograms from #Run::histogramstruct into one canvas