ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap Class Reference
Inheritance diagram for InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap:
Collaboration diagram for InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap:

Public Types

using TrackPrepRawDataMap
using PrepRawDataTrackMap
using PrepRawDataTrackMapRange
using ConstPrepRawDataTrackMapRange

Public Member Functions

const std::type_info & getType () const override
 PRDtoTrackMap (const SG::ReadHandleKey< PixelGangedClusterAmbiguities > &key)
bool isUsed (const PrepRawData &prd) const
 does this PRD belong to at least one track?
bool isShared (const PrepRawData &prd) const
 does this PRD belong to more than one track?
PrepRawDataTrackMapRange onTracks (const PrepRawData &prd)
 get the Tracks associated with this PrepRawData.
ConstPrepRawDataTrackMapRange onTracks (const PrepRawData &prd) const
 get the Tracks associated with this PrepRawData.
std::vector< const Trk::PrepRawData * > getPrdsOnTrack (const Track &track) const
 returns a vector of PRDs belonging to the passed track.
void clear ()
void reserve (size_t nTracks, size_t nRawData)

Protected Attributes

SG::ReadHandle< PixelGangedClusterAmbiguities > m_gangedAmbis
PrepRawDataTrackMap m_prepRawDataTrackMap
 holds the tracks associated with each PRD (i.e.
TrackPrepRawDataMap m_trackPrepRawDataMap
 holds the PRDs associated with each Track (i.e.

Friends

class InDetPRDtoTrackMapToolGangedPixels

Detailed Description

Definition at line 64 of file InDetPRDtoTrackMapToolGangedPixels.h.

Member Typedef Documentation

◆ ConstPrepRawDataTrackMapRange

Initial value:
std::pair<PrepRawDataTrackMap::const_iterator,
PrepRawDataTrackMap::const_iterator>

Definition at line 42 of file PRDtoTrackMap.h.

◆ PrepRawDataTrackMap

Initial value:
std::unordered_multimap<
const PrepRawData*,
const Track*,
std::hash<const PrepRawData*>,
std::equal_to<const PrepRawData*>,
std::pair<const PrepRawData* const, const Track*>>
>
STL-style allocator wrapper for ArenaPoolAllocator.

Definition at line 29 of file PRDtoTrackMap.h.

◆ PrepRawDataTrackMapRange

Initial value:
std::pair<PrepRawDataTrackMap::iterator, PrepRawDataTrackMap::iterator>

Definition at line 39 of file PRDtoTrackMap.h.

◆ TrackPrepRawDataMap

Initial value:
std::unordered_map<const Track*,
std::vector<const PrepRawData*>,
std::hash<const Track*>,
std::equal_to<const Track*>,
const Track* const,
std::vector<const PrepRawData*>>>
>

Definition at line 19 of file PRDtoTrackMap.h.

Constructor & Destructor Documentation

◆ PRDtoTrackMap()

InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap::PRDtoTrackMap ( const SG::ReadHandleKey< PixelGangedClusterAmbiguities > & key)

Definition at line 228 of file InDetPRDtoTrackMapToolGangedPixels.cxx.

229{
230 if (!key.key().empty()) {
232 }
233}
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())

Member Function Documentation

◆ clear()

void Trk::PRDtoTrackMap::clear ( )
inherited

◆ getPrdsOnTrack()

std::vector< const Trk::PrepRawData * > Trk::PRDtoTrackMap::getPrdsOnTrack ( const Track & track) const
inherited

returns a vector of PRDs belonging to the passed track.

◆ getType()

const std::type_info & InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap::getType ( ) const
inlineoverridevirtual

Reimplemented from Trk::PRDtoTrackMap.

Definition at line 68 of file InDetPRDtoTrackMapToolGangedPixels.h.

68{return typeid(PRDtoTrackMap); }
PRDtoTrackMap(const SG::ReadHandleKey< PixelGangedClusterAmbiguities > &key)

◆ isShared()

bool Trk::PRDtoTrackMap::isShared ( const PrepRawData & prd) const
inherited

does this PRD belong to more than one track?

Parameters
prdthe PrepRawData in question
Returns
true if 'prd' exists on more than one track

◆ isUsed()

bool Trk::PRDtoTrackMap::isUsed ( const PrepRawData & prd) const
inherited

does this PRD belong to at least one track?

Parameters
prdthe PrepRawData in question
Returns
true if 'prd' exists in at least one track

◆ onTracks() [1/2]

PrepRawDataTrackMapRange Trk::PRDtoTrackMap::onTracks ( const PrepRawData & prd)
inherited

get the Tracks associated with this PrepRawData.

◆ onTracks() [2/2]

ConstPrepRawDataTrackMapRange Trk::PRDtoTrackMap::onTracks ( const PrepRawData & prd) const
inherited

get the Tracks associated with this PrepRawData.

◆ reserve()

void Trk::PRDtoTrackMap::reserve ( size_t nTracks,
size_t nRawData )
inherited

◆ InDetPRDtoTrackMapToolGangedPixels

Definition at line 66 of file InDetPRDtoTrackMapToolGangedPixels.h.

Member Data Documentation

◆ m_gangedAmbis

SG::ReadHandle<PixelGangedClusterAmbiguities> InDet::InDetPRDtoTrackMapToolGangedPixels::PRDtoTrackMap::m_gangedAmbis
protected

Definition at line 73 of file InDetPRDtoTrackMapToolGangedPixels.h.

◆ m_prepRawDataTrackMap

PrepRawDataTrackMap Trk::PRDtoTrackMap::m_prepRawDataTrackMap
protectedinherited

holds the tracks associated with each PRD (i.e.

the PRD* is the key)

Definition at line 82 of file PRDtoTrackMap.h.

◆ m_trackPrepRawDataMap

TrackPrepRawDataMap Trk::PRDtoTrackMap::m_trackPrepRawDataMap
protectedinherited

holds the PRDs associated with each Track (i.e.

the Track* is the key)

Definition at line 85 of file PRDtoTrackMap.h.


The documentation for this class was generated from the following files: