10 : bge_(iConfig.getParameter<double>(
"maxRapidity"), iConfig.getParameter<double>(
"gridSpacing")) {
22 std::vector<fastjet::PseudoJet>
inputs;
25 inputs.push_back(fastjet::PseudoJet(
i->px(),
i->py(),
i->pz(),
i->energy()));
27 bge_.set_particles(inputs);
28 iEvent.
put(std::make_unique<double>(
bge_.rho()));
FixedGridRhoProducerFastjet(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< edm::View< reco::Candidate > > input_pfcoll_token_
~FixedGridRhoProducerFastjet() override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::InputTag pfCandidatesTag_
T getParameter(std::string const &) const
void produce(edm::Event &, const edm::EventSetup &) override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
fastjet::GridMedianBackgroundEstimator bge_