Skip to content

Commit

Permalink
from mayConsume to consumes
Browse files Browse the repository at this point in the history
  • Loading branch information
soleti committed Dec 9, 2021
1 parent e14e0ff commit f96594f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonMC/src/CosmicTimeOffset_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ namespace mu2e {
produces<SimTimeOffset>();

addTimeOffset_ = conf().cosmicModuleLabel(cosmicModuleLabel_);
mayConsume<GenParticleCollection>(cosmicModuleLabel_);

if (addTimeOffset_) {
consumes<GenParticleCollection>(cosmicModuleLabel_);
produces<GenParticleCollection>();
}
}
Expand Down

0 comments on commit f96594f

Please # to comment.