ATLAS Offline Software
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 
14 namespace 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);
23  virtual ~TruthGuidedProtoTrackCreatorTool() = default;
24 
25 
26  virtual StatusCode initialize() override;
27 
34  virtual StatusCode findProtoTracks(const EventContext& ctx,
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 
IProtoTrackCreatorTool.h
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
ActsTrk::TruthGuidedProtoTrackCreatorTool
Definition: TruthGuidedProtoTrackCreatorTool.h:17
ActsTrk::TruthGuidedProtoTrackCreatorTool::~TruthGuidedProtoTrackCreatorTool
virtual ~TruthGuidedProtoTrackCreatorTool()=default
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::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:129
DataPrepToActsConfig.stripContainer
stripContainer
Definition: DataPrepToActsConfig.py:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ActsTrk::TruthGuidedProtoTrackCreatorTool::TruthGuidedProtoTrackCreatorTool
TruthGuidedProtoTrackCreatorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TruthGuidedProtoTrackCreatorTool.cxx:11
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
ActsTrk::TruthGuidedProtoTrackCreatorTool::initialize
virtual StatusCode initialize() override
Definition: TruthGuidedProtoTrackCreatorTool.cxx:17
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PRD_MultiTruthCollection.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54
DataPrepToActsConfig.pixelContainer
pixelContainer
Definition: DataPrepToActsConfig.py:9
ActsTrk::TruthGuidedProtoTrackCreatorTool::m_prdMultiTruthCollectionNames
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
Truth track collection.
Definition: TruthGuidedProtoTrackCreatorTool.h:46