CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

reco::RecoStandAloneMuonCandidate Class Reference

#include <RecoStandAloneMuonCandidate.h>

Inheritance diagram for reco::RecoStandAloneMuonCandidate:
reco::RecoCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

virtual
RecoStandAloneMuonCandidate
clone () const
 returns a clone of the candidate
 RecoStandAloneMuonCandidate ()
 default constructor
 RecoStandAloneMuonCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
 constructor from values
 RecoStandAloneMuonCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
 constructor from values
void setTrack (const reco::TrackRef &r)
 set reference to track
virtual reco::TrackRef standAloneMuon () const
 reference to a track
virtual ~RecoStandAloneMuonCandidate ()
 destructor

Private Member Functions

virtual bool overlap (const Candidate &) const
 check overlap with another candidate

Private Attributes

reco::TrackRef standAloneMuonTrack_
 reference to a track

Detailed Description

Reco Candidates with a Track component

Author:
Luca Lista, INFN
Version:
Id:
RecoStandAloneMuonCandidate.h,v 1.1 2007/12/14 12:38:59 llista Exp

Definition at line 16 of file RecoStandAloneMuonCandidate.h.


Constructor & Destructor Documentation

reco::RecoStandAloneMuonCandidate::RecoStandAloneMuonCandidate ( ) [inline]

default constructor

Definition at line 19 of file RecoStandAloneMuonCandidate.h.

Referenced by clone().

: RecoCandidate() { }
reco::RecoStandAloneMuonCandidate::RecoStandAloneMuonCandidate ( Charge  q,
const LorentzVector p4,
const Point vtx = Point( 0, 0, 0 ),
int  pdgId = 0,
int  status = 0 
) [inline]

constructor from values

Definition at line 21 of file RecoStandAloneMuonCandidate.h.

                                                          :
      RecoCandidate( q, p4, vtx, pdgId, status ) { }
reco::RecoStandAloneMuonCandidate::RecoStandAloneMuonCandidate ( Charge  q,
const PolarLorentzVector p4,
const Point vtx = Point( 0, 0, 0 ),
int  pdgId = 0,
int  status = 0 
) [inline]

constructor from values

Definition at line 25 of file RecoStandAloneMuonCandidate.h.

                                                          :
      RecoCandidate( q, p4, vtx, pdgId, status ) { }
RecoStandAloneMuonCandidate::~RecoStandAloneMuonCandidate ( ) [virtual]

destructor

Definition at line 6 of file RecoStandAloneMuonCandidate.cc.

{ }

Member Function Documentation

RecoStandAloneMuonCandidate * RecoStandAloneMuonCandidate::clone ( void  ) const [virtual]

returns a clone of the candidate

Reimplemented from reco::RecoCandidate.

Definition at line 8 of file RecoStandAloneMuonCandidate.cc.

References RecoStandAloneMuonCandidate().

                                                                       { 
  return new RecoStandAloneMuonCandidate( * this ); 
}
bool RecoStandAloneMuonCandidate::overlap ( const Candidate c) const [private, virtual]
void reco::RecoStandAloneMuonCandidate::setTrack ( const reco::TrackRef r) [inline]

set reference to track

Definition at line 33 of file RecoStandAloneMuonCandidate.h.

References csvReporter::r, and standAloneMuonTrack_.

Referenced by converter::StandAloneMuonTrackToCandidate::convert().

TrackRef RecoStandAloneMuonCandidate::standAloneMuon ( ) const [virtual]

reference to a track

Reimplemented from reco::RecoCandidate.

Definition at line 12 of file RecoStandAloneMuonCandidate.cc.

References standAloneMuonTrack_.

Referenced by overlap().

                                                           {
  return standAloneMuonTrack_;
}

Member Data Documentation

reference to a track

Definition at line 41 of file RecoStandAloneMuonCandidate.h.

Referenced by setTrack(), and standAloneMuon().