ATLAS Offline Software
Loading...
Searching...
No Matches
InDetPRDtoTrackMapToolGangedPixels.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 _InDet_InDetPRDtoTrackMapToolGangedPixels_h_
6#define _InDet_InDetPRDtoTrackMapToolGangedPixels_h_
7
13
14class AtlasDetectorID;
15class Identifier;
16
17namespace InDet {
18
20 class InDetPRDtoTrackMapToolGangedPixels : public extends<AthAlgTool, Trk::IPRDtoTrackMapTool>
21{
22
23 public:
24 InDetPRDtoTrackMapToolGangedPixels(const std::string&,const std::string&,const IInterface*);
25
27 virtual StatusCode initialize() override;
28 virtual StatusCode finalize () override;
29
30 virtual
31 std::unique_ptr<Trk::PRDtoTrackMap> createPRDtoTrackMap() const override;
32 virtual
33 std::unique_ptr<Trk::PRDtoTrackMap> reduceToStorableMap(std::unique_ptr<Trk::PRDtoTrackMap> &&obj_in) const override;
34
37 virtual StatusCode addPRDs(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track& track) const override;
38
46 virtual std::vector< const Trk::PrepRawData* > getPrdsOnTrack(Trk::PRDtoTrackMap &virt_prd_to_track_map,
47 const Trk::Track& track) const override;
48
53 const Trk::Track& track) const override;
54
55 private:
56
57 void ensureType(Trk::PRDtoTrackMap &virt_prd_to_track_map) const;
58
59 SG::ReadHandleKey<PixelGangedClusterAmbiguities> m_pixelClusterAmbiguitiesMapName{this, "PixelClusterAmbiguitiesMapName", "PixelClusterAmbiguitiesMap"};
60
62 BooleanProperty m_addTRToutliers{this, "addTRToutliers", false};
63
65 {
67 public:
68 const std::type_info& getType() const override {return typeid(PRDtoTrackMap); }
69
71
72 protected:
74 };
75 };
76
77
78
79}
80#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
PRDtoTrackMap(const SG::ReadHandleKey< PixelGangedClusterAmbiguities > &key)
virtual std::unique_ptr< Trk::PRDtoTrackMap > reduceToStorableMap(std::unique_ptr< Trk::PRDtoTrackMap > &&obj_in) const override
virtual std::unique_ptr< Trk::PRDtoTrackMap > createPRDtoTrackMap() const override
BooleanProperty m_addTRToutliers
add TRT outliers in the addTrack method to avoid splits due to rejected extensions
virtual std::vector< const Trk::PrepRawData * > getPrdsOnTrack(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track &track) const override
returns a vector of PRDs belonging to the passed track.
SG::ReadHandleKey< PixelGangedClusterAmbiguities > m_pixelClusterAmbiguitiesMapName
virtual StatusCode addPRDs(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track &track) const override
add the PRDs from this track to the store
InDetPRDtoTrackMapToolGangedPixels(const std::string &, const std::string &, const IInterface *)
void ensureType(Trk::PRDtoTrackMap &virt_prd_to_track_map) const
virtual Trk::IPRDtoTrackMapTool::TrackSet findConnectedTracks(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track &track) const override
returns set of tracks which share PRD with this one
Property holding a SG store/key/clid from which a ReadHandle is made.
std::set< const Track * > TrackSet
PRDtoTrackMap()=default
Primary Vertex Finder.