43 produces<edm::ValueMap<float>>(
"JPTPUDiscriminant");
44 produces<edm::ValueMap<int>>(
"JPTPUId");
59 for (
unsigned int i = 0;
i <
jets->size(); ++
i) {
78 if (fabs(
jet.eta()) < 2.6) {
97 std::cout <<
" PUID producer::Corrected JPT Jet is " <<
jet.pt() <<
" " <<
jet.eta() <<
" " <<
jet.phi() <<
" " 98 <<
jet.getSpecific().Zch << std::endl;
101 auto mvaout = std::make_unique<ValueMap<float>>();
103 mvafiller.insert(
jets,
mva.begin(),
mva.end());
107 auto idflagout = std::make_unique<ValueMap<int>>();
109 idflagfiller.insert(
jets, idflag.begin(), idflag.end());
void produce(edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
~PileupJPTJetIdProducer() override
T getUntrackedParameter(std::string const &, T const &) const
Jets made from CaloJets corrected for ZSP and tracks.
edm::EDGetTokenT< edm::View< reco::JPTJet > > input_token_
cms::PileupJPTJetIdAlgo * pualgo
float fillJPTBlock(const reco::JPTJet *jet)
PileupJPTJetIdProducer(const edm::ParameterSet &)