Skip to content

Commit 55b66ae

Browse files
shahor02sawenzel
authored andcommitted
Set proper EOR to anchored MC GRPECS
1 parent 84ee7bd commit 55b66ae

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)