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 std::auto_ptr<double> outputRho(
new double(
bge_.rho()));
33 iEvent.
put(outputRho);
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 &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::InputTag pfCandidatesTag_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual ~FixedGridRhoProducerFastjet()
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
fastjet::GridMedianBackgroundEstimator bge_