ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
HighGranularityTimingDetector
HGTD_Reconstruction
HGTD_RecToolInterfaces
HGTD_RecToolInterfaces
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"
22
#include "
HGTD_PrepRawData/HGTD_ClusterContainer.h
"
23
#include "
HGTD_RecToolInterfaces/IHGTD_ClusterTruthTool.h
"
24
#include "
TrkTrack/Track.h
"
25
#include "
TrkTrack/TrackStateOnSurface.h
"
26
#include "
xAODTracking/TrackParticle.h
"
27
#include "
AtlasHepMC/GenEvent.h
"
28
#include <memory>
29
30
namespace
HGTD
{
31
32
struct
ExtensionObject
{
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
// holes on track in HGTD
43
std::vector<char>
m_holes_hgtd
= {0, 0, 0, 0};
44
};
45
46
}
// namespace HGTD
47
48
class
IHGTD_TrackTimeExtensionTool
:
virtual
public
IAlgTool {
49
50
public
:
52
DeclareInterfaceID
(
IHGTD_TrackTimeExtensionTool
, 1, 0);
53
64
virtual
HGTD::ExtensionObject
65
extendTrackToHGTD
(
const
EventContext& ctx,
66
const
xAOD::TrackParticle
& track,
67
const
HGTD_ClusterContainer
* container,
68
const
HepMC::GenEvent
* hs_event =
nullptr
,
69
const
InDetSimDataCollection
* sim_data =
nullptr
)
const
= 0;
70
};
71
72
#endif
// IHGTD_TRACKTIMEEXTENSIONTOOL_H
TrackParticle.h
GenEvent.h
HGTD_ClusterContainer.h
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
HGTD_ClusterContainer
Trk::PrepRawDataContainer< HGTD_ClusterCollection > HGTD_ClusterContainer
Definition
HGTD_ClusterContainer.h:20
IHGTD_ClusterTruthTool.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
TrackStateOnSurface.h
Track.h
IHGTD_TrackTimeExtensionTool
Definition
IHGTD_TrackTimeExtensionTool.h:48
IHGTD_TrackTimeExtensionTool::extendTrackToHGTD
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.
IHGTD_TrackTimeExtensionTool::DeclareInterfaceID
DeclareInterfaceID(IHGTD_TrackTimeExtensionTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
InDetSimDataCollection
Definition
InDetSimDataCollection.h:25
HGTD
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
Definition
HGTD_TdcCalibrationTool.h:34
HepMC::GenEvent
HepMC3::GenEvent GenEvent
Definition
GenEvent.h:39
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
HGTD::ExtensionObject
Definition
IHGTD_TrackTimeExtensionTool.h:32
HGTD::ExtensionObject::m_extrap_x
float m_extrap_x
Definition
IHGTD_TrackTimeExtensionTool.h:40
HGTD::ExtensionObject::m_truth_primary_info
std::array< HGTD::ClusterTruthInfo, 4 > m_truth_primary_info
Definition
IHGTD_TrackTimeExtensionTool.h:38
HGTD::ExtensionObject::m_hits
std::array< std::unique_ptr< const Trk::TrackStateOnSurface >, 4 > m_hits
Definition
IHGTD_TrackTimeExtensionTool.h:34
HGTD::ExtensionObject::m_truth_primary_hits
std::array< const HGTD_Cluster *, 4 > m_truth_primary_hits
Definition
IHGTD_TrackTimeExtensionTool.h:37
HGTD::ExtensionObject::m_extrap_y
float m_extrap_y
Definition
IHGTD_TrackTimeExtensionTool.h:41
HGTD::ExtensionObject::m_holes_hgtd
std::vector< char > m_holes_hgtd
Definition
IHGTD_TrackTimeExtensionTool.h:43
Generated on
for ATLAS Offline Software by
1.17.0