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

Extension of the ITrackSeedinTool interface to monitor the performance of the most crucial methods inside the classical MS track seeding. More...

#include <ITrackSeedingDiagnosticsTool.h>

Inheritance diagram for MuonR4::ITrackSeedingDiagnosticsTool:
Collaboration diagram for MuonR4::ITrackSeedingDiagnosticsTool:

Public Types

using Location = MsTrackSeed::Location
using PosMomPair_t = std::pair<Amg::Vector3D, Amg::Vector3D>

Public Member Functions

virtual ~ITrackSeedingDiagnosticsTool ()=default
 Default destructor.
 DeclareInterfaceID (MuonR4::ITrackSeedingDiagnosticsTool, 1, 0)
 Declare the interface.
virtual bool withinBounds (const Amg::Vector2D &projPos, const Location loc) const =0
 Returns whether the expression on the cylinder is within the surface bounds.
virtual Amg::Vector2D expressOnCylinder (const Acts::GeometryContext &tgContext, const xAOD::MuonSegment &segment, const Location loc, const ExpandedSector sector) const =0
 Expresses the passed segment on the virtual cylinder constructed by the track seeder.
virtual double estimateQtimesP (const Acts::GeometryContext &tgContext, const MsTrackSeed &seed, MagField::AtlasFieldCache &fieldCache) const =0
 Estimate the charge times momentum of a muon track candidate from the contained segments.
virtual double estimateQtimesP (const EventContext &ctx, const Amg::Vector3D &planeNorm, std::span< const PosMomPair_t > circlePoints) const=0
 Take the interface estimateQtimesP method upstream.
 DeclareInterfaceID (MuonR4::ITrackSeedingTool, 1, 0)
 Declare the interface.
virtual StatusCode findTrackSeeds (const EventContext &ctx, std::vector< MsTrackSeed > &outSeeds) const =0
 Retrieves the segment container from StoreGate and constructs TrackSeeds from them.
virtual Acts::Result< Acts::BoundTrackParameters > estimateStartParameters (const EventContext &ctx, const MsTrackSeed &seed) const =0

Detailed Description

Extension of the ITrackSeedinTool interface to monitor the performance of the most crucial methods inside the classical MS track seeding.

The tool is entirely meant for validation purposes.

Definition at line 20 of file ITrackSeedingDiagnosticsTool.h.

Member Typedef Documentation

◆ Location

◆ PosMomPair_t

Definition at line 52 of file ITrackSeedingTool.h.

Constructor & Destructor Documentation

◆ ~ITrackSeedingDiagnosticsTool()

virtual MuonR4::ITrackSeedingDiagnosticsTool::~ITrackSeedingDiagnosticsTool ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ DeclareInterfaceID() [1/2]

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

Declare the interface.

◆ DeclareInterfaceID() [2/2]

MuonR4::ITrackSeedingTool::DeclareInterfaceID ( MuonR4::ITrackSeedingTool ,
1 ,
0  )
inherited

Declare the interface.

◆ estimateQtimesP() [1/2]

virtual double MuonR4::ITrackSeedingDiagnosticsTool::estimateQtimesP ( const Acts::GeometryContext & tgContext,
const MsTrackSeed & seed,
MagField::AtlasFieldCache & fieldCache ) const
pure virtual

Estimate the charge times momentum of a muon track candidate from the contained segments.

The position and direction of the segments are projected onto a given phi plane, defined by the segments with phi information or the sector plane.
The muon trajectory is approximated as 2D trajectory within this plane to avoid side effects from (non)-present phi measurements.

Parameters
tgContextThe geometry context to align the segment w.r.t sector
seedReference to the seed of interest.
fieldCacheThe initialized magnetic field map

◆ estimateQtimesP() [2/2]

virtual double MuonR4::ITrackSeedingTool::estimateQtimesP ( const EventContext & ctx,
const Amg::Vector3D & planeNorm,
std::span< const PosMomPair_t > circlePoints ) const
virtual

Take the interface estimateQtimesP method upstream.

Implements MuonR4::ITrackSeedingTool.

◆ estimateStartParameters()

virtual Acts::Result< Acts::BoundTrackParameters > MuonR4::ITrackSeedingTool::estimateStartParameters ( const EventContext & ctx,
const MsTrackSeed & seed ) const
pure virtualinherited

◆ expressOnCylinder()

virtual Amg::Vector2D MuonR4::ITrackSeedingDiagnosticsTool::expressOnCylinder ( const Acts::GeometryContext & tgContext,
const xAOD::MuonSegment & segment,
const Location loc,
const ExpandedSector sector ) const
pure virtual

Expresses the passed segment on the virtual cylinder constructed by the track seeder.

The segment's position is projected onto the expanded sector plane using the sensor dircection of the first precision measurement. Then projected position and the direction vector are projected into 2D to intersect with the cylinder surface.

Parameters
tgContextThe geometry context to align the measurement surfaces associated with the segment
segmentThe segment that is to be projected.
locLocation of the projection [barrel/endcap]
sectorPhi sector onto which the segment is moved

◆ findTrackSeeds()

virtual StatusCode MuonR4::ITrackSeedingTool::findTrackSeeds ( const EventContext & ctx,
std::vector< MsTrackSeed > & outSeeds ) const
pure virtualinherited

Retrieves the segment container from StoreGate and constructs TrackSeeds from them.

The seed canddiates are pushed to the output seed container

Parameters
ctxEventContext to access the xAOD::MuonSegmentContainer from store gate and additional conditions data if needed to construct the seed
outSeedsMutable reference to the container to whichh the seeds are pushed to.

◆ withinBounds()

virtual bool MuonR4::ITrackSeedingDiagnosticsTool::withinBounds ( const Amg::Vector2D & projPos,
const Location loc ) const
pure virtual

Returns whether the expression on the cylinder is within the surface bounds.

Parameters
projPosProjected position on the cylinder
locSurface location: [barrel/endcap]

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