#include <RecoMET/METAlgorithms/interface/METAlgo.h>
Public Member Functions | |
METAlgo () | |
virtual CommonMETData | run (edm::Handle< edm::View< reco::Candidate > > candidates, double globalThreshold=0.0) |
virtual void | run (edm::Handle< edm::View< reco::Candidate > > candidates, CommonMETData *met, double globalThreshold=0.0) |
virtual | ~METAlgo () |
Description: Calculates MET for given input
Implementation: [Notes on implementation]
|
virtual |
Definition at line 16 of file METAlgo.cc.
References CaloMET_cfi::met.
Referenced by cms::METProducer::produce_CaloMET(), cms::METProducer::produce_else(), cms::METProducer::produce_PFClusterMET(), and cms::METProducer::produce_PFMET().
|
virtual |
Definition at line 24 of file METAlgo.cc.
References reco::Candidate::energy(), reco::Candidate::et(), i, CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, CommonMETData::phi, reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), funct::sin(), mathSSE::sqrt(), CommonMETData::sumet, and reco::Candidate::theta().