Skip to content

Commit 31c59a8

Browse files
committed
Set proper EOR to anchored MC GRPECS
1 parent 710bcf0 commit 31c59a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataFormats/Parameters/src/GRPTool.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ bool create_GRPs(Options const& opts)
312312
auto soreor = ccdbmgr.getRunDuration(opts.run);
313313
runStart = soreor.first;
314314
grp.setTimeStart(runStart);
315-
grp.setTimeEnd(runStart + 3600000);
315+
grp.setTimeEnd(soreor.second);
316316
grp.setNHBFPerTF(opts.orbitsPerTF);
317317
std::vector<std::string> modules{};
318318
if (!o2::conf::SimConfig::determineActiveModulesList(opts.detectorList, opts.readout, std::vector<std::string>(), modules)) {

0 commit comments

Comments
 (0)