Commit 9a065346 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisEfficiency: shift all relevant histograms by 1/2 pitch

(cherry picked from commit 180198ee)
parent ffb1223d
......@@ -54,11 +54,11 @@ void AnalysisEfficiency::initialise() {
hChipEfficiencyMap_trackPos = new TProfile2D("chipEfficiencyMap_trackPos",
title.c_str(),
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,
1);
title = m_detector->name() + " Global efficiency map;x [mm];y [mm];efficiency";
......@@ -76,11 +76,11 @@ void AnalysisEfficiency::initialise() {
hChipEfficiencyMap_clustPos = new TProfile2D("chipEfficiencyMap_clustPos",
title.c_str(),
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,
1);
title = m_detector->name() + " Global efficiency map;x [mm];y [mm];efficiency";
......
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