ATLAS Offline Software
Loading...
Searching...
No Matches
IHGTD_TrackTimeExtensionTool.h
Go to the documentation of this file.
1
17
18#ifndef IHGTD_TRACKTIMEEXTENSIONTOOL_H
19#define IHGTD_TRACKTIMEEXTENSIONTOOL_H
20
21#include "GaudiKernel/IAlgTool.h"
24#include "TrkTrack/Track.h"
27#include "AtlasHepMC/GenEvent.h"
28#include <memory>
29
30namespace HGTD {
31
33 // track states after extrapolation, can be of hole type
34 std::array<std::unique_ptr<const Trk::TrackStateOnSurface>, 4> m_hits;
35 // truth info about primary hits left by the truth particles
36 // is kept independent of them being found during the track extension
37 std::array<const HGTD_Cluster*, 4> m_truth_primary_hits = {nullptr, nullptr, nullptr, nullptr};
38 std::array<HGTD::ClusterTruthInfo, 4> m_truth_primary_info;
39 // point of extrapolation on HGTD layer closest to IP
40 float m_extrap_x = 0;
41 float m_extrap_y = 0;
42};
43
44} // namespace HGTD
45
46class IHGTD_TrackTimeExtensionTool : virtual public IAlgTool {
47
48public:
51
63 extendTrackToHGTD(const EventContext& ctx,
64 const xAOD::TrackParticle& track,
66 const HepMC::GenEvent* hs_event = nullptr,
67 const InDetSimDataCollection* sim_data = nullptr) const = 0;
68};
69
70#endif // IHGTD_TRACKTIMEEXTENSIONTOOL_H
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
Trk::PrepRawDataContainer< HGTD_ClusterCollection > HGTD_ClusterContainer
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
virtual HGTD::ExtensionObject extendTrackToHGTD(const EventContext &ctx, const xAOD::TrackParticle &track, const HGTD_ClusterContainer *container, const HepMC::GenEvent *hs_event=nullptr, const InDetSimDataCollection *sim_data=nullptr) const =0
Extends a track to (up to) 4 measurements in HGTD.
DeclareInterfaceID(IHGTD_TrackTimeExtensionTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
std::array< HGTD::ClusterTruthInfo, 4 > m_truth_primary_info
std::array< std::unique_ptr< const Trk::TrackStateOnSurface >, 4 > m_hits
std::array< const HGTD_Cluster *, 4 > m_truth_primary_hits