24 produces< reco::CaloJetCollection> ();
31 auto caloJets = std::make_unique<reco::CaloJetCollection>();
36 for (
auto const& ijet : *h_jets){
44 newCaloJet.setJetArea(jetArea);
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)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
float mEnergyFractionEm
Em energy fraction.
const StringCutObjectSelector< reco::Jet > selector_
CaloJetSlimmer(edm::ParameterSet const ¶ms)
virtual ~CaloJetSlimmer()
virtual float jetArea() const
get jet area
const edm::EDGetTokenT< edm::View< reco::CaloJet > > srcToken_
math::XYZPoint Point
point in the space
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override