Skip to content

Commit 4946d08

Browse files
authored
set limit on time granularity for some histograms
1 parent 773dfd7 commit 4946d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DPG/Tasks/AOTEvent/eventSelectionQa.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ struct EventSelectionQaTask {
723723

724724
double minSec = floor(tsSOR / 1000.);
725725
double maxSec = ceil(tsEOR / 1000.);
726-
const AxisSpec axisSeconds{static_cast<int>(maxSec - minSec), minSec, maxSec, "seconds"};
726+
const AxisSpec axisSeconds{maxSec - minSec < 5000 ? static_cast<int>(maxSec - minSec) : 5000, minSec, maxSec, "seconds"};
727727
const AxisSpec axisBcDif{600, -300., 300., "bc difference"};
728728
histos.add("hSecondsTVXvsBcDif", "", kTH2F, {axisSeconds, axisBcDif});
729729
histos.add("hSecondsTVXvsBcDifAll", "", kTH2F, {axisSeconds, axisBcDif});

0 commit comments

Comments
 (0)