compareHistogramVectorRTSSum.push_back(*(runs[runi]->histogramwoRTS->normalized->Sum));
runs[runi]->plot1DHistogram(runs[runi]->histogram->pixeltimefiredDistrib, "gaus", false, true);
- runs[runi]->plot1DHistogram(runs[runi]->histogram->LeakageCurrentInPixelSorted);
if (runi+1 == numberRuns) {
compareHistogramVectorVector.push_back(compareHistogramVectorRTSSeed);
}
}
+
+ if (analysisType.Contains("leak")) { // analyze cluster formation
+ // Plot leakage current
+ compareHistogramLeakageCurrent.push_back(runs[runi]->histogram->LeakageCurrentDistrib);
+ if (runi+1 == numberRuns) {
+ compareHistogramVectorVector.push_back(compareHistogramLeakageCurrent);
+ }
+
+ runs[runi]->plot1DHistogram(runs[runi]->histogramdynamicalthreshold->Veto, "GaussTail", true);
+ runs[runi]->plot1DHistogram(runs[runi]->histogram->LeakageCurrentInPixelSorted, "", false, true);
+ }
+
if (analysisType.Contains("seedf")) { // seedfit: seed integral anaylsis
runs[runi]->plot1DHistogram( HistogramTypeDefaultPt->normalized->Seed, "gaus", true, false, false, HistogramTypeDefaultPt->fixedThresholdValue);
runs[runi]->plot1DHistogram( runs[runi]->histogramdynamicalthreshold->normalized->Seed, "gaus", true, false, false, HistogramTypeDefaultPt->fixedThresholdValue);
- if (analysisType.Contains("leak")) { // analyze cluster formation
- // Plot leakage current
- compareHistogramLeakageCurrent.push_back(HistogramTypeDefaultPt->LeakageCurrentDistrib);
- if (runi+1 == numberRuns) {
- compareHistogramVectorVector.push_back(compareHistogramLeakageCurrent);
- }
-
- runs[runi]->plot1DHistogram(runs[runi]->histogramdynamicalthreshold->Veto, "GaussTail", true);
- runs[runi]->plot1DHistogram(HistogramTypeDefaultPt->LeakageCurrentInPixelSorted, "", false, true);
- }
-
-
// write all histograms to a dat file, can be imported by ORIGIN or Excel. Leave this line ;)
runs[runi]->writeAllHistogramsToFile();