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

EventLoaderTimepix3: shift all relevant histograms by 1/2 pitch

parent 231737da
...@@ -204,11 +204,11 @@ void EventLoaderTimepix3::initialise() { ...@@ -204,11 +204,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