5 #ifndef DataFormats_PatCandidates_Muon_h
6 #define DataFormats_PatCandidates_Muon_h
double normChi2() const
Norm chi2 gives the normalized chi2 of the global track.
void embedStandAloneMuon()
set reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon) ...
reco::PFCandidateRef pfCandidateRef_
unsigned int numberOfValidHits() const
numberOfValidHits returns the number of valid hits on the global track.
reco::TrackRef innerTrack() const
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
bool embeddedTCMETMuonCorrs_
muon MET corrections for tcMET
bool embeddedImprovedMuonBestTrack_
best muon track, after new tuneP
edm::RefVector< MuonCollection > MuonRefVector
MuonTrackType improvedMuonBestTrackType_
float sumPt
sum-pt of tracks
void embedPFCandidate()
embed the IsolatedPFCandidate pointed to by pfCandidateRef_
reco::TrackRef tpfmsMuon() const
bool muonID(const std::string &name) const
unsigned int numberOfValidHits_
size_t numberOfSourceCandidatePtrs() const
get the number of non-null PF candidates
bool embeddedTrack_
track of inner track detector
std::vector< reco::MuonMETCorrectionData > tcMETMuonCorrs_
bool cachedNumberOfValidHits_
has the dB been cached?
double segmentCompatibility(reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration) const
Returns the segment compatibility, using muon::segmentCompatibility (DataFormats/MuonReco/interface/M...
bool embeddedStandAloneMuon_
track of muon system
edm::Ref< MuonCollection > MuonRef
bool isGood(const std::string &name) const
reco::TrackRef outerTrack() const
reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon) ...
void setPFCandidateRef(const reco::PFCandidateRef &ref)
add a reference to the source IsolatedPFCandidate
std::vector< reco::Track > improvedMuonBestTrack_
reco::TrackRef improvedMuonBestTrack() const
reference to the Best Track reconstructed in both tracked and muon detector (reimplemented from reco:...
Muon()
default constructor
void embedPickyMuon()
embed reference to the above picky Track
virtual reco::TrackRef track() const
reference to a Track
void embedCombinedMuon()
set reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon...
std::vector< reco::Track > pickyMuon_
void embedCaloMETMuonCorrs(const reco::MuonMETCorrectionData &t)
embed the MuonMETCorrectionData for muon corrected caloMET
bool isNonnull() const
Checks for non-null.
reco::CandidatePtr sourceCandidatePtr(size_type i) const
get the candidate pointer with index i
reco::PFCandidateRef pfCandidateRef() const
reference to the source IsolatedPFCandidates
std::vector< reco::MuonMETCorrectionData > caloMETMuonCorrs_
reco::PFCandidateCollection pfCandidate_
std::ostream & operator<<(std::ostream &, BeamSpot beam)
std::vector< reco::Track > dytMuon_
double normChi2_
has the numberOfValidHits been cached?
enum pat::Muon::IPTYPE IpType
void embedTrack()
set reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
ArbitrationType
define arbitration schemes
void embedTcMETMuonCorrs(const reco::MuonMETCorrectionData &t)
embed the MuonMETCorrectionData for tcMET
Analysis-level lepton class.
reco::MuonMETCorrectionData tcMETMuonCorrs() const
muon MET corrections for tcMET; returns the muon correction struct if embedded during pat tuple produ...
std::vector< bool > cachedIP_
bool embeddedPFCandidate_
true if the IsolatedPFCandidate is embedded
double dB(IpType type=None) const
reco::TrackRef tpfmsTrack() const
reference to Track reconstructed using hits in the tracker + info from the first muon station that ha...
reco::TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon) ...
bool embeddedCaloMETMuonCorrs_
muon MET corrections for caloMET
bool isHighPtMuon(const reco::Vertex &, reco::TunePType) const
reco::TrackRef combinedMuon() const
reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon) ...
reco::TrackRef standAloneMuon() const
reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon) ...
bool isTightMuon(const reco::Vertex &) const
void embedTpfmsMuon()
embed reference to the above tpfms Track
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
std::vector< double > ip_
reco::TrackRef muonBestTrack() const
reference to the Best Track reconstructed in both tracked and muon detector (reimplemented from reco:...
bool embeddedCombinedMuon_
track of combined fit
bool isSoftMuon(const reco::Vertex &) const
void embedDytMuon()
embed reference to the above dyt Track
double edB(IpType type=None) const
std::vector< double > eip_
void embedMuonBestTrack()
set reference to Track selected to be the best measurement of the muon parameters (reimplemented from...
bool cachedDB_
has the normalized chi2 been cached?
void embedImprovedMuonBestTrack()
set reference to Track selected to be the best measurement of the muon parameters (reimplemented from...
std::vector< reco::Track > muonBestTrack_
reco::TrackRef dytTrack() const
reference to Track reconstructed using DYT algorithm
std::vector< Muon > MuonCollection
std::vector< reco::Track > track_
virtual MuonTrackType improvedMuonBestTrackType() const
std::vector< reco::Track > combinedMuon_
void setNormChi2(double normChi2)
std::vector< reco::Track > standAloneMuon_
virtual ~Muon()
destructor
double edB_
dB and edB are the impact parameter at the primary vertex,
reco::TrackRef pickyTrack() const
reference to Track reconstructed using hits in the tracker + "good" muon hits (reimplemented from rec...
unsigned int type() const
reco::TrackRef pickyMuon() const
Deprecated accessors to call the corresponding above two functions; no dytMuon since this naming is d...
MuonTrackType
map for Global Muon refitters
double dB_
globalTrack->chi2() / globalTrack->ndof()
virtual Muon * clone() const
required reimplementation of the Candidate's clone method
void setNumberOfValidHits(unsigned int numberOfValidHits)
Analysis-level muon class.
bool embeddedMuonBestTrack_
best muon track
void setDB(double dB, double edB, IpType type=None)
reco::TrackRef track() const
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
const MuonIsolation & isolationR03() const
std::vector< reco::Track > tpfmsMuon_
virtual void setImprovedBestTrack(MuonTrackType muonType)
void initImpactParameters(void)
reco::MuonMETCorrectionData caloMETMuonCorrs() const
muon MET corrections for caloMET; returns the muon correction struct if embedded during pat tuple pro...