Skip to content

Commit 16d2f1a

Browse files
Add global mc flag for calorimeter branches
1 parent 6b81602 commit 16d2f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EventNtupleMaker_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ namespace mu2e {
435435
// Calorimeter MC: independent of fillEventMC() — calo MC products do not
436436
// require simParticles/primaryParticle so calo-only jobs can enable this
437437
// while keeping mc.fill false.
438-
bool fillCaloMC() const { return _conf.calo().fill() && _conf.calo().mc().fill(); }
438+
bool fillCaloMC() const { return _conf.calo().fill() && _conf.calo().mc().fill() && _conf.mc().fill; }
439439
bool fillCaloTrackMatchMC() const { return fillCaloMC() && _conf.calo().mc().fillTrackMatch(); }
440440
bool fillCaloClsMC() const { return fillCaloMC() && _conf.calo().mc().fillClusters(); }
441441
bool fillCaloHitsMC() const { return fillCaloMC() && _conf.calo().mc().fillHits(); }

0 commit comments

Comments
 (0)