35 for (reco::CaloJetCollection::const_iterator calojet = caloJets->begin(); calojet!=caloJets->end(); ++calojet)
37 if (calojet->pt()>jetptThreshold){
38 mHx += -1.*calojet->px();
39 mHy += -1.*calojet->py();
44 TVector2 *tv2 =
new TVector2(mHx,mHy);
60 rechit != ebRecHits->
end();
70 if (flag>ecalFlag) ecalFlag =
flag;
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
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)
void SetECALFlags(const edm::ESHandle< EcalChannelStatus > chStatus, const edm::Handle< EcalRecHitCollection > ebRecHits, const edm::Handle< EcalRecHitCollection > eeRecHits, const EcalSeverityLevelAlgo *sevlv)
double et() const final
transverse energy
const_iterator end() const
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
T const * product() const
L1AnalysisRecoMetDataFormat recoMet_
double phi() const final
momentum azimuthal angle
const_iterator begin() const