Commit e780ba18 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisTimingATLASpix: add new 2D histogram ToT vs. row

parent d33dc353
......@@ -291,6 +291,15 @@ void AnalysisTimingATLASpix::initialise() {
0,
m_detector->nPixels().Y());
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]");
......@@ -574,6 +583,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());
......
......@@ -78,6 +78,7 @@ namespace corryvreckan {
TH2F* hHitMapAssoc_inPixel_highCharge;
TH2F* hClusterMapAssoc;
TH2F* hTotVsRow;
TH2F* hTotVsTime;
TH2F* hTotVsTime_high;
TH2F* hTotVsTime_low;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment