#include <RecoMET/METAlgorithms/interface/PFSpecificAlgo.h>
Public Member Functions | |
PFSpecificAlgo () | |
SpecificPFMETData | run (const edm::View< reco::Candidate > &pfCands, edm::ValueMap< float > const *weights=nullptr) |
Description: Adds Particle Flow specific information to MET
Implementation: [Notes on implementation]
Definition at line 28 of file PFSpecificAlgo.h.
|
inline |
Definition at line 30 of file PFSpecificAlgo.h.
SpecificPFMETData PFSpecificAlgo::run | ( | const edm::View< reco::Candidate > & | pfCands, |
edm::ValueMap< float > const * | weights = nullptr |
||
) |
Definition at line 15 of file PFSpecificAlgo.cc.
References funct::abs(), SpecificPFMETData::ChargedEMFraction, SpecificPFMETData::ChargedHadFraction, alignCSCRings::e, edm::View< T >::empty(), reco::Candidate::energy(), reco::Candidate::get(), SpecificPFMETData::MuonFraction, SpecificPFMETData::NeutralEMFraction, SpecificPFMETData::NeutralHadFraction, reco::Candidate::pdgId(), edm::View< T >::ptrs(), funct::sin(), timingPdfMaker::specific, reco::Candidate::theta(), theta(), SpecificPFMETData::Type6Fraction, SpecificPFMETData::Type7Fraction, and histoStyle::weight.
Referenced by reco::PFMETProducerMVA::produce(), and cms::PFMETProducer::produce().