ATLAS Offline Software
Public Types | Public Member Functions | List of all members
Muon::IMuonSegmentTrackBuilder Class Referenceabstract

The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations
More...

#include <IMuonSegmentTrackBuilder.h>

Inheritance diagram for Muon::IMuonSegmentTrackBuilder:
Collaboration diagram for Muon::IMuonSegmentTrackBuilder:

Public Types

using PrepVec = std::vector< const Trk::PrepRawData * >
 
typedef PrepVec::iterator PrepIt
 
typedef PrepVec::const_iterator PrepCit
 

Public Member Functions

 DeclareInterfaceID (Muon::IMuonSegmentTrackBuilder, 1, 0)
 access to tool interface More...
 
virtual std::unique_ptr< Trk::Trackrefit (const EventContext &ctx, Trk::Track &track) const =0
 refit track More...
 
virtual std::unique_ptr< Trk::TrackrecalibrateHitsOnTrack (const EventContext &ctx, const Trk::Track &track, bool doMdts, bool doCompetingClusters) const =0
 recalibrate hits on track, does not refit More...
 
virtual std::unique_ptr< MuonSegmentcombineToSegment (const EventContext &ctx, const MuonSegment &seg1, const MuonSegment &seg2, const PrepVec &patternPhiHits) const =0
 combine two segments to a super segment More...
 
virtual std::unique_ptr< Trk::Trackcombine (const EventContext &ctx, const MuonSegment &seg1, const MuonSegment &seg2, const PrepVec &patternPhiHits) const =0
 combine two segments to a track More...
 
virtual std::unique_ptr< Trk::Trackcombine (const EventContext &ctx, const Trk::Track &track, const MuonSegment &seg, const PrepVec &patternPhiHits) const =0
 combine a track with a segment More...
 
virtual std::unique_ptr< Trk::TrackParametersfindClosestParameters (const Trk::Track &track, const Amg::Vector3D &pos) const =0
 find closest TrackParameters to the position. More...
 
virtual std::unique_ptr< Trk::TrackParametersgetClosestParameters (const Trk::Track &track, const Trk::Surface &surf) const =0
 find closest TrackParameters to the surface. More...
 
virtual ~IMuonSegmentTrackBuilder ()=default
 

Detailed Description

The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations

Definition at line 24 of file IMuonSegmentTrackBuilder.h.

Member Typedef Documentation

◆ PrepCit

typedef PrepVec::const_iterator Muon::IMuonSegmentTrackBuilder::PrepCit

Definition at line 28 of file IMuonSegmentTrackBuilder.h.

◆ PrepIt

typedef PrepVec::iterator Muon::IMuonSegmentTrackBuilder::PrepIt

Definition at line 27 of file IMuonSegmentTrackBuilder.h.

◆ PrepVec

Definition at line 26 of file IMuonSegmentTrackBuilder.h.

Constructor & Destructor Documentation

◆ ~IMuonSegmentTrackBuilder()

virtual Muon::IMuonSegmentTrackBuilder::~IMuonSegmentTrackBuilder ( )
virtualdefault

Member Function Documentation

◆ combine() [1/2]

virtual std::unique_ptr<Trk::Track> Muon::IMuonSegmentTrackBuilder::combine ( const EventContext &  ctx,
const MuonSegment seg1,
const MuonSegment seg2,
const PrepVec patternPhiHits 
) const
pure virtual

combine two segments to a track

Parameters
seg1the first segment
seg2the second segment
patternPhiHitsif provided, the external phi hits will be used instead of the phi hits on the segment
Returns
a pointer to the resulting track, will return zero if combination failed. Ownership passed to user.

Implemented in Muon::MooTrackBuilder.

◆ combine() [2/2]

virtual std::unique_ptr<Trk::Track> Muon::IMuonSegmentTrackBuilder::combine ( const EventContext &  ctx,
const Trk::Track track,
const MuonSegment seg,
const PrepVec patternPhiHits 
) const
pure virtual

combine a track with a segment

Parameters
tracka track
sega segment
patternPhiHitsif provided, the external phi hits will be used instead of the phi hits on the segment
Returns
a pointer to the resulting track, will return zero if combination failed. Ownership passed to user.

Implemented in Muon::MooTrackBuilder.

◆ combineToSegment()

virtual std::unique_ptr<MuonSegment> Muon::IMuonSegmentTrackBuilder::combineToSegment ( const EventContext &  ctx,
const MuonSegment seg1,
const MuonSegment seg2,
const PrepVec patternPhiHits 
) const
pure virtual

combine two segments to a super segment

Parameters
seg1the first segment
seg2the second segment
patternPhiHitsif provided, the external phi hits will be used instead of the phi hits on the segment
Returns
a pointer to the combined segment, will return zero if combination failed. Ownership passed to user.

Implemented in Muon::MooTrackBuilder.

◆ DeclareInterfaceID()

Muon::IMuonSegmentTrackBuilder::DeclareInterfaceID ( Muon::IMuonSegmentTrackBuilder  ,
,
 
)

access to tool interface

◆ findClosestParameters()

virtual std::unique_ptr<Trk::TrackParameters> Muon::IMuonSegmentTrackBuilder::findClosestParameters ( const Trk::Track track,
const Amg::Vector3D pos 
) const
pure virtual

find closest TrackParameters to the position.

Closest is defined as closest in z in the endcap and closest in r in the barrel.

Parameters
tracka reference to a Track
posa reference to a GlobalPosition
Returns
a pointer to TrackParameters, the ownership of the parameters is passed to the client calling the tool.

Implemented in Muon::MooTrackBuilder.

◆ getClosestParameters()

virtual std::unique_ptr<Trk::TrackParameters> Muon::IMuonSegmentTrackBuilder::getClosestParameters ( const Trk::Track track,
const Trk::Surface surf 
) const
pure virtual

find closest TrackParameters to the surface.

The distance is calculated along the track

Parameters
tracka reference to a Track
posa reference to a Surface
Returns
a pointer to TrackParameters, the ownership of the parameters is passed to the client calling the tool.

Implemented in Muon::MooTrackBuilder.

◆ recalibrateHitsOnTrack()

virtual std::unique_ptr<Trk::Track> Muon::IMuonSegmentTrackBuilder::recalibrateHitsOnTrack ( const EventContext &  ctx,
const Trk::Track track,
bool  doMdts,
bool  doCompetingClusters 
) const
pure virtual

recalibrate hits on track, does not refit

Parameters
trackthe track
doMdtsflag to indicate whether to recalibration the MDTs
doCompetingClustersflag to indicate whether to redo competing ROTs
Returns
a pointer to the resulting track, will return zero if calibration failed. Ownership passed to user.

Implemented in Muon::MooTrackBuilder.

◆ refit()

virtual std::unique_ptr<Trk::Track> Muon::IMuonSegmentTrackBuilder::refit ( const EventContext &  ctx,
Trk::Track track 
) const
pure virtual

refit track

Parameters
trackthe track
Returns
a pointer to the resulting track, will return zero if combination failed. Ownership passed to user.

Implemented in Muon::MooTrackBuilder.


The documentation for this class was generated from the following file: