#include <RecoMET/METAlgorithms/interface/METAlgo.h>
Public Member Functions | |
METAlgo () | |
CommonMETData | run (const edm::View< reco::Candidate > &candidates, double globalThreshold=0.0, edm::ValueMap< float > const *weights=nullptr) |
virtual | ~METAlgo () |
Description: Calculates MET for given input
Implementation: [Notes on implementation]
CommonMETData METAlgo::run | ( | const edm::View< reco::Candidate > & | candidates, |
double | globalThreshold = 0.0 , |
||
edm::ValueMap< float > const * | weights = nullptr |
||
) |
Definition at line 16 of file METAlgo.cc.
References reco::Candidate::et(), reco::Candidate::get(), HLT_FULL_cff::globalThreshold, CommonMETData::met, objects.METAnalyzer::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, reco::Candidate::p4(), edm::View< T >::ptrs(), runTheMatrix::ret, CommonMETData::sumet, and histoStyle::weight.
Referenced by cms::ElseMETProducer::produce(), cms::PFClusterMETProducer::produce(), cms::CaloMETProducer::produce(), reco::PFMETProducerMVA::produce(), and cms::PFMETProducer::produce().