gROOT->SetBatch(kFALSE);
// Uncomment below to do classical analysis withour RTS
-// compareHistogramClassVector2.push_back(runs[runi]->histogramwoRTS->normalized->calibrated);
-
- runs[runi]->plotAllHistograms(runs[runi]->histogram);
- //compareHistogramClassVector.push_back(runs[runi]->histogram->normalized->calibrated);
- //compareHistogramClassVector2.push_back(runs[runi]->histogram->normalized);
+ compareHistogramClassVector2.push_back(runs[runi]->histogram->normalized->calibrated);
+ compareHistogramClassVector.push_back(runs[runi]->histogram->normalized);
// compareHistogramClassVector2.push_back(runs[runi]->histogramthreshold);
- // compareHistogramVector2.push_back(runs[runi]->histogramwoRTS->normalized->calibrated->Seed);
- compareHistogramVector.push_back(runs[runi]->histogram->normalized->calibrated->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);
legendEntry = Form("%s", curhistogramclone->GetTitle());
leg2->AddEntry(curhistogramclone, legendEntry, "l");
leg2->Draw("SAME");
-// hs->Add(leg1);
+ // hs->Add(leg1);
curhistogramclone->SetAxisRange(0,lastbin2*1.1,"X");
curhistogramclone->SetAxisRange(0,heighestval2*1.1,"Y");
-// heighestval2 = (curhistogramclone->GetMaximum()>heighestval2?curhistogramclone->GetMaximum():heighestval2);
+ // heighestval2 = (curhistogramclone->GetMaximum()>heighestval2?curhistogramclone->GetMaximum():heighestval2);
curhistogramclone->GetYaxis()->SetRangeUser(1,heighestval2*1.2);
curhistogramclone->Draw("SAME");
-// gPad->SetLogy(1);
- gPad->SetGrid(1);
- gPad->SetGridy(1);
+ // gPad->SetLogy(1);
+ gPad->SetGrid(1);
+ gPad->SetGridy(1);
++
owntitle2->Clear();
owntitle2->AddText(trimRunnumberAtBegin(curhistogramclone->GetName()));
-// hs->Add(owntitle2);
+ // hs->Add(owntitle2);
owntitle2->Draw("SAME");
canvas->cd(3);