CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::MuonTrackLinks Class Reference

#include <MuonTrackLinks.h>

Public Member Functions

reco::TrackRef globalTrack () const
 get the combined track More...
 
 MuonTrackLinks ()
 Default Constructor. More...
 
 MuonTrackLinks (reco::TrackRef tk, reco::TrackRef sta, reco::TrackRef glb)
 Constructor. More...
 
void setGlobalTrack (reco::TrackRef glb)
 set the ref to combined track More...
 
void setStandAloneTrack (reco::TrackRef sta)
 set the ref to stand alone track More...
 
void setTrackerTrack (reco::TrackRef tk)
 set the ref to tracker's track More...
 
reco::TrackRef standAloneTrack () const
 get the track built with the muon spectrometer alone More...
 
reco::TrackRef trackerTrack () const
 get the tracker's track which match with the stand alone muon tracks More...
 
virtual ~MuonTrackLinks ()
 Destructor. More...
 

Private Attributes

reco::TrackRef theGlbTrack
 ref to the combined track More...
 
reco::TrackRef theStaTrack
 ref to the track built with the muon spectrometer alone More...
 
reco::TrackRef theTkTrack
 ref to tracker's track which match with the stand alone muon tracks More...
 

Detailed Description

Definition at line 16 of file MuonTrackLinks.h.

Constructor & Destructor Documentation

reco::MuonTrackLinks::MuonTrackLinks ( )
inline

Default Constructor.

Definition at line 21 of file MuonTrackLinks.h.

21 {}
reco::MuonTrackLinks::MuonTrackLinks ( reco::TrackRef  tk,
reco::TrackRef  sta,
reco::TrackRef  glb 
)
inline

Constructor.

Definition at line 24 of file MuonTrackLinks.h.

24  :
25  theTkTrack(tk),theStaTrack(sta),theGlbTrack(glb){}
virtual reco::MuonTrackLinks::~MuonTrackLinks ( )
inlinevirtual

Destructor.

Definition at line 28 of file MuonTrackLinks.h.

28 {};

Member Function Documentation

reco::TrackRef reco::MuonTrackLinks::globalTrack ( ) const
inline

get the combined track

Definition at line 39 of file MuonTrackLinks.h.

References theGlbTrack.

Referenced by MuonIdProducer::checkLinks(), MuonIdProducer::makeMuon(), Muon.Muon::muonID(), HLTMuonL2SelectorForL3IO::produce(), and validateGlobalMuonPair().

39 {return theGlbTrack;}
void reco::MuonTrackLinks::setGlobalTrack ( reco::TrackRef  glb)
inline

set the ref to combined track

Definition at line 48 of file MuonTrackLinks.h.

References glb, and theGlbTrack.

Referenced by MuonTrackLoader::loadTracks().

48 {theGlbTrack = glb;}
double glb
Definition: hdecay.h:105
void reco::MuonTrackLinks::setStandAloneTrack ( reco::TrackRef  sta)
inline

set the ref to stand alone track

Definition at line 45 of file MuonTrackLinks.h.

References theStaTrack.

Referenced by MuonTrackLoader::loadTracks().

45 {theStaTrack = sta;}
void reco::MuonTrackLinks::setTrackerTrack ( reco::TrackRef  tk)
inline

set the ref to tracker's track

Definition at line 42 of file MuonTrackLinks.h.

References theTkTrack.

Referenced by MuonTrackLoader::loadTracks().

42 {theTkTrack = tk;}
reco::TrackRef reco::MuonTrackLinks::standAloneTrack ( ) const
inline

get the track built with the muon spectrometer alone

Definition at line 36 of file MuonTrackLinks.h.

References theStaTrack.

Referenced by MuonIdProducer::checkLinks(), MuonIdProducer::makeMuon(), and HLTMuonL2SelectorForL3IO::produce().

36 {return theStaTrack;}
reco::TrackRef reco::MuonTrackLinks::trackerTrack ( ) const
inline

get the tracker's track which match with the stand alone muon tracks

Definition at line 33 of file MuonTrackLinks.h.

References theTkTrack.

Referenced by MuonIdProducer::checkLinks(), and MuonIdProducer::makeMuon().

33 {return theTkTrack;}

Member Data Documentation

reco::TrackRef reco::MuonTrackLinks::theGlbTrack
private

ref to the combined track

Definition at line 61 of file MuonTrackLinks.h.

Referenced by globalTrack(), and setGlobalTrack().

reco::TrackRef reco::MuonTrackLinks::theStaTrack
private

ref to the track built with the muon spectrometer alone

Definition at line 58 of file MuonTrackLinks.h.

Referenced by setStandAloneTrack(), and standAloneTrack().

reco::TrackRef reco::MuonTrackLinks::theTkTrack
private

ref to tracker's track which match with the stand alone muon tracks

Definition at line 55 of file MuonTrackLinks.h.

Referenced by setTrackerTrack(), and trackerTrack().