ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
12
13
14namespace ActsTrk {
15
17 public extends<AthAlgTool, ActsTrk::IProtoTrackCreatorTool> {
18 public:
19
20 TruthGuidedProtoTrackCreatorTool(const std::string& type,
21 const std::string& name,
22 const IInterface* parent);
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
TruthGuidedProtoTrackCreatorTool(const std::string &type, const std::string &name, const IInterface *parent)
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.
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
Truth track collection.
virtual ~TruthGuidedProtoTrackCreatorTool()=default
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.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
const GenParticle * ConstGenParticlePtr
Definition GenParticle.h:38
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.