Skip to content

Commit

Permalink
Removed check on PDG code in GenParticleProducer
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch committed Sep 17, 2021
1 parent d0a86d6 commit b451605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/HepMCCandAlgos/plugins/GenParticleProducer.cc
Expand Up @@ -147,7 +147,7 @@ static const double mmToCm = 0.1;
static const double mmToNs = 1.0 / 299792458e-6;

GenParticleProducer::GenParticleProducer(const ParameterSet& cfg)
: abortOnUnknownPDGCode_(cfg.getUntrackedParameter<bool>("abortOnUnknownPDGCode", true)),
: abortOnUnknownPDGCode_(false),
saveBarCodes_(cfg.getUntrackedParameter<bool>("saveBarCodes", false)),
doSubEvent_(cfg.getUntrackedParameter<bool>("doSubEvent", false)),
useCF_(cfg.getUntrackedParameter<bool>("useCrossingFrame", false)) {
Expand Down

0 comments on commit b451605

Please sign in to comment.