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

EventLoaderEUDAQ2: shift int histograms by -1/2 bin

parent c6094da4
......@@ -72,7 +72,7 @@ void EventLoaderEUDAQ2::initialise() {
title = "Corryvreckan event end times (on clipboard); Corryvreckan event duration [ms];# entries";
hClipboardEventDuration = new TH1D("clipboardEventDuration", title.c_str(), 3e6, 0, 3e3);
hTriggersPerEvent = new TH1D("hTriggersPerEvent", "hTriggersPerEvent;triggers per event;entries", 20, 0, 20);
hTriggersPerEvent = new TH1D("hTriggersPerEvent", "hTriggersPerEvent;triggers per event;entries", 20, -0.5, 19.5);
// Create the following histograms only when detector is not auxiliary:
if(!m_detector->isAuxiliary()) {
......@@ -103,13 +103,13 @@ void EventLoaderEUDAQ2::initialise() {
hPixelTimes_long = new TH1F("hPixelTimes_long", title.c_str(), 3e6, 0, 3e3);
title = ";pixel raw values;# events";
hPixelRawValues = new TH1F("hPixelRawValues", title.c_str(), 1024, 0, 1024);
hPixelRawValues = new TH1F("hPixelRawValues", title.c_str(), 1024, -0.5, 1023.5);
title = "Pixel Multiplicity per EUDAQ Event;# pixels;# events";
hPixelMultiplicityPerEudaqEvent = new TH1F("hPixelMultiplicityPerEudaqEvent", title.c_str(), 1000, 0, 1000);
hPixelMultiplicityPerEudaqEvent = new TH1F("hPixelMultiplicityPerEudaqEvent", title.c_str(), 1000, -0.5, 999.5);
title = "Pixel Multiplicity per Corry Event;# pixels;# events";
hPixelMultiplicityPerCorryEvent = new TH1F("hPixelMultiplicityPerCorryEvent", title.c_str(), 1000, 0, 1000);
hPixelMultiplicityPerCorryEvent = new TH1F("hPixelMultiplicityPerCorryEvent", title.c_str(), 1000, -0.5, 999.5);
if(m_get_time_residuals) {
hPixelTimeEventBeginResidual =
......
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