18 : min_N90_(iConfig.getParameter<
int>(
"min_N90")),
19 min_N90hits_(iConfig.getParameter<
int>(
"min_N90hits")),
20 min_EMF_(iConfig.getParameter<double>(
"min_EMF")),
21 max_EMF_(iConfig.getParameter<double>(
"max_EMF")),
22 inputTag_(iConfig.getParameter<
edm::
InputTag>(
"jetsInput")),
24 jetIDHelper_(jetIDParams_, consumesCollector()) {
28 produces<reco::CaloJetCollection>();
37 desc.add<
int>(
"min_N90", -2);
38 desc.add<
int>(
"min_N90hits", 2);
39 desc.add<
double>(
"min_EMF", 1
e-6);
40 desc.add<
double>(
"max_EMF", 999.);
44 descNested.
add<
bool>(
"useRecHits",
true);
52 descriptions.
add(
"hltCaloJetIDProducer",
desc);
63 for (
auto const&
j : *calojets) {
66 if (!(
j.energy() > 0.))
edm::InputTag inputTag_
input CaloJet collection
double min_EMF_
minimum EMF
double max_EMF_
maximum EMF
void calculate(const edm::Event &event, const edm::EventSetup &setup, const reco::CaloJet &jet, const int iDbg=0)
~HLTCaloJetIDProducer() override
HLTCaloJetIDProducer(const edm::ParameterSet &iConfig)
Abs< T >::type abs(const T &t)
reco::helper::JetIDHelper jetIDHelper_
A helper to calculates calo jet ID variables.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
int min_N90hits_
mininum N90hits
edm::EDGetTokenT< reco::CaloJetCollection > m_theCaloJetToken
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects