Skip to content

Commit b31ae36

Browse files
committed
fix tfNumber assignment
1 parent 48c99c2 commit b31ae36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/EMCAL/workflow/src/StandaloneAODProducerSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void StandaloneAODProducerSpec::run(ProcessingContext& pc)
5252
uint64_t tfNumber;
5353
if (mTFNumber == -1L) {
5454
// TODO has to be made globally unique (by using absolute time of TF). For now is unique within the run
55-
tfNumber = dh->tfCounter; // getTFNumber(startIR, runNumber);
55+
tfNumber = uint64_t(dh->firstTForbit) + (uint64_t(dh->runNumber) << 32); // getTFNumber(mStartIR, runNumber);
5656
} else {
5757
tfNumber = mTFNumber;
5858
}
@@ -168,4 +168,4 @@ DataProcessorSpec getStandaloneAODProducerSpec()
168168
}
169169

170170
} // namespace emcal
171-
} // namespace o2
171+
} // namespace o2

0 commit comments

Comments
 (0)