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

EventLoaderCLICpix: shift int histograms by -1/2 bin

parent 0ad9d041
...@@ -50,10 +50,10 @@ void EventLoaderCLICpix::initialise() { ...@@ -50,10 +50,10 @@ void EventLoaderCLICpix::initialise() {
m_file.open(m_filename.c_str()); m_file.open(m_filename.c_str());
// Make histograms for debugging // Make histograms for debugging
hHitMap = new TH2F("hitMap", "hitMap", 64, 0, 64, 64, 0, 64); hHitMap = new TH2F("hitMap", "hitMap", 64, -0.5, 63.5, 64, -0.5, 63.5);
hPixelToT = new TH1F("pixelToT", "pixelToT", 20, 0, 20); hPixelToT = new TH1F("pixelToT", "pixelToT", 20, -0.5, 19.5);
hShutterLength = new TH1F("shutterLength", "shutterLength", 3000, 0, 0.3); hShutterLength = new TH1F("shutterLength", "shutterLength", 3000, 0, 0.3);
hPixelMultiplicity = new TH1F("pixelMultiplicity", "Pixel Multiplicity; # pixels; # events", 4100, 0, 4100); hPixelMultiplicity = new TH1F("pixelMultiplicity", "Pixel Multiplicity; # pixels; # events", 4100, -0.5, 4099.5);
} }
StatusCode EventLoaderCLICpix::run(std::shared_ptr<Clipboard> clipboard) { StatusCode EventLoaderCLICpix::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