ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackVisualizationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONRECTOOLINTERFACESR4_IPATTERNVISUALIZATIONTOOL_H
5#define MUONRECTOOLINTERFACESR4_IPATTERNVISUALIZATIONTOOL_H
6
7
8#include <GaudiKernel/IAlgTool.h>
12#include <memory>
13
14#include "Acts/EventData/TrackParameters.hpp"
15class EventContext;
16class TObject;
17
18namespace MuonR4{
19 class MsTrackSeeder;
20}
21
22namespace ActsTrk{
23 class GeometryContext;
24}
25
26namespace MuonValR4{
28
29 class ITrackVisualizationTool : virtual public IAlgTool {
30 public:
31 virtual ~ITrackVisualizationTool() = default;
32
34
35 using PrimitivePtr_t = std::unique_ptr<TObject>;
36 using PrimitivesVec_t = std::vector<PrimitivePtr_t>;
44 virtual void displaySeeds(const EventContext& ctx,
45 const MuonR4::MsTrackSeeder& seederObj,
46 const xAOD::MuonSegmentContainer& segments,
47 const MuonR4::MsTrackSeedContainer& seeds) const = 0;
56 virtual void displaySeeds(const EventContext& ctx,
57 const MuonR4::MsTrackSeeder& seederObj,
58 const xAOD::MuonSegmentContainer& segments,
60 PrimitivesVec_t && extPrimitives) const = 0;
61
62 using OptBoundPars_t = Acts::Result<Acts::BoundTrackParameters>;
71 virtual void displayTrackSeedObj(const EventContext& ctx,
72 const MuonR4::MsTrackSeed& seed,
73 const OptBoundPars_t& parsToExt,
74 const std::string& objName = "") const = 0;
75
76 };
77}
78#endif
Helper class to group muon sgements that may belong to a muon trajectory.
Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit.
Acts::Result< Acts::BoundTrackParameters > OptBoundPars_t
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 ...
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 ...
virtual ~ITrackVisualizationTool()=default
DeclareInterfaceID(ITrackVisualizationTool, 1, 0)
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 lin...
std::vector< PrimitivePtr_t > PrimitivesVec_t
std::unique_ptr< TObject > PrimitivePtr_t
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
This header ties the generic definitions in this package.
std::vector< MsTrackSeed > MsTrackSeedContainer
Definition MsTrackSeed.h:63
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".