ATLAS Offline Software
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"
15 class EventContext;
16 class TObject;
17 
18 namespace MuonR4{
19  class MsTrackSeeder;
20 }
21 
22 namespace ActsTrk{
23  class GeometryContext;
24 }
25 
26 namespace MuonValR4{
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,
59  const MuonR4::MsTrackSeedContainer& seeds,
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
MuonValR4::ITrackVisualizationTool::DeclareInterfaceID
DeclareInterfaceID(ITrackVisualizationTool, 1, 0)
MuonR4::MsTrackSeed
Definition: MsTrackSeed.h:18
MuonSegmentContainer.h
MuonValR4::ITrackVisualizationTool
Helper tool to visualize a pattern recogntion incident or a certain stage of the segment fit.
Definition: ITrackVisualizationTool.h:29
GeoPrimitives.h
MuonValR4::ITrackVisualizationTool::displayTrackSeedObj
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...
MuonValR4::ITrackVisualizationTool::PrimitivePtr_t
std::unique_ptr< TObject > PrimitivePtr_t
Definition: ITrackVisualizationTool.h:35
MuonValR4::ITrackVisualizationTool::OptBoundPars_t
Acts::Result< Acts::BoundTrackParameters > OptBoundPars_t
Definition: ITrackVisualizationTool.h:62
MuonValR4::ITrackVisualizationTool::~ITrackVisualizationTool
virtual ~ITrackVisualizationTool()=default
MsTrackSeed.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:795
MuonValR4::ITrackVisualizationTool::displaySeeds
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 ...
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition: IPatternVisualizationTool.h:23
MuonValR4::ITrackVisualizationTool::PrimitivesVec_t
std::vector< PrimitivePtr_t > PrimitivesVec_t
Definition: ITrackVisualizationTool.h:36
MuonR4::MsTrackSeeder
Helper class to group muon sgements that may belong to a muon trajectory.
Definition: MsTrackSeeder.h:29
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::MsTrackSeedContainer
std::vector< MsTrackSeed > MsTrackSeedContainer
Definition: MsTrackSeed.h:63
MuonValR4::ITrackVisualizationTool::displaySeeds
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 ...
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MdtCalibInput.h:31