![]() |
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"#include "GaudiKernel/ToolHandle.h"#include "AthenaMonitoringKernel/Monitored.h"Go to the source code of this file.
Enumerations | |
| enum class | ORAlgo { Normal , 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. | |
| StatusCode | runOverlapRemoval (std::vector< FPGATrackSimTrack > &tracks, const float minChi2, const int NumOfHitPerGrouping, ORAlgo orAlgo, ToolHandle< GenericMonitoringTool > &monTool, bool compareAllHits=false) |
| void | findMinChi2MaxHit (const std::vector< int > &duplicates, std::vector< FPGATrackSimTrack > &RMtracks, std::vector< int > flags_OR, const float minChi2) |
| int | findNonOverlapHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
| int | findNCommonHits (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
| int | findNCommonHitsGlobal (const FPGATrackSimTrack &Track1, const FPGATrackSimTrack &Track2) |
| void | roadsToTrack (std::vector< std::shared_ptr< const FPGATrackSimRoad > > &roads, std::vector< FPGATrackSimTrack > &track_cands, const FPGATrackSimPlaneMap *pmap) |
|
strong |
| void findMinChi2MaxHit | ( | const std::vector< int > & | duplicates, |
| std::vector< FPGATrackSimTrack > & | RMtracks, | ||
| std::vector< int > | flags_OR, | ||
| const float | minChi2 ) |
Definition at line 183 of file FPGATrackSimHoughFunctions.cxx.
| int findNCommonHits | ( | const FPGATrackSimTrack & | Track1, |
| const FPGATrackSimTrack & | Track2 ) |
Definition at line 345 of file FPGATrackSimHoughFunctions.cxx.
| int findNCommonHitsGlobal | ( | const FPGATrackSimTrack & | Track1, |
| const FPGATrackSimTrack & | Track2 ) |
Definition at line 300 of file FPGATrackSimHoughFunctions.cxx.
| int findNonOverlapHits | ( | const FPGATrackSimTrack & | Track1, |
| const FPGATrackSimTrack & | Track2 ) |
Definition at line 137 of file FPGATrackSimHoughFunctions.cxx.
| long getCoarseID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 580 of file FPGATrackSimHoughFunctions.cxx.
| long getFineID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 617 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 394 of file FPGATrackSimHoughFunctions.cxx.
| long getVolumeID | ( | const FPGATrackSimHit & | hit | ) |
Definition at line 525 of file FPGATrackSimHoughFunctions.cxx.
| bool isFineIDInPixel | ( | long | ID | ) |
Definition at line 612 of file FPGATrackSimHoughFunctions.cxx.
| bool isFineIDInStrip | ( | long | ID | ) |
Definition at line 607 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 456 of file FPGATrackSimHoughFunctions.cxx.
| void roadsToTrack | ( | std::vector< std::shared_ptr< const FPGATrackSimRoad > > & | roads, |
| std::vector< FPGATrackSimTrack > & | track_cands, | ||
| const FPGATrackSimPlaneMap * | pmap ) |
Definition at line 667 of file FPGATrackSimHoughFunctions.cxx.
| StatusCode runOverlapRemoval | ( | std::vector< FPGATrackSimTrack > & | tracks, |
| const float | minChi2, | ||
| const int | NumOfHitPerGrouping, | ||
| ORAlgo | orAlgo, | ||
| ToolHandle< GenericMonitoringTool > & | monTool, | ||
| bool | compareAllHits = false ) |
Definition at line 15 of file FPGATrackSimHoughFunctions.cxx.