21 produces<reco::CaloJetCollection>();
27 auto caloJets = std::make_unique<reco::CaloJetCollection>();
32 for (
auto const& ijet : *h_jets) {
40 newCaloJet.setJetArea(jetArea);
41 caloJets->push_back(newCaloJet);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Jets made from CaloTowers.
float mEnergyFractionHadronic
Hadronic energy fraction.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
float mEnergyFractionEm
Em energy fraction.
~CaloJetSlimmer() override
const StringCutObjectSelector< reco::Jet > selector_
CaloJetSlimmer(edm::ParameterSet const ¶ms)
virtual float jetArea() const
get jet area
const edm::EDGetTokenT< edm::View< reco::CaloJet > > srcToken_
math::XYZPoint Point
point in the space
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override