]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
ChargeSpektrum
authorDennis Doering <doering@physik.uni-frankfurt.de>
Tue, 1 Sep 2015 13:58:43 +0000 (15:58 +0200)
committerDennis Doering <doering@physik.uni-frankfurt.de>
Tue, 1 Sep 2015 13:58:43 +0000 (15:58 +0200)
MABS_run_analyzer/ChargeSpektrum.c

index 38698c721994c96365e9e1a3945ba9a93838a6fc..18bf7cfde2b98af2789e25d54fe069575b8e11fa 100644 (file)
@@ -145,6 +145,7 @@ void ChargeSpektrum(TString runnumber = "")
              //    runs[runi]->analyzeFrame(734);
        //           runs[runi]->analyzeFrame(4072);  
                 // creates or opens .root file, can analyze the RAW data
+
               runs[runi]->error=runs[runi]->analyzeRun(false); // creates or opens .root file, can analyze the RAW data
                 if (!runs[runi]->error)
                 {
@@ -159,9 +160,9 @@ void ChargeSpektrum(TString runnumber = "")
                     //         runs[runi]->plotNoise();
                     if (!isBatch)
                         gROOT->SetBatch(kFALSE);
-//                             runs[runi]->plotAllHistograms();
-//                     runs[runi]->plotAllHistogramsThresholdCluster();
-                    runs[runi]->plotClusterDistribution(&runs[runi]->histogramthresholdCalibrated);
+                             runs[runi]->plotAllHistograms();
+                     runs[runi]->plotAllHistogramsThresholdCluster();
+           //         runs[runi]->plotClusterDistribution(&runs[runi]->histogramthresholdCalibrated);
 //                     runs[runi]->plotAllHistogramsThresholdClusterCalibrated();
 //                      runs[runi]->plotAllHistogramsCalibrated(); 
 //                     runs[runi]->writeAllHistogramsToFile();