runs[runi]->upperpart = 0;
}
}
- runs[runi]->setResultsPath("/home/blinnik/Dropbox/Promotion/MABS_Analyse/NoiseUntersuchung1014neq/");
+ runs[runi]->setResultsPath("./results/");
runs[runi]->setPlotStyle(runi);
runs[runi]->useDynamicalNoise(true);
runs[runi]->analyzeRun(false); // creates or opens .root file, can analyze the RAW data
// gROOT->SetBatch(kTRUE);
-// runs[runi]->plotSeed();
+// runs[runi]->plotSeed();
// runs[runi]->plotSum();
- runs[runi]->plotVeto();
+// runs[runi]->plotVeto();
// runs[runi]->plotNoise();
if (!isBatch)
gROOT->SetBatch(kFALSE);
-// runs[runi]->plotAllHistograms();
+ runs[runi]->plotAllHistograms();
// runs[runi]->plotAllHistogramsCalibrated();
// runs[runi]->writeAllHistogramsToFile();
}
canvas->cd(1);
histogramstructpointer->Seed->Draw("");
plotVerticalLine(histogramstructpointer->Seed, histogramstructpointer->posSeed);
- lastbin = histogramstructpointer->Seed->GetBinCenter(histogramstructpointer->Seed->FindLastBinAbove(10,1));
+ lastbin = histogramstructpointer->Seed->GetBinCenter(histogramstructpointer->Seed->FindLastBinAbove(2,1));
histogramstructpointer->Seed->SetAxisRange(0,lastbin*1.1,"X");
gPad->SetLogy(1);
canvas->cd(2);
histogramstructpointer->Sum->Draw();
plotVerticalLine(histogramstructpointer->Sum, histogramstructpointer->posSum);
- lastbin = histogramstructpointer->Sum->GetBinCenter(histogramstructpointer->Sum->FindLastBinAbove(10,1));
+ lastbin = histogramstructpointer->Sum->GetBinCenter(histogramstructpointer->Sum->FindLastBinAbove(2,1));
histogramstructpointer->Sum->SetAxisRange(0,lastbin*1.1,"X");
canvas->cd(3);
histogram.Veto->Draw();
* @return peak position of the fit
*
*/
- Float_t FitPerform(TH1F*, TString fitFuncType="landau");
+ Float_t FitPerform(TH1F*, TString fitFuncType="landau", Bool_t verbose=true);
systemparam systemparamUSB {
800, // maxbin;
800/4,// nbins;
- 5, //vetothreshold
+ 25, //vetothreshold
10,
100
};