Commit 5f0d4c26 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

ClusteringSpatial: shift int histograms by -1/2 bin

parent 78a2b49d
......@@ -25,15 +25,15 @@ void ClusteringSpatial::initialise() {
// Cluster plots
std::string title = m_detector->getName() + " Cluster size;cluster size;events";
clusterSize = new TH1F("clusterSize", title.c_str(), 100, 0, 100);
clusterSize = new TH1F("clusterSize", title.c_str(), 100, -0.5, 99.5);
title = m_detector->getName() + " Cluster seed charge;cluster seed charge [e];events";
clusterSeedCharge = new TH1F("clusterSeedCharge", title.c_str(), 256, 0, 256);
clusterSeedCharge = new TH1F("clusterSeedCharge", title.c_str(), 256, -0.5, 255.5);
title = m_detector->getName() + " Cluster Width - Rows;cluster width [rows];events";
clusterWidthRow = new TH1F("clusterWidthRow", title.c_str(), 25, 0, 25);
clusterWidthRow = new TH1F("clusterWidthRow", title.c_str(), 25, -0.5, 24.5);
title = m_detector->getName() + " Cluster Width - Columns;cluster width [columns];events";
clusterWidthColumn = new TH1F("clusterWidthColumn", title.c_str(), 100, 0, 100);
clusterWidthColumn = new TH1F("clusterWidthColumn", title.c_str(), 100, -0.5, 99.5);
title = m_detector->getName() + " Cluster Charge;cluster charge [e];events";
clusterCharge = new TH1F("clusterCharge", title.c_str(), 5000, 0, 50000);
clusterCharge = new TH1F("clusterCharge", title.c_str(), 5000, -0.5, 49999.5);
title = m_detector->getName() + " Cluster Position (Global);x [mm];y [mm];events";
clusterPositionGlobal = new TH2F("clusterPositionGlobal",
title.c_str(),
......
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