ATLAS Offline Software
MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.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_ITRACKSUMMARYTOOL_H
5 #define MUONRECTOOLINTERFACESR4_ITRACKSUMMARYTOOL_H
6 
7 #include <GaudiKernel/IAlgTool.h>
8 #include <GaudiKernel/EventContext.h>
9 
11 #include "xAODBase/IParticle.h"
12 
13 namespace MuonR4{
14  struct HitSummary;
15  class MsTrackSeed;
16 }
17 
18 
19 namespace MuonR4{
24  class ITrackSummaryTool: virtual public IAlgTool {
25  public:
27  virtual ~ITrackSummaryTool() = default;
30 
32  using ConstTrack_t = ActsTrk::TrackContainer::ConstTrackProxy;
38  virtual HitSummary makeSummary(const EventContext& ctx,
39  const ConstTrack_t trackProxy) const = 0;
45  virtual HitSummary makeSummary(const EventContext& ctx,
46  const MsTrackSeed& seed) const = 0;
49  virtual void copySummary(const HitSummary& summary,
50  xAOD::IParticle& track) const = 0;
51 
52  };
53 }
54 
55 
56 #endif
MuonR4::ITrackSummaryTool
Interface tool to calculate the hit summary of tracks & track seeds in the MuonSpectrometer.
Definition: MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h:24
IParticle.h
MuonR4::ITrackSummaryTool::~ITrackSummaryTool
virtual ~ITrackSummaryTool()=default
Default destructor.
MuonR4::MsTrackSeed
Definition: MsTrackSeed.h:18
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
MuonR4::ITrackSummaryTool::DeclareInterfaceID
DeclareInterfaceID(MuonR4::ITrackSummaryTool, 1, 0)
Declare the interface
MuonR4::ITrackSummaryTool::ConstTrack_t
ActsTrk::TrackContainer::ConstTrackProxy ConstTrack_t
Abrivation of the Track proxy.
Definition: MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h:32
MuonR4::ITrackSummaryTool::copySummary
virtual void copySummary(const HitSummary &summary, xAOD::IParticle &track) const =0
Decorates the hit summary to the parsed track (xAOD::TrackParticle, xAOD::Muon or xAOD::TruthParticle...
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, const MsTrackSeed &seed) const =0
Creates a summary from the passed track seed.
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, const ConstTrack_t trackProxy) const =0
Creates a summary from the passed track.
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::HitSummary
Summary struct to hold the hit counts on the track per MS layer.
Definition: HitSummary.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:513
TrackContainer.h
SCT_Monitoring::summary
@ summary
Definition: SCT_MonitoringNumbers.h:65