14 recoMet_.met = theMet.
et();
15 recoMet_.metPhi = theMet.
phi();
16 recoMet_.sumEt = theMet.
sumEt();
26 recoMet_.mHtPhi = -999;
28 for (reco::CaloJetCollection::const_iterator calojet =
caloJets->begin(); calojet !=
caloJets->end(); ++calojet) {
30 mHx += -1. * calojet->px();
31 mHy += -1. * calojet->py();
32 recoMet_.Ht += calojet->pt();
36 TVector2 *tv2 =
new TVector2(mHx, mHy);
38 recoMet_.mHt = tv2->Mod();
39 recoMet_.mHtPhi = tv2->Phi();
63 recoMet_.ecalFlag = ecalFlag;
T const * product() const
void SetHtMht(const edm::Handle< reco::CaloJetCollection > caloJets, float jetptThreshold)
std::vector< EcalRecHit >::const_iterator const_iterator
void SetMet(const edm::Handle< reco::CaloMETCollection > recoMet)
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
void SetECALFlags(const edm::ESHandle< EcalChannelStatus > chStatus, const edm::Handle< EcalRecHitCollection > ebRecHits, const edm::Handle< EcalRecHitCollection > eeRecHits, const EcalSeverityLevelAlgo *sevlv)
const_iterator begin() const
const_iterator end() const
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
double et() const final
transverse energy
double phi() const final
momentum azimuthal angle