ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::ITrackSummaryTool Class Referenceabstract

Interface tool to calculate the hit summary of tracks & track seeds in the MuonSpectrometer. More...

#include <ITrackSummaryTool.h>

Inheritance diagram for MuonR4::ITrackSummaryTool:
Collaboration diagram for MuonR4::ITrackSummaryTool:

Public Types

using ConstTrack_t = ActsTrk::TrackContainer::ConstTrackProxy
 Abrivation of the Track proxy.

Public Member Functions

virtual ~ITrackSummaryTool ()=default
 Default destructor.
 DeclareInterfaceID (MuonR4::ITrackSummaryTool, 1, 0)
 Declare the interface.
virtual HitSummary makeSummary (const EventContext &ctx, const ConstTrack_t trackProxy) const =0
 Creates a summary from the passed track.
virtual HitSummary makeSummary (const EventContext &ctx, const std::vector< const xAOD::MuonSegment * > &segments) const =0
 Creates a summary from a list of passed segments that are associated to a track seed, a truth particle or a reconstructed track.
virtual HitSummary makeSummary (const EventContext &ctx, const Trk::Track &trk) const =0
 Creates a summary from a Trk::Track object produced by the legacy reconstruction software.
virtual void copySummary (const HitSummary &summary, const xAOD::IParticle &track) const =0
 Decorates the hit summary to the parsed track (xAOD::TrackParticle, xAOD::Muon or xAOD::TruthParticle) using the categories defined in the xAOD::MuonSummaryType enum.

Detailed Description

Interface tool to calculate the hit summary of tracks & track seeds in the MuonSpectrometer.

The hit summary counts the number of hits per MS layer (Inner, Middle, Outer, Extended, BarrelExtended), by whether a hit is a precision or a trigger hit, and whether the hit is on-track outlier or a hole.

Definition at line 30 of file MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h.

Member Typedef Documentation

◆ ConstTrack_t

using MuonR4::ITrackSummaryTool::ConstTrack_t = ActsTrk::TrackContainer::ConstTrackProxy

Constructor & Destructor Documentation

◆ ~ITrackSummaryTool()

virtual MuonR4::ITrackSummaryTool::~ITrackSummaryTool ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ copySummary()

virtual void MuonR4::ITrackSummaryTool::copySummary ( const HitSummary & summary,
const xAOD::IParticle & track ) const
pure virtual

Decorates the hit summary to the parsed track (xAOD::TrackParticle, xAOD::Muon or xAOD::TruthParticle) using the categories defined in the xAOD::MuonSummaryType enum.

◆ DeclareInterfaceID()

MuonR4::ITrackSummaryTool::DeclareInterfaceID ( MuonR4::ITrackSummaryTool ,
1 ,
0  )

Declare the interface.

◆ makeSummary() [1/3]

virtual HitSummary MuonR4::ITrackSummaryTool::makeSummary ( const EventContext & ctx,
const ConstTrack_t trackProxy ) const
pure virtual

Creates a summary from the passed track.

Parameters
ctxEventContext to fetch conditions such that holes associated to dead modules are ignored
trackProxyReconstructed MS track for which the summary shall be made.

◆ makeSummary() [2/3]

virtual HitSummary MuonR4::ITrackSummaryTool::makeSummary ( const EventContext & ctx,
const std::vector< const xAOD::MuonSegment * > & segments ) const
pure virtual

Creates a summary from a list of passed segments that are associated to a track seed, a truth particle or a reconstructed track.

Parameters
ctxEventContext to fetch conditions such that holes associated to dead modules are ignored
segmentsList of segments from which the summary shall be created

◆ makeSummary() [3/3]

virtual HitSummary MuonR4::ITrackSummaryTool::makeSummary ( const EventContext & ctx,
const Trk::Track & trk ) const
pure virtual

Creates a summary from a Trk::Track object produced by the legacy reconstruction software.

The associated hits are categorized the same way as for the ActsTrk::Tracks (Serves purely validation purposes)

Parameters
ctxEventContext to fetch conditions such that holes associated to dead modules are ignored
trkReference to the MS track for which the summary shall be produced

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