Skip to content
Snippets Groups Projects
Commit e0152108 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisTimingATLASpix: add new 2D histogram ToT vs. row

(cherry picked from commit e780ba18)
parent 9fbf55b7
No related branches found
No related tags found
No related merge requests found
......@@ -292,6 +292,15 @@ void AnalysisTimingATLASpix::initialise() {
-0.5,
m_detector->nPixels().Y() - 0.5);
hTotVsRow = new TH2F("hTotVsRow",
"hTotVsRow;seed-pixel row;seed-pixel ToT [lsb]",
m_detector->nPixels().Y(),
0,
m_detector->nPixels().Y(),
64,
0,
64);
hTotVsTime = new TH2F("hTotVsTime", "hTotVsTime", 64, 0, 64, 1e6, 0, 100);
hTotVsTime->GetXaxis()->SetTitle("pixel ToT [lsb]");
hTotVsTime->GetYaxis()->SetTitle("time [s]");
......@@ -575,6 +584,8 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
hTrackCorrelationTimeVsCol->Fill(timeDiff, cluster->getSeedPixel()->column());
hTrackCorrelationTimeVsRow->Fill(timeDiff, cluster->getSeedPixel()->row());
hTotVsRow->Fill(cluster->getSeedPixel()->row(), cluster->getSeedPixel()->raw());
// single-pixel and multi-pixel clusters:
if(cluster->size() == 1) {
hTrackCorrelationTimeVsTot_1px->Fill(timeDiff, cluster->getSeedPixel()->raw());
......
......@@ -79,6 +79,7 @@ namespace corryvreckan {
TH2F* hHitMapAssoc_inPixel_highCharge;
TH2F* hClusterMapAssoc;
TH2F* hTotVsRow;
TH2F* hTotVsTime;
TH2F* hTotVsTime_high;
TH2F* hTotVsTime_low;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment