Skip to content

Commit a46bcd7

Browse files
Update femtoDreamProducer.cxx
1 parent cd0e23a commit a46bcd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PWGHF/HFC/TableProducer/femtoDreamProducer.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ struct HfFemtoDreamProducer {
102102
Produces<aod::FDHfCandMC> rowCandMcCharmHad;
103103
Produces<aod::FDHfCandMCGen> rowCandCharmHadGen;
104104
Produces<aod::FDParticlesIndex> outputPartsIndex;
105+
Produces<aod::FDParticlesTimeStamp> outputPartsTime;
105106
Produces<aod::FDMCCollisions> outputMcCollision;
106107
Produces<aod::FDMCCollLabels> outputCollsMcLabels;
107108
Produces<aod::FDParticles> outputParts;
@@ -391,9 +392,11 @@ struct HfFemtoDreamProducer {
391392
trackCuts.fillQA<aod::femtodreamparticle::ParticleType::kTrack, aod::femtodreamparticle::TrackType::kNoChild, true>(track);
392393
// the bit-wise container of the systematic variations is obtained
393394
auto cutContainer = trackCuts.getCutContainer<false, aod::femtodreamparticle::cutContainerType>(track, track.pt(), track.eta(), sqrtf(powf(track.dcaXY(), 2.f) + powf(track.dcaZ(), 2.f)));
394-
395+
auto bc = col.template bc_as<aod::BCsWithTimestamps>();
396+
int64_t timeStamp = bc.timestamp();
395397
// track global index
396398
outputPartsIndex(track.globalIndex());
399+
outputPartsTime(timeStamp);
397400
// now the table is filled
398401

399402
outputParts(outputCollision.lastIndex(),

0 commit comments

Comments
 (0)