#include <FixedGridRhoProducerFastjet.h>
FixedGridRhoProducerFastjet::FixedGridRhoProducerFastjet |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
FixedGridRhoProducerFastjet::~FixedGridRhoProducerFastjet |
( |
| ) |
|
|
override |
Definition at line 22 of file FixedGridRhoProducerFastjet.cc.
References bge_, DEFINE_FWK_MODULE, edm::Event::getByToken(), mps_fire::i, input_pfcoll_token_, haddnano::inputs, and edm::Event::put().
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()));
edm::EDGetTokenT< edm::View< reco::Candidate > > input_pfcoll_token_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
fastjet::GridMedianBackgroundEstimator bge_
fastjet::GridMedianBackgroundEstimator FixedGridRhoProducerFastjet::bge_ |
|
private |