Skip to content

Commit

Permalink
Merge pull request #24 from beaudett/topic-propagationfix-fbrem
Browse files Browse the repository at this point in the history
insert fbrem with Tracking Particles
  • Loading branch information
clelange authored May 4, 2017
2 parents 117832d + 83e0e85 commit d3fc906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HGCalAnalysis/plugins/HGCalAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ HGCalAnalysis::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)
float r_origin=(*part)[i].parentVertex()->position().Pt();
bool fromBeamPipe=true;
if (r_origin>2.0) fromBeamPipe=false;
agpc->push_back(AGenPart((*part)[i].eta(),(*part)[i].phi(),(*part)[i].pt(),(*part)[i].energy(),dvx,dvy,dvz,(*part)[i].pdgId(),tp_genpart,reachedEE,fromBeamPipe));
agpc->push_back(AGenPart((*part)[i].eta(),(*part)[i].phi(),(*part)[i].pt(),(*part)[i].energy(),dvx,dvy,dvz,-1.,(*part)[i].pdgId(),tp_genpart,reachedEE,fromBeamPipe));
}
}
} else
Expand Down

0 comments on commit d3fc906

Please sign in to comment.