Skip to content

Commit 42fd6f6

Browse files
committed
new changes,
1 parent 8c59dcc commit 42fd6f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGMM/Lumi/Tasks/lumiStability.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ struct LumiStabilityTask {
270270
nOrbitsPerTF = 32; // 128 in 2022, 32 in 2023
271271
}
272272
int runNumber = bcs.iteratorAt(0).runNumber();
273+
int64_t tsSOR = 0;
274+
int64_t tsEOR = 1;
273275
// std::string histName = "hOrbitFDDVertexCoinc_" + std::to_string(runNumber);
274276
if (runNumber != lastRunNumber && executionCounter < 1) {
275277
tsSOR = 0;
@@ -463,6 +465,7 @@ struct LumiStabilityTask {
463465
histos.fill(HIST("FDD/bcVertexTrigger"), localBC);
464466
histos.fill(HIST("FDD/hCounts"), 1);
465467
histos.fill(HIST("hOrbitFDDVertex"), orbit - minOrbit);
468+
histos.fill(HIST("FDD/hTimeForRate"), (bc.timestamp() - tsSOR) * 1000); // Converting ms into seconds
466469

467470
if (bcPatternB[localBC]) {
468471
histos.fill(HIST("FDD/hTimeForRate"), (bc.timestamp() - tsSOR) * 1.e-3); // Converting ms into seconds

0 commit comments

Comments
 (0)