Skip to content

Commit c579330

Browse files
Add globalBC to data model
1 parent dabead6 commit c579330

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

PWGLF/DataModel/LFStrangenessTables.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,14 @@ DECLARE_SOA_TABLE(StraFT0CQVsEv, "AOD", "STRAFT0CQVSEv", //! events used to comp
224224
epcalibrationtable::TriggerEventEP);
225225
DECLARE_SOA_TABLE(StraZDCSP, "AOD", "STRAZDCSP", //! events used to compute the ZDC spectator plane
226226
spcalibrationtable::TriggerEventSP, spcalibrationtable::PsiZDCA, spcalibrationtable::PsiZDCC);
227-
DECLARE_SOA_TABLE(StraStamps, "AOD", "STRASTAMPS", //! information for ID-ing mag field if needed
227+
DECLARE_SOA_TABLE(StraStamps_000, "AOD", "STRASTAMPS", //! information for ID-ing mag field if needed
228228
bc::RunNumber, timestamp::Timestamp);
229+
DECLARE_SOA_TABLE_VERSIONED(StraStamps_001, "AOD", "STRASTAMPS", 1, //! information for ID-ing mag field if needed
230+
bc::RunNumber, timestamp::Timestamp, bc::GlobalBC);
229231

230232
using StraRawCents = StraRawCents_004;
231233
using StraEvSels = StraEvSels_003;
234+
using StraStamps = StraStamps_001;
232235
using StraCollision = StraCollisions::iterator;
233236
using StraCent = StraCents::iterator;
234237

PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ struct strangederivedbuilder {
382382
energyCommonZNA, energyCommonZNC,
383383
// Collision flags
384384
collision.flags());
385-
strangeStamps(bc.runNumber(), bc.timestamp());
385+
strangeStamps(bc.runNumber(), bc.timestamp(), bc.globalBC());
386386
}
387387
for (const auto& v0 : V0Table_thisColl)
388388
V0CollIndices[v0.globalIndex()] = strangeColl.lastIndex();

0 commit comments

Comments
 (0)