![]() |
ATLAS Offline Software
|
Concrete Implementation of the IPRD_AssociationTool interface. More...
#include <PRD_AssociationTool.h>
Public Member Functions | |
| PRD_AssociationTool (const std::string &, const std::string &, const IInterface *) | |
| virtual | ~PRD_AssociationTool ()=default |
| virtual StatusCode | initialize () override |
| virtual StatusCode | addPRDs (const Track &track) override |
| add the PRDs from this track to the store | |
| virtual StatusCode | addPRDs (Maps &maps, const Track &track) const override |
| add the PRDs from this track to maps. | |
| virtual StatusCode | removePRDs (Maps &maps, const Track &track) const override |
| remove the PRDs from this track from maps | |
| virtual StatusCode | removePRDs (const Track &track) override |
| remove the PRDs from this track from the store | |
| virtual bool | isUsed (const Maps &maps, const PrepRawData &prd) const override final |
| does this PRD belong to at least one track in maps? | |
| virtual bool | isUsed (const PrepRawData &prd) const override final |
| does this PRD belong to at least one track? | |
| virtual bool | isShared (const Maps &maps, const PrepRawData &prd) const override final |
| does this PRD belong to more than one track in maps? | |
| virtual bool | isShared (const PrepRawData &prd) const override final |
| does this PRD belong to more than one track? | |
| virtual std::vector< const PrepRawData * > | getPrdsOnTrack (const Track &track) const override |
| returns a vector of PRDs belonging to the passed track. | |
| virtual std::vector< const PrepRawData * > | getPrdsOnTrack (const Maps &maps, const Track &track) const override |
| virtual IPRD_AssociationTool::TrackSet | findConnectedTracks (const Track &track) const override |
| returns set of tracks which share PRD with this one | |
| virtual IPRD_AssociationTool::TrackSet | findConnectedTracks (const Maps &maps, const Track &track) const override |
| virtual IPRD_AssociationTool::PrepRawDataTrackMapRange | onTracks (const PrepRawData &prd) const override |
| get the Tracks associated with this Trk::PrepRawData. | |
| virtual IPRD_AssociationTool::PrepRawDataTrackMapRange | onTracks (const Maps &maps, const 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< Trk::PRDtoTrackMap > | m_prdToTrackMap {this,"PRDtoTrackMap",""} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
Concrete Implementation of the IPRD_AssociationTool interface.
Definition at line 24 of file PRD_AssociationTool.h.
| Trk::PRD_AssociationTool::PRD_AssociationTool | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 16 of file PRD_AssociationTool.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 33 of file PRD_AssociationTool.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 PRD_AssociationTool.cxx.
|
overridevirtual |
Definition at line 127 of file PRD_AssociationTool.cxx.
|
overridevirtual |
returns set of tracks which share PRD with this one
| track | this Track must be known to this tool. |
Definition at line 120 of file PRD_AssociationTool.cxx.
|
overridevirtual |
Definition at line 165 of file PRD_AssociationTool.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 157 of file PRD_AssociationTool.cxx.
|
overridevirtual |
Definition at line 24 of file PRD_AssociationTool.cxx.
|
inlinefinaloverridevirtual |
does this PRD belong to more than one track in maps?
| prd | the PrepRawData in question |
Definition at line 129 of file PRD_AssociationTool.h.
|
inlinefinaloverridevirtual |
does this PRD belong to more than one track?
| prd | the PrepRawData in question |
Definition at line 135 of file PRD_AssociationTool.h.
|
inlinefinaloverridevirtual |
does this PRD belong to at least one track in maps?
| prd | the PrepRawData in question |
Definition at line 117 of file PRD_AssociationTool.h.
|
inlinefinaloverridevirtual |
does this PRD belong to at least one track?
| prd | the PrepRawData in question |
Definition at line 123 of file PRD_AssociationTool.h.
|
overridevirtual |
Definition at line 222 of file PRD_AssociationTool.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 215 of file PRD_AssociationTool.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 62 of file PRD_AssociationTool.cxx.
|
overridevirtual |
remove the PRDs from this track from maps
| track | all PRDs from 'track' will be removed from maps |
Definition at line 68 of file PRD_AssociationTool.cxx.
|
overridevirtual |
resets the tool - should be called before using tool (and maybe afterwards to free up memory)
Definition at line 228 of file PRD_AssociationTool.cxx.
|
private |
Definition at line 114 of file PRD_AssociationTool.h.
|
private |
Definition at line 111 of file PRD_AssociationTool.h.
|
private |
Definition at line 112 of file PRD_AssociationTool.h.