19 : usePt_(iConfig.getParameter<
bool>(
"usePt")),
20 minPtTowerHt_(iConfig.getParameter<double>(
"minPtTowerHt")),
21 minPtTowerMht_(iConfig.getParameter<double>(
"minPtTowerMht")),
22 maxEtaTowerHt_(iConfig.getParameter<double>(
"maxEtaTowerHt")),
23 maxEtaTowerMht_(iConfig.getParameter<double>(
"maxEtaTowerMht")),
24 towersLabel_(iConfig.getParameter<
edm::
InputTag>(
"towersLabel")) {
28 produces<reco::METCollection>();
38 desc.add<
bool>(
"usePt",
false);
39 desc.add<
double>(
"minPtTowerHt", 1.);
40 desc.add<
double>(
"minPtTowerMht", 1.);
41 desc.add<
double>(
"maxEtaTowerHt", 5.);
42 desc.add<
double>(
"maxEtaTowerMht", 5.);
44 descriptions.
add(
"hltCaloTowerHtMhtProducer",
desc);
55 double ht = 0., mhx = 0., mhy = 0.;