5#ifndef TRACKINGTOOLS_SHAREDHITMAPPER_H
6#define TRACKINGTOOLS_SHAREDHITMAPPER_H
55typedef std::map<const xAOD::TrackParticle* const, int>
Assoc;
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Assoc::const_iterator AssocIter
std::map< const xAOD::TrackParticle *const, int > Assoc
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
bool m_qualOrder
pairs of tracks with dR>dRCut not considered
const PixelID * m_pixelId
if true use shared info from track summary instead of recomputing them
std::string m_inputTrackCollection
virtual StatusCode execute()
int numberSharedPix() const
int numberSharedSct() const
virtual StatusCode initialize()
bool m_useTrackSummaryShared
std::string m_sharedHitMapLocation
location of inputTracks in StoreGate
double m_deltaRCut
location of sharedHitMap in StoreGate
virtual ~SharedHitMapper()
SharedHitMapper(const std::string &name, ISvcLocator *pSvcLocator)
int numberSharedBLayer() const
virtual StatusCode finalize()
void check(const xAOD::TrackParticle *const trk) const
int numberSharedSct(const xAOD::TrackParticle *const trk) const
int numberSharedBLayer(const xAOD::TrackParticle *const trk) const
void add(const xAOD::TrackParticle *const trk, int shPattern)
int numberSharedPix(const xAOD::TrackParticle *const trk) const
TrackParticle_v1 TrackParticle
Reference the current persistent version: