ATLAS Offline Software
TruthGuidedProtoTrackCreator.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_TRUTHGUIDEDPROTOTRACKCREATOR__H
6 #define ACTSTRACKRECONSTRUCTION_TRUTHGUIDEDPROTOTRACKCREATOR__H
7 
9 
12 
13 
14 namespace ActsTrk {
15 
17  public extends<AthAlgTool, ActsTrk::IProtoTrackCreatorTool> {
18  public:
19 
20  TruthGuidedProtoTrackCreator(const std::string& type,
21  const std::string& name,
22  const IInterface* parent);
23  virtual ~TruthGuidedProtoTrackCreator() = 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 
ActsTrk::TruthGuidedProtoTrackCreator::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: TruthGuidedProtoTrackCreator.cxx:126
IProtoTrackCreatorTool.h
ActsTrk::TruthGuidedProtoTrackCreator::TruthGuidedProtoTrackCreator
TruthGuidedProtoTrackCreator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TruthGuidedProtoTrackCreator.cxx:10
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
ActsTrk::TruthGuidedProtoTrackCreator::~TruthGuidedProtoTrackCreator
virtual ~TruthGuidedProtoTrackCreator()=default
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::TruthGuidedProtoTrackCreator
Definition: TruthGuidedProtoTrackCreator.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ActsTrk::TruthGuidedProtoTrackCreator::initialize
virtual StatusCode initialize() override
Definition: TruthGuidedProtoTrackCreator.cxx:16
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
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:34
ActsTrk::TruthGuidedProtoTrackCreator::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: TruthGuidedProtoTrackCreator.cxx:21
ActsTrk::TruthGuidedProtoTrackCreator::m_prdMultiTruthCollectionNames
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_prdMultiTruthCollectionNames
Truth track collection.
Definition: TruthGuidedProtoTrackCreator.h:46