ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsTrackReconstruction
src
TruthGuidedProtoTrackCreatorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSTRACKRECONSTRUCTION_TRUTHGUIDEDPROTOTRACKCREATORTOOL_H
6
#define ACTSTRACKRECONSTRUCTION_TRUTHGUIDEDPROTOTRACKCREATORTOOL_H
7
8
#include "
ActsToolInterfaces/IProtoTrackCreatorTool.h
"
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
12
13
14
namespace
ActsTrk
{
15
16
class
TruthGuidedProtoTrackCreatorTool
:
17
public
extends<AthAlgTool, ActsTrk::IProtoTrackCreatorTool> {
18
public
:
19
20
TruthGuidedProtoTrackCreatorTool
(
const
std::string&
type
,
21
const
std::string& name,
22
const
IInterface* parent);
23
virtual
~TruthGuidedProtoTrackCreatorTool
() =
default
;
24
25
26
virtual
StatusCode
initialize
()
override
;
27
34
virtual
StatusCode
findProtoTracks
(
const
EventContext& ctx,
35
const
xAOD::PixelClusterContainer
& pixelContainer,
36
const
xAOD::StripClusterContainer
& stripContainer,
37
std::vector<ActsTrk::ProtoTrack> & foundProtoTracks )
const
override
final
;
38
protected
:
43
std::unique_ptr<Acts::BoundTrackParameters>
makeDummyParams
(
const
HepMC::ConstGenParticlePtr
& truthParticle)
const
;
44
46
SG::ReadHandleKeyArray<PRD_MultiTruthCollection>
m_prdMultiTruthCollectionNames
{
this
,
"PRD_MultiTruthCollections"
, {},
"PRD multi truth collection names this builder is working on"
};
47
48
49
};
50
51
}
// namespace
52
53
#endif
54
55
56
AthAlgTool.h
IProtoTrackCreatorTool.h
PRD_MultiTruthCollection.h
ActsTrk::TruthGuidedProtoTrackCreatorTool::TruthGuidedProtoTrackCreatorTool
TruthGuidedProtoTrackCreatorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TruthGuidedProtoTrackCreatorTool.cxx:11
ActsTrk::TruthGuidedProtoTrackCreatorTool::findProtoTracks
virtual StatusCode findProtoTracks(const EventContext &ctx, const xAOD::PixelClusterContainer &pixelContainer, const xAOD::StripClusterContainer &stripContainer, std::vector< ActsTrk::ProtoTrack > &foundProtoTracks) const override final
EF-style pattern recognition to create prototracks.
Definition
TruthGuidedProtoTrackCreatorTool.cxx:23
ActsTrk::TruthGuidedProtoTrackCreatorTool::initialize
virtual StatusCode initialize() override
Definition
TruthGuidedProtoTrackCreatorTool.cxx:17
ActsTrk::TruthGuidedProtoTrackCreatorTool::m_prdMultiTruthCollectionNames
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
Truth track collection.
Definition
TruthGuidedProtoTrackCreatorTool.h:46
ActsTrk::TruthGuidedProtoTrackCreatorTool::~TruthGuidedProtoTrackCreatorTool
virtual ~TruthGuidedProtoTrackCreatorTool()=default
ActsTrk::TruthGuidedProtoTrackCreatorTool::makeDummyParams
std::unique_ptr< Acts::BoundTrackParameters > makeDummyParams(const HepMC::ConstGenParticlePtr &truthParticle) const
creates a random, dummy set of parameters Warning: This is not a real parameter estimate.
Definition
TruthGuidedProtoTrackCreatorTool.cxx:127
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
HepMC::ConstGenParticlePtr
HepMC3::ConstGenParticlePtr ConstGenParticlePtr
Definition
GenParticle.h:20
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
xAOD::PixelClusterContainer
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelClusterContainer.h:14
xAOD::StripClusterContainer
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.
Definition
StripClusterContainer.h:14
type
Generated on
for ATLAS Offline Software by
1.17.0