Commit 4256f201 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Prealignment: shift all relevant histograms by 1/2 pitch

parent a5e5eaf8
...@@ -39,20 +39,20 @@ void Prealignment::initialise() { ...@@ -39,20 +39,20 @@ void Prealignment::initialise() {
correlationX2Dlocal = new TH2F("correlationX_2Dlocal", correlationX2Dlocal = new TH2F("correlationX_2Dlocal",
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,
reference->nPixels().X(), reference->nPixels().X(),
0, -0.5,
reference->nPixels().X()); reference->nPixels().X() - 0.5);
title = m_detector->name() + ": 2D correlation Y (local);y [px];y_{ref} [px];events"; title = m_detector->name() + ": 2D correlation Y (local);y [px];y_{ref} [px];events";
correlationY2Dlocal = new TH2F("correlationY_2Dlocal", correlationY2Dlocal = new TH2F("correlationY_2Dlocal",
title.c_str(), title.c_str(),
m_detector->nPixels().Y(), m_detector->nPixels().Y(),
0, -0.5,
m_detector->nPixels().Y(), m_detector->nPixels().Y() - 0.5,
reference->nPixels().Y(), reference->nPixels().Y(),
0, -0.5,
reference->nPixels().Y()); reference->nPixels().Y() - 0.5);
title = m_detector->name() + ": 2D correlation X (global);x [mm];x_{ref} [mm];events"; title = m_detector->name() + ": 2D correlation X (global);x [mm];x_{ref} [mm];events";
correlationX2D = new TH2F("correlationX_2D", title.c_str(), 100, -10., 10., 100, -10., 10.); correlationX2D = new TH2F("correlationX_2D", title.c_str(), 100, -10., 10., 100, -10., 10.);
title = m_detector->name() + ": 2D correlation Y (global);y [mm];y_{ref} [mm];events"; title = m_detector->name() + ": 2D correlation Y (global);y [mm];y_{ref} [mm];events";
......
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