Skip to content

Commit a1c6162

Browse files
authored
Refactor skimMCParticles function call
1 parent 29d741c commit a1c6162

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

PWGDQ/TableProducer/tableMakerMC_withAssoc.cxx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,10 +1215,6 @@ struct TableMakerMC {
12151215
eventMC.reserve(mcCollisions.size());
12161216
skimMCCollisions(mcCollisions);
12171217

1218-
// select MC particles to be written using the specified MC signals
1219-
// NOTE: tables are not written at this point, only label maps are being created
1220-
skimMCParticles(mcParticles, mcCollisions);
1221-
12221218
// skim collisions
12231219
event.reserve(collisions.size());
12241220
eventExtended.reserve(collisions.size());
@@ -1234,7 +1230,7 @@ struct TableMakerMC {
12341230
// NOTE: tables are not written at this point, only label maps are being created
12351231
// Only skim MC particles when the MC collision is reconstructed
12361232
// Because in the first five DFs of each run, the MC collisions are not reconstructed
1237-
skimMCParticles<TEventMcFillMap>(mcParticles, mcCollisions);
1233+
skimMCParticles(mcParticles, mcCollisions);
12381234

12391235
// Clear index map and reserve memory for barrel tables
12401236
if constexpr (static_cast<bool>(TTrackFillMap)) {

0 commit comments

Comments
 (0)