10 jetsInput_ (iConfig.getParameter<edm::InputTag>(
"jetsInput")),
11 min_EMF_ (iConfig.getParameter<double>(
"min_EMF")),
12 max_EMF_ (iConfig.getParameter<double>(
"max_EMF")),
13 min_N90_ (iConfig.getParameter<int>(
"min_N90")),
14 min_N90hits_ (iConfig.getParameter<int>(
"min_N90hits")),
15 jetID_ (iConfig.getParameter<edm::
ParameterSet>(
"JetIDParams"))
18 produces< reco::CaloJetCollection > ();
36 desc.
add<
double>(
"min_EMF",0.0001);
37 desc.
add<
double>(
"max_EMF",999.);
38 desc.
add<
int>(
"min_N90",0);
39 desc.
add<
int>(
"min_N90hits",2);
41 jetidPSet.
add<
bool>(
"useRecHits",
true);
48 descriptions.
add(
"hltCaloJetIDProducer",desc);
60 for (reco::CaloJetCollection::const_iterator calojetc = calojets->begin();
61 calojetc != calojets->end(); ++calojetc) {
63 if (
std::abs(calojetc->eta()) >= 2.6) {
64 result->push_back(*calojetc);
68 result->push_back(*calojetc);
HLTCaloJetIDProducer(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Abs< T >::type abs(const T &t)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< reco::CaloJetCollection > m_theCaloJetToken
reco::helper::JetIDHelper jetID_
void calculate(const edm::Event &event, const reco::CaloJet &jet, const int iDbg=0)
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects