Skip to content

Commit

Permalink
Revert "Revert "CSJet update for fastjet-contrib 1.044""
Browse files Browse the repository at this point in the history
This reverts commit 37f6e7c.
  • Loading branch information
mseidel42 committed Sep 3, 2020
1 parent 86caca1 commit f4aabea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GeneratorInterface/RivetInterface/test/rivet_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
)

process.load("GeneratorInterface.RivetInterface.rivetAnalyzer_cfi")
process.rivetAnalyzer.AnalysisNames = cms.vstring('MC_GENERIC', 'CMS_2013_I1224539_DIJET', 'CMS_2014_I1305624')
process.rivetAnalyzer.AnalysisNames = cms.vstring('MC_GENERIC', 'CMS_2014_I1305624')

# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen*process.rivetAnalyzer)
Expand All @@ -95,4 +95,4 @@
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
getattr(process,path)._seq = process.generator * getattr(process,path)._seq
getattr(process,path)._seq = process.generator * getattr(process,path)._seq
2 changes: 1 addition & 1 deletion RecoJets/JetProducers/plugins/CSJetProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void CSJetProducer::runAlgorithm(edm::Event& iEvent, edm::EventSetup const& iSet
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_do_mass_subtraction();
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 f4aabea

Please sign in to comment.