Commit 3b107b48 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderTimepix3: shift all relevant histograms by 1/2 pitch

(cherry picked from commit 3bf6210e)
parent 5aba65f6
...@@ -214,11 +214,11 @@ void EventLoaderTimepix3::initialise() { ...@@ -214,11 +214,11 @@ void EventLoaderTimepix3::initialise() {
hHitMap = new TH2F("hitMap", hHitMap = new TH2F("hitMap",
title.c_str(), title.c_str(),
m_detector->nPixels().X(), m_detector->nPixels().X(),
0, -0.5,
m_detector->nPixels().X(), m_detector->nPixels().X() - 0.5,
m_detector->nPixels().Y(), m_detector->nPixels().Y(),
0, -0.5,
m_detector->nPixels().Y()); m_detector->nPixels().Y() - 0.5);
} }
StatusCode EventLoaderTimepix3::run(std::shared_ptr<Clipboard> clipboard) { StatusCode EventLoaderTimepix3::run(std::shared_ptr<Clipboard> clipboard) {
......
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