From 21dc5048ea3ae4b83f80d3659d30364ce962172c Mon Sep 17 00:00:00 2001 From: Dennis Doering Date: Tue, 1 Sep 2015 15:58:43 +0200 Subject: [PATCH] ChargeSpektrum --- MABS_run_analyzer/ChargeSpektrum.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MABS_run_analyzer/ChargeSpektrum.c b/MABS_run_analyzer/ChargeSpektrum.c index 38698c7..18bf7cf 100644 --- a/MABS_run_analyzer/ChargeSpektrum.c +++ b/MABS_run_analyzer/ChargeSpektrum.c @@ -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(); -- 2.43.0