ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonRecToolInterfacesR4
MuonRecToolInterfacesR4
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
10
#include "
ActsEvent/TrackContainer.h
"
11
#include "
xAODMuon/MuonSegment.h
"
12
#include "
xAODBase/IParticle.h
"
13
14
#include <span>
15
16
namespace
Trk
{
17
class
Track
;
18
}
19
20
namespace
MuonR4
{
21
struct
HitSummary
;
22
class
MsTrackSeed
;
23
}
24
25
26
namespace
MuonR4
{
31
class
ITrackSummaryTool
:
virtual
public
IAlgTool {
32
public
:
34
virtual
~ITrackSummaryTool
() =
default
;
36
DeclareInterfaceID
(
MuonR4::ITrackSummaryTool
, 1, 0);
37
39
using
ConstTrack_t
= ActsTrk::TrackContainer::ConstTrackProxy;
45
virtual
HitSummary
makeSummary
(
const
EventContext& ctx,
46
const
ConstTrack_t
trackProxy)
const
= 0;
48
using
Track_t
= ActsTrk::MutableTrackContainer::TrackProxy;
54
virtual
HitSummary
makeSummary
(
const
EventContext& ctx,
55
const
Track_t
trackProxy)
const
= 0;
61
virtual
HitSummary
makeSummary
(
const
EventContext& ctx,
62
std::span<const xAOD::MuonSegment* const> segments)
const
= 0;
69
virtual
HitSummary
makeSummary
(
const
EventContext& ctx,
70
const
Trk::Track
& trk)
const
= 0;
73
virtual
void
copySummary
(
const
HitSummary
& summary,
74
const
xAOD::IParticle
& track)
const
= 0;
75
76
};
77
}
78
79
80
#endif
IParticle.h
MuonSegment.h
TrackContainer.h
MuonR4::ITrackSummaryTool
Interface tool to calculate the hit summary of tracks & track seeds in the MuonSpectrometer.
Definition
MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h:31
MuonR4::ITrackSummaryTool::~ITrackSummaryTool
virtual ~ITrackSummaryTool()=default
Default destructor.
MuonR4::ITrackSummaryTool::ConstTrack_t
ActsTrk::TrackContainer::ConstTrackProxy ConstTrack_t
Abrivation of the const Track proxy.
Definition
MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h:39
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, const Track_t trackProxy) const =0
Creates a summary from the passed track.
MuonR4::ITrackSummaryTool::DeclareInterfaceID
DeclareInterfaceID(MuonR4::ITrackSummaryTool, 1, 0)
Declare the interface.
MuonR4::ITrackSummaryTool::Track_t
ActsTrk::MutableTrackContainer::TrackProxy Track_t
Abrivation of the Track proxy.
Definition
MuonSpectrometer/MuonPhaseII/MuonRecToolInterfacesR4/MuonRecToolInterfacesR4/ITrackSummaryTool.h:48
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, const Trk::Track &trk) const =0
Creates a summary from a Trk::Track object produced by the legacy reconstruction software.
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, const ConstTrack_t trackProxy) const =0
Creates a summary from the passed track.
MuonR4::ITrackSummaryTool::makeSummary
virtual HitSummary makeSummary(const EventContext &ctx, std::span< const xAOD::MuonSegment *const > segments) const =0
Creates a summary from a list of passed segments that are associated to a track seed,...
MuonR4::ITrackSummaryTool::copySummary
virtual void copySummary(const HitSummary &summary, const xAOD::IParticle &track) const =0
Decorates the hit summary to the parsed track (xAOD::TrackParticle, xAOD::Muon or xAOD::TruthParticle...
MuonR4::MsTrackSeed
Definition
MsTrackSeed.h:22
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
MuonR4::HitSummary
Summary struct to hold the hit counts on the track per MS layer.
Definition
HitSummary.h:23
Generated on
for ATLAS Offline Software by
1.17.0