![]() |
ATLAS Offline Software
|
Concrete Implementation of the IPRD_AssociationTool interface. More...
#include <InDetPRD_AssociationToolGangedPixels.h>
Public Types | |
| typedef Trk::IPRD_AssociationTool::Maps | Maps |
Public Member Functions | |
| InDetPRD_AssociationToolGangedPixels (const std::string &, const std::string &, const IInterface *) | |
| virtual | ~InDetPRD_AssociationToolGangedPixels () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | addPRDs (const Trk::Track &track) override |
| add the PRDs from this track to the store | |
| virtual StatusCode | addPRDs (Maps &maps, const Trk::Track &track) const override |
| add the PRDs from this track to maps. | |
| virtual StatusCode | removePRDs (Maps &maps, const Trk::Track &track) const override |
| remove the PRDs from this track from maps | |
| virtual StatusCode | removePRDs (const Trk::Track &track) override |
| remove the PRDs from this track from the store | |
| virtual bool | isUsed (const Maps &maps, const Trk::PrepRawData &prd) const override final |
| does this PRD belong to at least one track in maps? | |
| virtual bool | isUsed (const Trk::PrepRawData &prd) const override |
| does this PRD belong to at least one track? | |
| virtual bool | isShared (const Maps &maps, const Trk::PrepRawData &prd) const override final |
| does this PRD belong to more than one track in maps? | |
| virtual bool | isShared (const Trk::PrepRawData &prd) const override |
| does this PRD belong to more than one track? | |
| virtual std::vector< const Trk::PrepRawData * > | getPrdsOnTrack (const Trk::Track &track) const override |
| returns a vector of PRDs belonging to the passed track. | |
| virtual std::vector< const Trk::PrepRawData * > | getPrdsOnTrack (const Maps &maps, const Trk::Track &track) const override |
| virtual Trk::IPRD_AssociationTool::TrackSet | findConnectedTracks (const Trk::Track &track) const override |
| returns set of tracks which share PRD with this one | |
| virtual IPRD_AssociationTool::TrackSet | findConnectedTracks (const Maps &maps, const Trk::Track &track) const override |
| virtual Trk::IPRD_AssociationTool::PrepRawDataTrackMapRange | onTracks (const Trk::PrepRawData &prd) const override |
| get the Tracks associated with this Trk::PrepRawData. | |
| virtual IPRD_AssociationTool::PrepRawDataTrackMapRange | onTracks (const Maps &maps, const Trk::PrepRawData &prd) const override |
| virtual void | reset () override |
| resets the tool - should be called before using tool (and maybe afterwards to free up memory) | |
Private Attributes | |
| Maps | m_maps |
| SG::ReadHandleKey< PixelGangedClusterAmbiguities > | m_pixelClusterAmbiguitiesMapName {this, "PixelClusterAmbiguitiesMapName", "PixelClusterAmbiguitiesMap"} |
| BooleanProperty | m_addTRToutliers {this, "addTRToutliers", false} |
| add TRT outliers in the addTrack method to avoid splits due to rejected extensions | |
Concrete Implementation of the IPRD_AssociationTool interface.
Definition at line 20 of file InDetPRD_AssociationToolGangedPixels.h.
Definition at line 24 of file InDetPRD_AssociationToolGangedPixels.h.
| InDet::InDetPRD_AssociationToolGangedPixels::InDetPRD_AssociationToolGangedPixels | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 16 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
virtualdefault |
|
overridevirtual |
add the PRDs from this track to the store
| track | all PRDs from 'track' will be added to PRD_AssociationTool's internal store. |
Definition at line 34 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
add the PRDs from this track to maps.
| track | all PRDs from 'track' will be added to PRD_AssociationTool's internal store. |
Definition at line 39 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
Definition at line 29 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
Definition at line 170 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
returns set of tracks which share PRD with this one
| track | this Track must be known to this tool. |
Definition at line 164 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
Definition at line 219 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
returns a vector of PRDs belonging to the passed track.
It's basically for the convenience of users and is created purely from the passed track. i.e. there is no caching if you do it multiple times on the same track, you're being inefficient!!
| track | this Track will be iterated through and all PrepRawData added to a vector |
Definition at line 212 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
Definition at line 23 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
inlinefinaloverridevirtual |
does this PRD belong to more than one track in maps?
| prd | the PrepRawData in question |
Definition at line 131 of file InDetPRD_AssociationToolGangedPixels.h.
|
inlineoverridevirtual |
does this PRD belong to more than one track?
| prd | the PrepRawData in question |
Definition at line 138 of file InDetPRD_AssociationToolGangedPixels.h.
|
inlinefinaloverridevirtual |
does this PRD belong to at least one track in maps?
| prd | the PrepRawData in question |
Definition at line 118 of file InDetPRD_AssociationToolGangedPixels.h.
|
inlineoverridevirtual |
does this PRD belong to at least one track?
| prd | the PrepRawData in question |
Definition at line 125 of file InDetPRD_AssociationToolGangedPixels.h.
|
overridevirtual |
Definition at line 281 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
get the Tracks associated with this Trk::PrepRawData.
IMPORTANT: Please use the typedefs IPRD_AssociationTool::PrepRawDataRange and IPRD_AssociationTool::ConstPRD_MapIt (defined in the interface) to access the tracks, as the way the data is stored internally may change.
Definition at line 275 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
remove the PRDs from this track from the store
| track | all PRDs from 'track' will be removed from the PRD_AssociationTool's internal store. |
Definition at line 81 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
remove the PRDs from this track from maps
| track | all PRDs from 'track' will be removed from maps |
Definition at line 86 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
overridevirtual |
resets the tool - should be called before using tool (and maybe afterwards to free up memory)
Definition at line 287 of file InDetPRD_AssociationToolGangedPixels.cxx.
|
private |
add TRT outliers in the addTrack method to avoid splits due to rejected extensions
Definition at line 113 of file InDetPRD_AssociationToolGangedPixels.h.
|
private |
Definition at line 108 of file InDetPRD_AssociationToolGangedPixels.h.
|
private |
Definition at line 110 of file InDetPRD_AssociationToolGangedPixels.h.