ATLAS Offline Software
Public Types | Public Member Functions | List of all members
MuonValR4::ITrackVisualizationTool Class Referenceabstract

Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit. More...

#include <ITrackVisualizationTool.h>

Inheritance diagram for MuonValR4::ITrackVisualizationTool:
Collaboration diagram for MuonValR4::ITrackVisualizationTool:

Public Types

using PrimitivePtr_t = std::unique_ptr< TObject >
 
using PrimitivesVec_t = std::vector< PrimitivePtr_t >
 
using OptBoundPars_t = Acts::Result< Acts::BoundTrackParameters >
 

Public Member Functions

virtual ~ITrackVisualizationTool ()=default
 
 DeclareInterfaceID (ITrackVisualizationTool, 1, 0)
 
virtual void displaySeeds (const EventContext &ctx, const MuonR4::MsTrackSeeder &seederObj, const xAOD::MuonSegmentContainer &segments, const MuonR4::MsTrackSeedContainer &seeds) const =0
 Displays all segments on the representative cylinder in the R-Z & X-Y plane and draws the markers of the successfully built seeds & truth segments. More...
 
virtual void displaySeeds (const EventContext &ctx, const MuonR4::MsTrackSeeder &seederObj, const xAOD::MuonSegmentContainer &segments, const MuonR4::MsTrackSeedContainer &seeds, PrimitivesVec_t &&extPrimitives) const =0
 Displays all segments on the representative cylinder in the R-Z & X-Y plane and draws the markers of the successfully built seeds & truth segments. More...
 
virtual void displayTrackSeedObj (const EventContext &ctx, const MuonR4::MsTrackSeed &seed, const OptBoundPars_t &parsToExt, const std::string &objName="") const =0
 Visualizes the measurements of the segments on the track seed together with their predicted local line parameters as an obj file. More...
 

Detailed Description

Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit.

Definition at line 29 of file ITrackVisualizationTool.h.

Member Typedef Documentation

◆ OptBoundPars_t

Definition at line 62 of file ITrackVisualizationTool.h.

◆ PrimitivePtr_t

using MuonValR4::ITrackVisualizationTool::PrimitivePtr_t = std::unique_ptr<TObject>

Definition at line 35 of file ITrackVisualizationTool.h.

◆ PrimitivesVec_t

Definition at line 36 of file ITrackVisualizationTool.h.

Constructor & Destructor Documentation

◆ ~ITrackVisualizationTool()

virtual MuonValR4::ITrackVisualizationTool::~ITrackVisualizationTool ( )
virtualdefault

Member Function Documentation

◆ DeclareInterfaceID()

MuonValR4::ITrackVisualizationTool::DeclareInterfaceID ( ITrackVisualizationTool  ,
,
 
)

◆ displaySeeds() [1/2]

virtual void MuonValR4::ITrackVisualizationTool::displaySeeds ( const EventContext &  ctx,
const MuonR4::MsTrackSeeder seederObj,
const xAOD::MuonSegmentContainer segments,
const MuonR4::MsTrackSeedContainer seeds 
) const
pure virtual

Displays all segments on the representative cylinder in the R-Z & X-Y plane and draws the markers of the successfully built seeds & truth segments.

Parameters
ctxEventContext to access store gate & conditions
seederObjConfigured instance of the track seeder which actually constructed the seeds.
segmentsContainer of all MS segments in the event
seedsThe constructed track seeds from the event

◆ displaySeeds() [2/2]

virtual void MuonValR4::ITrackVisualizationTool::displaySeeds ( const EventContext &  ctx,
const MuonR4::MsTrackSeeder seederObj,
const xAOD::MuonSegmentContainer segments,
const MuonR4::MsTrackSeedContainer seeds,
PrimitivesVec_t &&  extPrimitives 
) const
pure virtual

Displays all segments on the representative cylinder in the R-Z & X-Y plane and draws the markers of the successfully built seeds & truth segments.

Parameters
ctxEventContext to access store gate & conditions
seederObjConfigured instance of the track seeder which actually constructed the seeds.
segmentsContainer of all MS segments in the event
seedsThe constructed track seeds from the event
extPrimitivesExtra TObjects that should be additionally painted onto the Canvases

◆ displayTrackSeedObj()

virtual void MuonValR4::ITrackVisualizationTool::displayTrackSeedObj ( const EventContext &  ctx,
const MuonR4::MsTrackSeed seed,
const OptBoundPars_t parsToExt,
const std::string &  objName = "" 
) const
pure virtual

Visualizes the measurements of the segments on the track seed together with their predicted local line parameters as an obj file.

If parameters to extrapolate are parsed, then they're extrapolated to the end of the world and the trajectory is added to the obj

Parameters
ctxEventContext to fetch the conditions data & the event information
seedMsTrack to visualize
parsToExtParameters to extrapolate on top
objNameExtra token to be added to the file name

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