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

◆ MuonTrackLinks() [1/2]

reco::MuonTrackLinks::MuonTrackLinks ( )
inline

Default Constructor.

Definition at line 19 of file MuonTrackLinks.h.

19 {}

◆ MuonTrackLinks() [2/2]

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) {}

◆ ~MuonTrackLinks()

virtual reco::MuonTrackLinks::~MuonTrackLinks ( )
inlinevirtual

Destructor.

Definition at line 26 of file MuonTrackLinks.h.

26 {};

Member Function Documentation

◆ globalTrack()

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

get the combined track

Definition at line 37 of file MuonTrackLinks.h.

37 { return theGlbTrack; }

References theGlbTrack.

Referenced by Muon.Muon::muonID(), and validateGlobalMuonPair().

◆ setGlobalTrack()

void reco::MuonTrackLinks::setGlobalTrack ( reco::TrackRef  glb)
inline

set the ref to combined track

Definition at line 46 of file MuonTrackLinks.h.

46 { theGlbTrack = glb; }

References glb, and theGlbTrack.

◆ setStandAloneTrack()

void reco::MuonTrackLinks::setStandAloneTrack ( reco::TrackRef  sta)
inline

set the ref to stand alone track

Definition at line 43 of file MuonTrackLinks.h.

43 { theStaTrack = sta; }

References theStaTrack.

◆ setTrackerTrack()

void reco::MuonTrackLinks::setTrackerTrack ( reco::TrackRef  tk)
inline

set the ref to tracker's track

Definition at line 40 of file MuonTrackLinks.h.

40 { theTkTrack = tk; }

References theTkTrack.

◆ standAloneTrack()

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

get the track built with the muon spectrometer alone

Definition at line 34 of file MuonTrackLinks.h.

34 { return theStaTrack; }

References theStaTrack.

◆ trackerTrack()

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.

31 { return theTkTrack; }

References theTkTrack.

Member Data Documentation

◆ theGlbTrack

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

ref to the combined track

Definition at line 57 of file MuonTrackLinks.h.

Referenced by globalTrack(), and setGlobalTrack().

◆ theStaTrack

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().

◆ theTkTrack

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().

glb
double glb
Definition: hdecay.h:103