From: Benjamin Linnik Date: Fri, 16 Dec 2016 13:42:09 +0000 (+0100) Subject: Analyzer: Better plot names X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=1e885d73b97299003788026f95a28ff16d3316b4;p=radhard.git Analyzer: Better plot names --- 1e885d73b97299003788026f95a28ff16d3316b4 diff --cc MABS_run_analyzer/ChargeSpektrum.c index f85588d,34deb64..fbfb76f --- a/MABS_run_analyzer/ChargeSpektrum.c +++ b/MABS_run_analyzer/ChargeSpektrum.c @@@ -101,16 -101,14 +101,16 @@@ void ChargeSpektrum(TString runnumber gROOT->SetBatch(kFALSE); // Uncomment below to do classical analysis withour RTS - compareHistogramClassVector2.push_back(runs[runi]->histogram->normalized->calibrated); - compareHistogramClassVector.push_back(runs[runi]->histogram->normalized); +// compareHistogramClassVector.push_back(runs[runi]->histogramwoRTS->normalized); +// compareHistogramClassVector2.push_back(runs[runi]->histogramwoRTS); + compareHistogramClassVector.push_back(runs[runi]->histogram->normalized); + //compareHistogramClassVector.push_back(runs[runi]->histogramwoRTS); // compareHistogramClassVector2.push_back(runs[runi]->histogramthreshold); - compareHistogramVector.push_back(runs[runi]->histogram->normalized->calibrated->Seed); - compareHistogramVector2.push_back(runs[runi]->histogram->normalized->Seed); + //compareHistogramVector.push_back(runs[runi]->histogram->normalized->calibrated->Seed); + //compareHistogramVector2.push_back(runs[runi]->histogram->normalized->Seed); //runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized->calibrated, runs[runi]->histogram->normalized->calibrated->Seed, "landau", 1); // runs[runi]->plot1DHistogram(runs[runi]->histogramwoRTS->normalized->calibrated, runs[runi]->histogramwoRTS->normalized->calibrated->Seed, "landau", true); - // runs[runi]->plot1DHistogram(runs[runi]->histogramwoRTS->normalized->calibrated, runs[runi]->histogramwoRTS->normalized->calibrated->Sum, "gaus", true); + runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized, runs[runi]->histogram->normalized->Seed, "gaus", true); // // Uncomment below to do analysis without RTS pixel // compareHistogramClassVector2.push_back(runs[runi]->histogramwoRTSthreshold); diff --cc MABS_run_analyzer/Run.c index 497cc3b,7c17cb0..6e2380c --- a/MABS_run_analyzer/Run.c +++ b/MABS_run_analyzer/Run.c @@@ -2110,8 -2101,9 +2110,7 @@@ TCanvas* Run::plot1DHistogram(Histogram if (withOverflow) onehistogram=ShowOverflow(onehistogram); onehistogram->Draw(); - - cout << colorcyan << "Harambe died for this" << endlr; - - Double_t* parameters = (Double_t *)calloc(9, sizeof(Double_t)); // allocate 9 parameters for safety, maximum 8 used at the moment + Double_t* parameters = (Double_t *)calloc(10, sizeof(Double_t)); // allocate 10 parameters for safety, maximum 9 used at the moment Float_t maxValue = 0; if (fitFuncType!="") {