#include <L1AnalysisRecoMuon2.h>
Definition at line 40 of file L1AnalysisRecoMuon2.h.
◆ L1AnalysisRecoMuon2()
L1Analysis::L1AnalysisRecoMuon2::L1AnalysisRecoMuon2 |
( |
const edm::ParameterSet & |
pset | ) |
|
◆ ~L1AnalysisRecoMuon2()
L1Analysis::L1AnalysisRecoMuon2::~L1AnalysisRecoMuon2 |
( |
| ) |
|
◆ getData()
◆ init()
void L1Analysis::L1AnalysisRecoMuon2::init |
( |
const edm::EventSetup & |
eventSetup | ) |
|
◆ Reset()
void L1Analysis::L1AnalysisRecoMuon2::Reset |
( |
| ) |
|
|
inline |
◆ SetMuon()
Definition at line 16 of file L1AnalysisRecoMuon2.cc.
43 bool flagTight =
false;
48 double iso = (it->pfIsolationR04().sumChargedHadronPt +
50 it->pfIsolationR04().sumNeutralHadronEt + it->pfIsolationR04().sumPhotonEt -
51 0.5 * it->pfIsolationR04().sumPUPt)) /
55 double MET_local = TMath::Sqrt(METx * METx + METy * METy);
59 METP4.SetPxPyPzE(METx, METy, 0, MET_local);
62 Muon.SetPtEtaPhiE(it->pt(), it->eta(), it->phi(), it->energy());
64 double scalSum = MET_local +
Muon.Pt();
65 TLorentzVector vecSum(
Muon);
67 double vecSumPt = vecSum.Pt();
69 recoMuon_.
mt.push_back(TMath::Sqrt(scalSum * scalSum - vecSumPt * vecSumPt));
References PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalPosition(), isLooseMuonCustom(), isMediumMuonCustom(), isTightMuonCustom(), TrajectoryStateOnSurface::isValid(), SiStripPI::max, l1MuonRecoTree_cfi::maxMuon, dumpRecoGeometry_cfg::Muon, PDWG_BPHSkim_cff::muons, PV3DBase< T, PVType, FrameType >::phi(), and AlignmentTracksFromVertexSelector_cfi::vertices.
◆ muPropagator1st_
◆ muPropagator2nd_
◆ recoMuon_