Commit 996aeb03 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderATLASpix: shift all relevant histograms by 1/2 pitch

(cherry picked from commit 0436106b)
parent 69698304
......@@ -90,20 +90,20 @@ void EventLoaderATLASpix::initialise() {
hHitMap_highTot = new TH2F("hitMap_highTot",
"hitMap_hithTot; pixel column; pixel row; # events",
m_detector->nPixels().X(),
0,
m_detector->nPixels().X(),
-0.5,
m_detector->nPixels().X() - 0.5,
m_detector->nPixels().Y(),
0,
m_detector->nPixels().Y());
-0.5,
m_detector->nPixels().Y() - 0.5);
hHitMap_totWeighted = new TProfile2D("hHitMap_totWeighted",
"hHitMap_totWeighted; pixel column; pixel row; # events",
m_detector->nPixels().X(),
0,
m_detector->nPixels().X(),
m_detector->nPixels().Y(),
0,
-0.5,
m_detector->nPixels().X() - 0.5,
m_detector->nPixels().Y(),
-0.5,
m_detector->nPixels().Y() - 0.5,
0,
100);
......
Supports Markdown
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