![]() |
ATLAS Offline Software
|
#include "FPGATrackSimObjects/FPGATrackSimRoad.h"
#include "FPGATrackSimObjects/FPGATrackSimHit.h"
#include "FPGATrackSimObjects/FPGATrackSimTrack.h"
#include "GaudiKernel/ServiceHandle.h"
#include "AthenaBaseComps/AthAlgTool.h"
#include "FPGATrackSimMaps/IFPGATrackSimMappingSvc.h"
#include "FPGATrackSimMaps/FPGATrackSimPlaneMap.h"
#include "FPGATrackSimMaps/FPGATrackSimRegionMap.h"
Go to the source code of this file.
Enumerations | |
enum | ORAlgo { ORAlgo::Normal, ORAlgo::InvertGrouping } |
Functions | |
long | getVolumeID (const FPGATrackSimHit &hit) |
long | getCoarseID (const FPGATrackSimHit &hit) |
long | getFineID (const FPGATrackSimHit &hit) |
bool | isFineIDInStrip (long ID) |
bool | isFineIDInPixel (long ID) |
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) |
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. More... | |
StatusCode | runOverlapRemoval (std::vector< FPGATrackSimTrack > &tracks, const float minChi2, const int NumOfHitPerGrouping, ORAlgo orAlgo) |
void | findMinChi2MaxHit (const std::vector< int > &duplicates, std::vector< FPGATrackSimTrack > &RMtracks) |
int | findNonOverlapHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
int | findNCommonHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
|
strong |
void findMinChi2MaxHit | ( | const std::vector< int > & | duplicates, |
std::vector< FPGATrackSimTrack > & | RMtracks | ||
) |
Definition at line 124 of file FPGATrackSimHoughFunctions.cxx.
int findNCommonHits | ( | const FPGATrackSimTrack & | Track1, |
const FPGATrackSimTrack & | Track2 | ||
) |
Definition at line 176 of file FPGATrackSimHoughFunctions.cxx.
int findNonOverlapHits | ( | const FPGATrackSimTrack & | Track1, |
const FPGATrackSimTrack & | Track2 | ||
) |
Definition at line 77 of file FPGATrackSimHoughFunctions.cxx.
long getCoarseID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 411 of file FPGATrackSimHoughFunctions.cxx.
long getFineID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 448 of file FPGATrackSimHoughFunctions.cxx.
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 at line 225 of file FPGATrackSimHoughFunctions.cxx.
long getVolumeID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 356 of file FPGATrackSimHoughFunctions.cxx.
bool isFineIDInPixel | ( | long | ID | ) |
Definition at line 443 of file FPGATrackSimHoughFunctions.cxx.
bool isFineIDInStrip | ( | long | ID | ) |
Definition at line 438 of file FPGATrackSimHoughFunctions.cxx.
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.
Sets basic ID info and hits.
NB: If the number of combinations becomes large and memory is a concern, it may be worth turning this function into a sort of iterator over combs
, return a single track each call.
Definition at line 287 of file FPGATrackSimHoughFunctions.cxx.
StatusCode runOverlapRemoval | ( | std::vector< FPGATrackSimTrack > & | tracks, |
const float | minChi2, | ||
const int | NumOfHitPerGrouping, | ||
ORAlgo | orAlgo | ||
) |
Definition at line 12 of file FPGATrackSimHoughFunctions.cxx.