Skip to content

Commit

Permalink
Merge pull request #27765 from weishi10141993/Exclude-3000022
Browse files Browse the repository at this point in the history
Exclude dark photon 3000022 tracking for CMSSW_9_3_X
  • Loading branch information
cmsbuild committed Aug 26, 2019
2 parents d0f86f6 + 165d8d6 commit 5fbe192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4Core/Generators/src/Generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ bool Generator::particlePassesPrimaryCuts(const G4ThreeVector& p) const
bool Generator::isExotic(HepMC::GenParticle* p) const
{
int pdgid = abs(p->pdg_id());
if ((pdgid >= 1000000 && pdgid < 4000000) || // SUSY, R-hadron, and technicolor particles
if ((pdgid >= 1000000 && pdgid < 4000000 && pdgid !=3000022) || // SUSY, R-hadron, and technicolor particles
pdgid == 17 || // 4th generation lepton
pdgid == 34 || // W-prime
pdgid == 37) // charged Higgs
Expand Down

0 comments on commit 5fbe192

Please sign in to comment.