CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 19 of file MuonTrackLinks.h.

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

Constructor.

Definition at line 22 of file MuonTrackLinks.h.

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

Destructor.

Definition at line 26 of file MuonTrackLinks.h.

26 {};

Member Function Documentation

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

get the combined track

Definition at line 37 of file MuonTrackLinks.h.

References theGlbTrack.

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

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

set the ref to combined track

Definition at line 46 of file MuonTrackLinks.h.

References glb, and theGlbTrack.

Referenced by MuonTrackLoader::loadTracks().

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

set the ref to stand alone track

Definition at line 43 of file MuonTrackLinks.h.

References theStaTrack.

Referenced by MuonTrackLoader::loadTracks().

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

set the ref to tracker's track

Definition at line 40 of file MuonTrackLinks.h.

References theTkTrack.

Referenced by MuonTrackLoader::loadTracks().

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

get the track built with the muon spectrometer alone

Definition at line 34 of file MuonTrackLinks.h.

References theStaTrack.

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

34 { 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 31 of file MuonTrackLinks.h.

References theTkTrack.

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

31 { return theTkTrack; }

Member Data Documentation

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

ref to the combined track

Definition at line 57 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 54 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 51 of file MuonTrackLinks.h.

Referenced by setTrackerTrack(), and trackerTrack().