17 embeddedTrack_(
false),
18 embeddedStandAloneMuon_(
false),
19 embeddedCombinedMuon_(
false),
20 embeddedTCMETMuonCorrs_(
false),
21 embeddedCaloMETMuonCorrs_(
false),
22 embeddedPickyMuon_(
false),
23 embeddedTpfmsMuon_(
false),
24 embeddedDytMuon_(
false),
25 embeddedPFCandidate_(
false),
27 cachedNormChi2_(
false),
29 cachedNumberOfValidHits_(0),
41 embeddedTrack_(
false),
42 embeddedStandAloneMuon_(
false),
43 embeddedCombinedMuon_(
false),
44 embeddedTCMETMuonCorrs_(
false),
45 embeddedCaloMETMuonCorrs_(
false),
46 embeddedPickyMuon_(
false),
47 embeddedTpfmsMuon_(
false),
48 embeddedDytMuon_(
false),
49 embeddedPFCandidate_(
false),
51 cachedNormChi2_(
false),
53 cachedNumberOfValidHits_(0),
65 embeddedTrack_(
false),
66 embeddedStandAloneMuon_(
false),
67 embeddedCombinedMuon_(
false),
68 embeddedTCMETMuonCorrs_(
false),
69 embeddedCaloMETMuonCorrs_(
false),
70 embeddedPickyMuon_(
false),
71 embeddedTpfmsMuon_(
false),
72 embeddedDytMuon_(
false),
73 embeddedPFCandidate_(
false),
75 cachedNormChi2_(
false),
77 cachedNumberOfValidHits_(0),
89 embeddedTrack_(
false),
90 embeddedStandAloneMuon_(
false),
91 embeddedCombinedMuon_(
false),
92 embeddedTCMETMuonCorrs_(
false),
93 embeddedCaloMETMuonCorrs_(
false),
94 embeddedPickyMuon_(
false),
95 embeddedTpfmsMuon_(
false),
96 embeddedDytMuon_(
false),
97 embeddedPFCandidate_(
false),
99 cachedNormChi2_(
false),
101 cachedNumberOfValidHits_(0),
105 numberOfValidHits_(0)
119 out <<
"\tpat::Muon: ";
120 out << std::setiosflags(std::ios::right);
121 out << std::setiosflags(std::ios::fixed);
122 out << std::setprecision(3);
123 out <<
" E/pT/eta/phi "
133 for (
int i_ = 0; i_<5; ++i_){
323 return t->chi2() / t->ndof();
336 return t->numberOfValidHits();
double normChi2() const
Norm chi2 gives the normalized chi2 of the global track.
virtual double energy() const GCC11_FINAL
energy
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
void embedPFCandidate()
embed the IsolatedPFCandidate pointed to by pfCandidateRef_
bool muonID(const std::string &name) const
unsigned int numberOfValidHits_
virtual TrackRef innerTrack() const
unsigned int type_
muon type mask
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
virtual TrackRef tpfmsTrack() const
Muon()
default constructor
void embedPickyMuon()
embed reference to the above picky Track
bool isLooseMuon(const reco::Muon &)
void embedCombinedMuon()
set reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon...
SelectionType
Selector type.
bool isSoftMuon(const reco::Muon &, const reco::Vertex &)
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.
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
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_
virtual TrackRef muonBestTrack() const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
std::vector< reco::Track > dytMuon_
double normChi2_
has the numberOfValidHits been cached?
const T & max(const T &a, const T &b)
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.
virtual TrackRef pickyTrack() const
float segmentCompatibility(const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
std::vector< bool > cachedIP_
edm::Ref< PFCandidateCollection > PFCandidateRef
persistent reference to a PFCandidate
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...
virtual TrackRef outerTrack() const
reference to Track reconstructed in the muon detector only
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 isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
reco::TrackRef combinedMuon() const
reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon) ...
bool isHighPtMuon(const reco::Vertex &) const
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< double > ip_
bool isHighPtMuon(const reco::Muon &, const reco::Vertex &)
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
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_
SelectionType selectionTypeFromString(const std::string &label)
void embedMuonBestTrack()
set reference to Track selected to be the best measurement of the muon parameters (reimplemented from...
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
key_type key() const
Accessor for product key.
bool cachedDB_
has the normalized chi2 been cached?
std::vector< reco::Track > muonBestTrack_
reco::TrackRef dytTrack() const
reference to Track reconstructed using DYT algorithm
virtual TrackRef dytTrack() const
std::vector< reco::Track > track_
std::vector< reco::Track > combinedMuon_
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...
double dB_
globalTrack->chi2() / globalTrack->ndof()
ProductID id() const
Accessor for product ID.
bool isTightMuon(const reco::Muon &, const reco::Vertex &)
T const * get() const
Returns C++ pointer to the item.
virtual float pt() const GCC11_FINAL
transverse momentum
Analysis-level muon class.
bool embeddedMuonBestTrack_
best muon track
reco::TrackRef track() const
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
std::vector< reco::Track > tpfmsMuon_
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector
void initImpactParameters(void)