CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DataFormats/RecoCandidate/interface/RecoStandAloneMuonCandidate.h

Go to the documentation of this file.
00001 #ifndef RecoCandidate_RecoStandAloneMuonCandidate_h
00002 #define RecoCandidate_RecoStandAloneMuonCandidate_h
00003 
00012 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
00013 
00014 namespace reco {
00015 
00016   class RecoStandAloneMuonCandidate : public RecoCandidate {
00017   public:
00019     RecoStandAloneMuonCandidate() : RecoCandidate() { }
00021     RecoStandAloneMuonCandidate( Charge q , const LorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
00022                           int pdgId = 0, int status = 0 ) :
00023       RecoCandidate( q, p4, vtx, pdgId, status ) { }
00025     RecoStandAloneMuonCandidate( Charge q , const PolarLorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
00026                           int pdgId = 0, int status = 0 ) :
00027       RecoCandidate( q, p4, vtx, pdgId, status ) { }
00029     virtual ~RecoStandAloneMuonCandidate();
00031     virtual RecoStandAloneMuonCandidate * clone() const;
00033     void setTrack( const reco::TrackRef & r ) { standAloneMuonTrack_ = r; }
00035     virtual reco::TrackRef standAloneMuon() const;
00036 
00037   private:
00039     virtual bool overlap( const Candidate & ) const;
00041     reco::TrackRef standAloneMuonTrack_;
00042   };
00043   
00044 }
00045 
00046 #endif