File indexing completed on 2024-04-06 12:05:07
0001 #ifndef RecoCandidate_RecoStandAloneMuonCandidate_h
0002 #define RecoCandidate_RecoStandAloneMuonCandidate_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
0012
0013 namespace reco {
0014
0015 class RecoStandAloneMuonCandidate : public RecoCandidate {
0016 public:
0017
0018 RecoStandAloneMuonCandidate() : RecoCandidate() {}
0019
0020 RecoStandAloneMuonCandidate(
0021 Charge q, const LorentzVector& p4, const Point& vtx = Point(0, 0, 0), int pdgId = 0, int status = 0)
0022 : RecoCandidate(q, p4, vtx, pdgId, status) {}
0023
0024 RecoStandAloneMuonCandidate(
0025 Charge q, const PolarLorentzVector& p4, const Point& vtx = Point(0, 0, 0), int pdgId = 0, int status = 0)
0026 : RecoCandidate(q, p4, vtx, pdgId, status) {}
0027
0028 ~RecoStandAloneMuonCandidate() override;
0029
0030 RecoStandAloneMuonCandidate* clone() const override;
0031
0032 void setTrack(const reco::TrackRef& r) { standAloneMuonTrack_ = r; }
0033
0034 reco::TrackRef standAloneMuon() const override;
0035
0036 private:
0037
0038 bool overlap(const Candidate&) const override;
0039
0040 reco::TrackRef standAloneMuonTrack_;
0041 };
0042
0043 }
0044
0045 #endif