#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 39 of file MuonMETAlgo.h.
|
inline |
Definition at line 41 of file MuonMETAlgo.h.
|
inlinevirtual |
Definition at line 42 of file MuonMETAlgo.h.
References correctMETforMuon(), GetMuDepDeltas(), info(), calomuons_cfi::inputMuons, makeMET(), MuonMETAlgo_run(), run(), distMuonMETValueMapProducer_cff::towerEtThreshold, PDWG_EXOHSCP_cff::useHO, ExoticaDQM_cfi::useRecHits, and distMuonMETValueMapProducer_cff::useTrackAssociatorPositions.
|
static |
Definition at line 188 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, dqm-mbProfile::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 96 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, distMuonMETValueMapProducer_cff::towerEtThreshold, HLT_2018_cff::towers, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetMatchInfo::trkGlobPosAtHcal, TrackDetMatchInfo::trkGlobPosAtHO, MuonMETInfo::useAverage, MuonMETInfo::useHO, PDWG_EXOHSCP_cff::useHO, MuonMETInfo::useTkAssociatorPositions, distMuonMETValueMapProducer_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 45 of file MuonMETAlgo.cc.
References reco::MuonMETCorrectionData::corrX(), reco::MuonMETCorrectionData::corrY(), dumpMFGeometry_cfg::delta, mps_fire::i, CorrMETData::mex, CorrMETData::mey, amptDefaultParameters_cff::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 |