#include <CaloSpecificAlgo.h>
Public Types | |
typedef math::XYZTLorentzVector | LorentzVector |
typedef math::XYZPoint | Point |
typedef std::vector< const reco::Candidate * > | TowerCollection |
Public Member Functions | |
reco::CaloMET | addInfo (edm::Handle< edm::View< reco::Candidate > > towers, CommonMETData met, bool noHF, double globalThreshold) |
Make CaloMET. Assumes MET is made from CaloTowerCandidates. More... | |
Adds Calorimeter specific information to MET base class Author: R. Cavanaugh (taken from F.Ratnikov, UMd) 6 June, 2006
Definition at line 13 of file CaloSpecificAlgo.h.
Definition at line 16 of file CaloSpecificAlgo.h.
Definition at line 17 of file CaloSpecificAlgo.h.
typedef std::vector<const reco::Candidate*> CaloSpecificAlgo::TowerCollection |
Definition at line 18 of file CaloSpecificAlgo.h.
reco::CaloMET CaloSpecificAlgo::addInfo | ( | edm::Handle< edm::View< reco::Candidate > > | towers, |
CommonMETData | met, | ||
bool | noHF, | ||
double | globalThreshold | ||
) |
Make CaloMET. Assumes MET is made from CaloTowerCandidates.
Definition at line 18 of file CaloSpecificAlgo.cc.
References reco::LeafCandidate::begin(), SpecificCaloMETData::CaloMETInmHF, SpecificCaloMETData::CaloMETInpHF, SpecificCaloMETData::CaloMETPhiInmHF, SpecificCaloMETData::CaloMETPhiInpHF, SpecificCaloMETData::CaloSETInmHF, SpecificCaloMETData::CaloSETInpHF, CaloTower::constituent(), CaloTower::constituentsSize(), funct::cos(), DetId::Ecal, EcalBarrel, EcalEndcap, CaloTower::emEt(), SpecificCaloMETData::EmEtInEB, SpecificCaloMETData::EmEtInEE, SpecificCaloMETData::EmEtInHF, edm::View< T >::end(), CaloTower::et(), reco::LeafCandidate::eta(), SpecificCaloMETData::EtFractionEm, SpecificCaloMETData::EtFractionHadronic, CaloTower::hadEt(), SpecificCaloMETData::HadEtInHB, SpecificCaloMETData::HadEtInHE, SpecificCaloMETData::HadEtInHF, SpecificCaloMETData::HadEtInHO, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, SpecificCaloMETData::MaxEtInEmTowers, SpecificCaloMETData::MaxEtInHadTowers, CommonMETData::met, SpecificCaloMETData::METSignificance, CommonMETData::mex, CommonMETData::mey, CaloTower::outerEt(), p4, reco::LeafCandidate::phi(), funct::sin(), mathSSE::sqrt(), HcalDetId::subdet(), and CommonMETData::sumet.
Referenced by cms::METProducer::produce().