10 bge_( iConfig.getParameter<double>(
"maxRapidity"),
11 iConfig.getParameter<double>(
"gridSpacing") )
26 std::vector<fastjet::PseudoJet>
inputs;
28 iend = pfColl->end(),
i = ibegin;
i != iend; ++
i ){
29 inputs.push_back( fastjet::PseudoJet(
i->px(),
i->py(),
i->pz(),
i->energy()) );
31 bge_.set_particles(inputs);
32 iEvent.
put(std::make_unique<double>(
bge_.rho()));
FixedGridRhoProducerFastjet(const edm::ParameterSet &iConfig)
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::View< reco::Candidate > > input_pfcoll_token_
virtual void produce(edm::Event &, const edm::EventSetup &)
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_
virtual ~FixedGridRhoProducerFastjet()
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
fastjet::GridMedianBackgroundEstimator bge_