ATLAS Offline Software
|
#include "FPGATrackSimHough/FPGATrackSimHoughFunctions.h"
#include "FPGATrackSimObjects/FPGATrackSimFunctions.h"
#include <stdexcept>
Go to the source code of this file.
Functions | |
StatusCode | runOverlapRemoval (std::vector< FPGATrackSimTrack > &tracks, const float minChi2, const int NumOfHitPerGrouping, ORAlgo orAlgo) |
int | findNonOverlapHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
void | findMinChi2MaxHit (const std::vector< int > &duplicates, std::vector< FPGATrackSimTrack > &RMtracks) |
int | findNCommonHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
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... | |
long | getVolumeID (const FPGATrackSimHit &hit) |
long | getCoarseID (const FPGATrackSimHit &hit) |
long | getFineID (const FPGATrackSimHit &hit) |
Variables | |
constexpr float | EPSILON = 1e-5 |
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 406 of file FPGATrackSimHoughFunctions.cxx.
long getFineID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 433 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 351 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.
|
constexpr |
Definition at line 10 of file FPGATrackSimHoughFunctions.cxx.