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

AnalysisTimingATLASpix: rename histogram more clearly: high->highToT

(cherry picked from commit b7865ccf)
parent 2c652e15
No related branches found
No related tags found
No related merge requests found
...@@ -330,9 +330,9 @@ void AnalysisTimingATLASpix::initialise() { ...@@ -330,9 +330,9 @@ void AnalysisTimingATLASpix::initialise() {
hTotVsTime->GetXaxis()->SetTitle("pixel ToT [lsb]"); hTotVsTime->GetXaxis()->SetTitle("pixel ToT [lsb]");
hTotVsTime->GetYaxis()->SetTitle("time [s]"); hTotVsTime->GetYaxis()->SetTitle("time [s]");
if(m_config.has("high_tot_cut")) { if(m_config.has("high_tot_cut")) {
hTotVsTime_high = new TH2F("hTotVsTime_high", "hTotVsTime_high", 64, 0, 64, 1e6, 0, 100); hTotVsTime_highToT = new TH2F("hTotVsTime_highToT", "hTotVsTime_highToT", 64, 0, 64, 1e6, 0, 100);
hTotVsTime_high->GetXaxis()->SetTitle("pixel ToT [lsb] if > high_tot_cut"); hTotVsTime_highToT->GetXaxis()->SetTitle("pixel ToT [lsb] if > high_tot_cut");
hTotVsTime_high->GetYaxis()->SetTitle("time [s]"); hTotVsTime_highToT->GetYaxis()->SetTitle("time [s]");
} }
// control plots for "left/right tail" and "main peak" of the track time correlation // control plots for "left/right tail" and "main peak" of the track time correlation
...@@ -655,8 +655,8 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) { ...@@ -655,8 +655,8 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
hTotVsTime->Fill(pixel->raw(), static_cast<double>(Units::convert(pixel->timestamp(), "s"))); hTotVsTime->Fill(pixel->raw(), static_cast<double>(Units::convert(pixel->timestamp(), "s")));
if(m_config.has("high_tot_cut") && pixel->raw() > m_highTotCut) { if(m_config.has("high_tot_cut") && pixel->raw() > m_highTotCut) {
hHitMapAssoc_highToT->Fill(pixel->column(), pixel->row()); hHitMapAssoc_highToT->Fill(pixel->column(), pixel->row());
hTotVsTime_high->Fill(pixel->raw(), hTotVsTime_highToT->Fill(pixel->raw(),
static_cast<double>(Units::convert(pixel->timestamp(), "s"))); static_cast<double>(Units::convert(pixel->timestamp(), "s")));
} }
} }
hClusterMapAssoc->Fill(cluster->column(), cluster->row()); hClusterMapAssoc->Fill(cluster->column(), cluster->row());
......
...@@ -82,7 +82,7 @@ namespace corryvreckan { ...@@ -82,7 +82,7 @@ namespace corryvreckan {
TH2F* hTotVsRow; TH2F* hTotVsRow;
TH2F* hTotVsTime; TH2F* hTotVsTime;
TH2F* hTotVsTime_high; TH2F* hTotVsTime_highToT;
// Control Plots for "left/right tail" and "main peak" of time correlation // Control Plots for "left/right tail" and "main peak" of time correlation
TH2F* hInPixelMap_leftTail; TH2F* hInPixelMap_leftTail;
......
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