Skip to content

Commit

Permalink
Add c tag for jets
Browse files Browse the repository at this point in the history
  • Loading branch information
mseidel42 committed Jul 14, 2017
1 parent e6aeb1a commit 9e9b3b4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -46,6 +46,7 @@ void ParticleLevelProducer::addGenJet(Rivet::Jet jet, std::unique_ptr<reco::GenJ
genJet.setP4(p4(jet));
genJet.setVertex(genVertex_);
if ( jet.bTagged() ) genJet.setPdgId(5);
else if ( jet.cTagged() ) genJet.setPdgId(4);
genJet.setJetArea(pjet.has_area() ? pjet.area() : 0);

for ( auto const & p : jet.particles()) {
Expand Down

0 comments on commit 9e9b3b4

Please sign in to comment.