Skip to content

Commit

Permalink
Merge pull request #22226 from mverwe/removeAllZeroPt
Browse files Browse the repository at this point in the history
remove all zero pt particles in constituent subtraction used for heavy ion events
  • Loading branch information
cmsbuild committed Feb 17, 2018
2 parents 5c51fbb + 1028359 commit 0b1b047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RecoJets/JetProducers/plugins/CSJetProducer.cc
Expand Up @@ -111,6 +111,7 @@ void CSJetProducer::runAlgorithm( edm::Event & iEvent, edm::EventSetup const& iS
subtractor.set_max_distance(csRParam_); // free parameter for the maximal allowed distance between particle i and ghost k
subtractor.set_alpha(csAlpha_); // free parameter for the distance measure (the exponent of particle pt). Note that in older versions of the package alpha was multiplied by two but in newer versions this is not the case anymore
subtractor.set_do_mass_subtraction(true);
subtractor.set_remove_all_zero_pt_particles(true);

std::vector<fastjet::PseudoJet> subtracted_particles = subtractor.do_subtraction(particles,ghosts);

Expand Down

0 comments on commit 0b1b047

Please sign in to comment.