18 : usePt_(iConfig.getParameter<
bool>(
"usePt")),
19 excludePFMuons_(iConfig.getParameter<
bool>(
"excludePFMuons")),
20 minNJetHt_(iConfig.getParameter<
int>(
"minNJetHt")),
21 minNJetMht_(iConfig.getParameter<
int>(
"minNJetMht")),
22 minPtJetHt_(iConfig.getParameter<double>(
"minPtJetHt")),
23 minPtJetMht_(iConfig.getParameter<double>(
"minPtJetMht")),
24 maxEtaJetHt_(iConfig.getParameter<double>(
"maxEtaJetHt")),
25 maxEtaJetMht_(iConfig.getParameter<double>(
"maxEtaJetMht")),
26 jetsLabel_(iConfig.getParameter<
edm::
InputTag>(
"jetsLabel")),
27 pfCandidatesLabel_(iConfig.getParameter<
edm::
InputTag>(
"pfCandidatesLabel")) {
32 produces<reco::METCollection>();
42 desc.add<
bool>(
"usePt",
false);
43 desc.add<
bool>(
"excludePFMuons",
false);
44 desc.add<
int>(
"minNJetHt", 0);
45 desc.add<
int>(
"minNJetMht", 0);
46 desc.add<
double>(
"minPtJetHt", 40.);
47 desc.add<
double>(
"minPtJetMht", 30.);
48 desc.add<
double>(
"maxEtaJetHt", 3.);
49 desc.add<
double>(
"maxEtaJetMht", 5.);
52 descriptions.
add(
"hltHtMhtProducer",
desc);
70 int nj_ht = 0, nj_mht = 0;
71 double ht = 0., mhx = 0., mhy = 0.;
76 double eta =
j->eta();
77 double phi =
j->phi();