ATLAS Offline Software
FPGATrackSimHoughFunctions.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3  */
4 #ifndef FPGATrackSimHoughFUNCTIONS_H
5 #define FPGATrackSimHoughFUNCTIONS_H
6 
10 #include "GaudiKernel/ServiceHandle.h"
12 
16 
18 
19 long getVolumeID(const FPGATrackSimHit & hit);
20 long getCoarseID(const FPGATrackSimHit & hit);
21 long getFineID(const FPGATrackSimHit & hit);
22 
23 void getMissingInfo(const FPGATrackSimRoad & road, int & nMissing, bool & missPixel, bool & missStrip, layer_bitmask_t & missing_mask, layer_bitmask_t & norecovery_mask, const ServiceHandle<IFPGATrackSimMappingSvc> & FPGATrackSimMapping, const TrackCorrType idealCoordFitType);
24 void makeTrackCandidates(const FPGATrackSimRoad & road, const FPGATrackSimTrack & temp, std::vector<FPGATrackSimTrack>& track_cands, const ServiceHandle<IFPGATrackSimMappingSvc> & FPGATrackSimMapping);
25 StatusCode runOverlapRemoval(std::vector<FPGATrackSimTrack>& tracks, const float minChi2, const int NumOfHitPerGrouping, ORAlgo orAlgo);
26 void findMinChi2MaxHit(const std::vector<int>& duplicates, std::vector<FPGATrackSimTrack>& RMtracks);
27 int findNonOverlapHits(const FPGATrackSimTrack& Track1, const FPGATrackSimTrack& Track2);
28 int findNCommonHits(const FPGATrackSimTrack& Track1, const FPGATrackSimTrack& Track2);
29 
30 
31 #endif // FPGATrackSimHoughFUNCTIONS_H
FPGATrackSimTrack
Definition: FPGATrackSimTrack.h:18
FPGATrackSimPlaneMap.h
Maps physical layers to logical layers.
IFPGATrackSimMappingSvc.h
ORAlgo
ORAlgo
Definition: FPGATrackSimHoughFunctions.h:17
ORAlgo::Normal
@ Normal
findNonOverlapHits
int findNonOverlapHits(const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2)
Definition: FPGATrackSimHoughFunctions.cxx:77
getCoarseID
long getCoarseID(const FPGATrackSimHit &hit)
Definition: FPGATrackSimHoughFunctions.cxx:406
FPGATrackSimHit
Definition: FPGATrackSimHit.h:41
FPGATrackSimRegionMap.h
Maps ITK module indices to FPGATrackSim regions.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
getFineID
long getFineID(const FPGATrackSimHit &hit)
Definition: FPGATrackSimHoughFunctions.cxx:433
AthAlgTool.h
findMinChi2MaxHit
void findMinChi2MaxHit(const std::vector< int > &duplicates, std::vector< FPGATrackSimTrack > &RMtracks)
Definition: FPGATrackSimHoughFunctions.cxx:124
FPGATrackSimHit.h
: FPGATrackSim-specific class to represent an hit in the detector.
ORAlgo::InvertGrouping
@ InvertGrouping
getVolumeID
long getVolumeID(const FPGATrackSimHit &hit)
Definition: FPGATrackSimHoughFunctions.cxx:351
makeTrackCandidates
void makeTrackCandidates(const FPGATrackSimRoad &road, const FPGATrackSimTrack &temp, std::vector< FPGATrackSimTrack > &track_cands, const ServiceHandle< IFPGATrackSimMappingSvc > &FPGATrackSimMapping)
Creates a list of track candidates by taking all possible combination of hits in road.
Definition: FPGATrackSimHoughFunctions.cxx:287
layer_bitmask_t
uint32_t layer_bitmask_t
Definition: FPGATrackSimTypes.h:22
FPGATrackSimRoad.h
Defines a class for roads.
TrackCorrType
TrackCorrType
Definition: FPGATrackSimTypes.h:37
getMissingInfo
void getMissingInfo(const FPGATrackSimRoad &road, int &nMissing, bool &missPixel, bool &missStrip, layer_bitmask_t &missing_mask, layer_bitmask_t &norecovery_mask, const ServiceHandle< IFPGATrackSimMappingSvc > &FPGATrackSimMapping, const TrackCorrType idealCoordFitType)
Definition: FPGATrackSimHoughFunctions.cxx:225
generateReferenceFile.duplicates
duplicates
Definition: generateReferenceFile.py:24
FPGATrackSimTrack.h
runOverlapRemoval
StatusCode runOverlapRemoval(std::vector< FPGATrackSimTrack > &tracks, const float minChi2, const int NumOfHitPerGrouping, ORAlgo orAlgo)
Definition: FPGATrackSimHoughFunctions.cxx:12
findNCommonHits
int findNCommonHits(const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2)
Definition: FPGATrackSimHoughFunctions.cxx:176
FPGATrackSimRoad
Definition: FPGATrackSimRoad.h:30
ServiceHandle< IFPGATrackSimMappingSvc >