#include <MuonMETAlgo.h>
Public Member Functions | |
void | GetMuDepDeltas (const reco::Muon *inputMuon, TrackDetMatchInfo &info, bool useTrackAssociatorPositions, bool useRecHits, bool useHO, double towerEtThreshold, double &deltax, double &deltay, double Bfield) |
reco::CaloMET | makeMET (const reco::CaloMET &fMet, double fSumEt, const std::vector< CorrMETData > &fCorrections, const reco::MET::LorentzVector &) |
reco::MET | makeMET (const reco::MET &, double fSumEt, const std::vector< CorrMETData > &fCorrections, const reco::MET::LorentzVector &fP4) |
MuonMETAlgo () | |
template<class T > | |
void | MuonMETAlgo_run (const edm::View< reco::Muon > &inputMuons, const edm::ValueMap< reco::MuonMETCorrectionData > &vm_muCorrData, const edm::View< T > &v_uncorMET, std::vector< T > *v_corMET) |
virtual void | run (const edm::View< reco::Muon > &inputMuons, const edm::ValueMap< reco::MuonMETCorrectionData > &vm_muCorrData, const edm::View< reco::MET > &uncorMET, reco::METCollection *corMET) |
virtual void | run (const edm::View< reco::Muon > &inputMuons, const edm::ValueMap< reco::MuonMETCorrectionData > &vm_muCorrData, const edm::View< reco::CaloMET > &uncorMET, reco::CaloMETCollection *corMET) |
virtual | ~MuonMETAlgo () |
Static Public Member Functions | |
static void | correctMETforMuon (double &deltax, double &deltay, double bfield, int muonCharge, const math::XYZTLorentzVector &muonP4, const math::XYZPoint &muonVertex, MuonMETInfo &) |
Description: Correct MET for muons in the events.
Definition at line 40 of file MuonMETAlgo.h.
|
inline |
Definition at line 43 of file MuonMETAlgo.h.
|
inlinevirtual |
Definition at line 44 of file MuonMETAlgo.h.
References correctMETforMuon(), GetMuDepDeltas(), info(), calomuons_cfi::inputMuons, makeMET(), MuonMETAlgo_run(), run(), mhtProducer_cfi::towerEtThreshold, mhtProducer_cfi::useHO, JetIDParams_cfi::useRecHits, and MuonMETValueMapProducer_cff::useTrackAssociatorPositions.
|
static |
Definition at line 193 of file MuonMETAlgo.cc.
References funct::abs(), funct::cos(), MillePedeFileConverter_cfg::e, MuonMETInfo::ecalE, egammaTools::ecalPhi(), MuonMETInfo::ecalPos, MuonMETInfo::hcalE, MuonMETInfo::hcalPos, MuonMETInfo::hoE, MuonMETInfo::hoPos, calomuons_cfi::inputMuons, cmsBatch::log, Pi, funct::pow(), run(), funct::sin(), mathSSE::sqrt(), groupFilesInBlocks::temp, MuonMETInfo::useAverage, MuonMETInfo::useHO, and MuonMETInfo::useTkAssociatorPositions.
Referenced by ~MuonMETAlgo().
void MuonMETAlgo::GetMuDepDeltas | ( | const reco::Muon * | inputMuon, |
TrackDetMatchInfo & | info, | ||
bool | useTrackAssociatorPositions, | ||
bool | useRecHits, | ||
bool | useHO, | ||
double | towerEtThreshold, | ||
double & | deltax, | ||
double & | deltay, | ||
double | Bfield | ||
) |
Definition at line 101 of file MuonMETAlgo.cc.
References reco::Muon::calEnergy(), reco::LeafCandidate::charge(), TrackDetMatchInfo::crossedTowers, MuonMETInfo::ecalE, MuonMETInfo::ecalPos, reco::MuonIsolation::emEt, reco::MuonEnergy::emS9, reco::Muon::globalTrack(), reco::MuonIsolation::hadEt, reco::MuonEnergy::hadS9, MuonMETInfo::hcalE, MuonMETInfo::hcalPos, MuonMETInfo::hoE, MuonMETInfo::hoPos, reco::MuonEnergy::hoS9, reco::Muon::innerTrack(), reco::Muon::isGEMMuon(), reco::Muon::isGlobalMuon(), reco::Muon::isIsolationValid(), reco::Muon::isME0Muon(), reco::Muon::isolationR03(), reco::Muon::isRPCMuon(), reco::Muon::isTrackerMuon(), reco::Muon::outerTrack(), reco::MuonIsolation::sumPt, TtFullHadEvtBuilder_cfi::sumPt, mhtProducer_cfi::towerEtThreshold, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetMatchInfo::trkGlobPosAtHcal, TrackDetMatchInfo::trkGlobPosAtHO, MuonMETInfo::useAverage, MuonMETInfo::useHO, mhtProducer_cfi::useHO, MuonMETInfo::useTkAssociatorPositions, MuonMETValueMapProducer_cff::useTrackAssociatorPositions, and reco::LeafCandidate::vertex().
Referenced by cms::MuonMETValueMapProducer::determine_deltax_deltay(), and ~MuonMETAlgo().
reco::CaloMET MuonMETAlgo::makeMET | ( | const reco::CaloMET & | fMet, |
double | fSumEt, | ||
const std::vector< CorrMETData > & | fCorrections, | ||
const reco::MET::LorentzVector & | |||
) |
Referenced by ~MuonMETAlgo().
reco::MET MuonMETAlgo::makeMET | ( | const reco::MET & | , |
double | fSumEt, | ||
const std::vector< CorrMETData > & | fCorrections, | ||
const reco::MET::LorentzVector & | fP4 | ||
) |
void MuonMETAlgo::MuonMETAlgo_run | ( | const edm::View< reco::Muon > & | inputMuons, |
const edm::ValueMap< reco::MuonMETCorrectionData > & | vm_muCorrData, | ||
const edm::View< T > & | v_uncorMET, | ||
std::vector< T > * | v_corMET | ||
) |
Definition at line 48 of file MuonMETAlgo.cc.
References reco::MuonMETCorrectionData::corrX(), reco::MuonMETCorrectionData::corrY(), delta, mps_fire::i, CorrMETData::mex, CorrMETData::mey, RPCpg::mu, reco::LeafCandidate::p4(), edm::View< T >::refAt(), mps_fire::result, edm::View< T >::size(), mathSSE::sqrt(), CorrMETData::sumet, and reco::MuonMETCorrectionData::type().
Referenced by ~MuonMETAlgo().
|
virtual |
Referenced by correctMETforMuon(), cms::MuonMET::produce(), and ~MuonMETAlgo().
|
virtual |