Go to the documentation of this file.
18 : usePt_(iConfig.getParameter<
bool>(
"usePt")),
19 excludePFMuons_(iConfig.getParameter<
bool>(
"excludePFMuons")),
20 minNJet_(iConfig.getParameter<
int>(
"minNJet")),
21 minPtJet_(iConfig.getParameter<double>(
"minPtJet")),
22 maxEtaJet_(iConfig.getParameter<double>(
"maxEtaJet")),
23 jetsLabel_(iConfig.getParameter<
edm::
InputTag>(
"jetsLabel")),
24 pfCandidatesLabel_(iConfig.getParameter<
edm::
InputTag>(
"pfCandidatesLabel")) {
32 produces<reco::METCollection>();
42 desc.add<
bool>(
"usePt",
true);
43 desc.add<
bool>(
"excludePFMuons",
false);
44 desc.add<
int>(
"minNJet", 0);
45 desc.add<
double>(
"minPtJet", 0.);
46 desc.add<
double>(
"maxEtaJet", 999.);
49 descriptions.
add(
"hltMhtProducer",
desc);
65 double sumet = 0., mhx = 0., mhy = 0.;
70 double eta =
j->eta();
71 double phi =
j->phi();
HLTMhtProducer(const edm::ParameterSet &iConfig)
int minNJet_
Minimum number of jets passing pt and eta requirements.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< reco::PFCandidateCollection > m_thePFCandidateToken
Sin< T >::type sin(const T &t)
std::vector< reco::MET > METCollection
collection of MET objects
double maxEtaJet_
Maximum (abs) eta requirement for jets.
Cos< T >::type cos(const T &t)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::InputTag pfCandidatesLabel_
edm::InputTag jetsLabel_
Input jet, PFCandidate collections.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< reco::JetView > m_theJetToken
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
~HLTMhtProducer() override
double minPtJet_
Minimum pt requirement for jets.
bool usePt_
Use pt; otherwise, use et.