The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations
More...
#include <IMuonSegmentTrackBuilder.h>
|
| DeclareInterfaceID (Muon::IMuonSegmentTrackBuilder, 1, 0) |
| access to tool interface More...
|
|
virtual std::unique_ptr< Trk::Track > | refit (const EventContext &ctx, Trk::Track &track) const =0 |
| refit track More...
|
|
virtual std::unique_ptr< Trk::Track > | recalibrateHitsOnTrack (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< MuonSegment > | combineToSegment (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::Track > | combine (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::Track > | combine (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::TrackParameters > | findClosestParameters (const Trk::Track &track, const Amg::Vector3D &pos) const =0 |
| find closest TrackParameters to the position. More...
|
|
virtual std::unique_ptr< Trk::TrackParameters > | getClosestParameters (const Trk::Track &track, const Trk::Surface &surf) const =0 |
| find closest TrackParameters to the surface. More...
|
|
virtual | ~IMuonSegmentTrackBuilder ()=default |
|
The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations
Definition at line 24 of file IMuonSegmentTrackBuilder.h.
◆ PrepCit
◆ PrepIt
◆ PrepVec
◆ ~IMuonSegmentTrackBuilder()
virtual Muon::IMuonSegmentTrackBuilder::~IMuonSegmentTrackBuilder |
( |
| ) |
|
|
virtualdefault |
◆ combine() [1/2]
combine two segments to a track
- Parameters
-
seg1 | the first segment |
seg2 | the second segment |
patternPhiHits | if 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]
combine a track with a segment
- Parameters
-
track | a track |
seg | a segment |
patternPhiHits | if 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()
combine two segments to a super segment
- Parameters
-
seg1 | the first segment |
seg2 | the second segment |
patternPhiHits | if 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()
◆ findClosestParameters()
find closest TrackParameters to the position.
Closest is defined as closest in z in the endcap and closest in r in the barrel.
- Parameters
-
track | a reference to a Track |
pos | a 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()
find closest TrackParameters to the surface.
The distance is calculated along the track
- Parameters
-
- 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
-
track | the track |
doMdts | flag to indicate whether to recalibration the MDTs |
doCompetingClusters | flag 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
-
- 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: