Skip to content

Commit

Permalink
fixing missing particle in filter - 93x
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto-sanchez committed Jan 31, 2018
1 parent e1a0f11 commit fcf00ab
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -236,6 +236,7 @@ bool PythiaDauVFilterMatchID::filter(edm::StreamID,edm::Event& iEvent, const edm
for (HepMC::GenVertex::particle_iterator des=(*p)->end_vertex()->particles_begin(HepMC::children);
des != (*p)->end_vertex()->particles_end(HepMC::children);
++des) {
if ( TMath::Abs((*des)->pdg_id()) == 22 ) {continue;}
++ndau;
if (fVerbose > 5) {
edm::LogInfo("PythiaDauVFilterMatchID") << "ID: " << (*des)->pdg_id() << " pT: " << (*des)->momentum().perp() << " eta: " << (*des)->momentum().eta() << endl;
Expand Down

0 comments on commit fcf00ab

Please sign in to comment.