![]() |
ATLAS Offline Software
|
#include <FPGATrackSimMatrixGenAlgo.h>
Public Member Functions | |
| FPGATrackSimMatrixGenAlgo (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual | ~FPGATrackSimMatrixGenAlgo ()=default |
| StatusCode | initialize () override |
| StatusCode | execute () override |
| StatusCode | finalize () override |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| enum class | selectHit_returnCode { SH_FAILURE , SH_KEEP_OLD , SH_KEEP_NEW } |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | bookHistograms () |
| std::vector< FPGATrackSimHit > | getLogicalHits () |
| std::vector< FPGATrackSimTruthTrack > | filterTrainingTracks (std::vector< FPGATrackSimTruthTrack > const &truth_tracks) const |
| std::map< int, std::vector< FPGATrackSimHit > > | makeBarcodeMap (std::vector< FPGATrackSimHit > const &hits, std::vector< FPGATrackSimTruthTrack > const &tracks) const |
| selectHit_returnCode | selectHit (FPGATrackSimHit const &old_hit, FPGATrackSimHit const &new_hit, bool is1ststage, int subregion) const |
| bool | filterSectorHits (std::vector< FPGATrackSimHit > const &all_hits, std::vector< FPGATrackSimHit > §or_hits, FPGATrackSimTruthTrack const &t, bool is1ststage, int subregion) const |
| int | getRegion (std::vector< FPGATrackSimHit > const &hits, bool is1ststage) const |
| StatusCode | makeAccumulator (std::vector< FPGATrackSimHit > const §or_hits, FPGATrackSimTruthTrack const &track, std::pair< std::vector< module_t >, FPGATrackSimMatrixAccumulator > &accumulator) const |
| StatusCode | fillAccumulatorByDropping (std::vector< FPGATrackSimHit > §or_hits, bool is1ststage, double x, double y, std::vector< module_t > &modules, AccumulateMap &map, FPGATrackSimTruthTrack const &track, int subregion) const |
| std::vector< TTree * > | createMatrixTrees () |
| void | fillMatrixTrees (std::vector< TTree * > const &matrixTrees) |
| void | writeSliceTree () |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::vector< AccumulateMap > | m_sector_cum |
| ServiceHandle< IFPGATrackSimMappingSvc > | m_FPGATrackSimMapping {this,"FPGATrackSimMappingSvc","FPGATrackSimMappingSvc"} |
| ServiceHandle< IFPGATrackSimEventSelectionSvc > | m_EvtSel {this,"FPGATrackSimEventSelectionSvc",""} |
| ServiceHandle< ITHistSvc > | m_tHistSvc {this,"THistSvc","THistSvc"} |
| ToolHandle< IFPGATrackSimInputTool > | m_hitInputTool {this, "FPGATrackSimSGToRawHitsTool", "FPGATrackSimSGToRawHitsTool/FPGATrackSimSGToRawHits", "input handler"} |
| ToolHandle< FPGATrackSimRawToLogicalHitsTool > | m_hitMapTool {this, "FPGATrackSimRawToLogicalHitsTool", "FPGATrackSimRawToLogicalHitsTool/FPGATrackSim_RawToLogicalHitsTool", "FPGATrackSim_RawToLogicalHitsTool"} |
| ToolHandle< FPGATrackSimClusteringToolI > | m_clusteringTool { this, "FPGATrackSimClusteringFTKTool", "FPGATrackSimClusteringFTKTool/FPGATrackSimClusteringFTKTool", "FPGATrackSimClusteringFTKTool" } |
| ToolHandle< FPGATrackSimSpacePointsToolI > | m_spacePointsTool { this, "SpacePointTool", "FPGATrackSimSpacePointsTool/FPGATrackSimSpacePointsTool", "FPGATrackSimSpacePointsTool" } |
| const FPGATrackSimPlaneMap * | m_pmap = nullptr |
| ToolHandle< FPGATrackSimRoadUnionTool > | m_roadFinderTool {this, "RoadFinder", "RoadFinder"} |
| ToolHandle< FPGATrackSimTrackFitterTool > | m_trackFitterTool_1st {this, "TrackFitter_1st", "FPGATrackSimTrackFitterTool/FPGATrackSimTrackFitterTool_1st", "1st stage track fit tool"} |
| ToolHandle< IFPGATrackSimTrackExtensionTool > | m_trackExtensionTool {this, "TrackExtensionTool", "FPGATrackSimTrackExtensionTool", "Track extensoin tool"} |
| ToolHandle< FPGATrackSimOverlapRemovalTool > | m_overlapRemovalTool {this, "OverlapRemoval_1st", "FPGATrackSimOverlapRemovalTool/FPGATrackSimOverlapRemovalTool_1st", "1st stage overlap removal tool"} |
| const FPGATrackSimPlaneMap * | m_pmap_1st = nullptr |
| const FPGATrackSimPlaneMap * | m_pmap_2nd = nullptr |
| Gaudi::Property< int > | m_nRegions {this, "NBanks", 0, "Number of banks to make"} |
| Gaudi::Property< bool > | m_doClustering {this, "Clustering", true, "Do cluster?"} |
| Gaudi::Property< bool > | m_doSecondStage {this, "SecondStage", false, "Run second stage?"} |
| Gaudi::Property< bool > | m_doSpacePoints {this, "SpacePoints", true, "Do spacepoints?"} |
| Gaudi::Property< int > | m_ideal_geom {this, "IdealiseGeometry", 0, "Ideal geo flag, 0 is non, 1 is 1st order, 2 is 2nd order"} |
| Gaudi::Property< bool > | m_single {this, "SingleSector", false, "Run single sector"} |
| Gaudi::Property< bool > | m_doHoughConstants {this, "HoughConstants", true, "If true will run Hough Transform to set q/pt and phi0"} |
| Gaudi::Property< bool > | m_doDeltaPhiConsts {this, "DeltaPhiConstants", false, "If true will generate delta phi constants"} |
| Gaudi::Property< int > | m_MaxWC {this, "WCmax", 0, "Max number of WCs"} |
| Gaudi::Property< int > | m_minSpacePlusPixel {this, "minSpacePlusPixel", 4, "Require that tracks in training have a certain number of pixel hits + spacepoints" } |
| Gaudi::Property< float > | m_PT_THRESHOLD {this, "PT_THRESHOLD", 0., "Min pt"} |
| Gaudi::Property< float > | m_D0_THRESHOLD {this, "D0_THRESHOLD", 1., "Max d0"} |
| Gaudi::Property< int > | m_TRAIN_PDG {this, "TRAIN_PDG", 0, "PDG of particles to train on"} |
| Gaudi::Property< float > | m_temp_c_min {this, "par_c_min", -1, "Min curvature"} |
| Gaudi::Property< float > | m_temp_c_max {this, "par_c_max", 1, "Max curvature"} |
| Gaudi::Property< float > | m_temp_phi_min {this, "par_phi_min", -TMath::Pi(), "Min phi"} |
| Gaudi::Property< float > | m_temp_phi_max {this, "par_phi_max", TMath::Pi(), "Max phi"} |
| Gaudi::Property< float > | m_temp_d0_min {this, "par_d0_min", -2, "Min d0"} |
| Gaudi::Property< float > | m_temp_d0_max {this, "par_d0_max", 2, "Max d0"} |
| Gaudi::Property< float > | m_temp_z0_min {this, "par_z0_min", -200, "Min z0"} |
| Gaudi::Property< float > | m_temp_z0_max {this, "par_z0_max", 200, "Max z0"} |
| Gaudi::Property< float > | m_temp_eta_min {this, "par_eta_min", -5, "Min eta"} |
| Gaudi::Property< float > | m_temp_eta_max {this, "par_eta_max", 5, "Max eta"} |
| Gaudi::Property< int > | m_temp_c_slices {this, "par_c_slices", 100, "Number of c slides"} |
| Gaudi::Property< int > | m_temp_phi_slices {this, "par_phi_slices", 100, "Number of phi slices"} |
| Gaudi::Property< int > | m_temp_d0_slices {this, "par_d0_slices", 100, "Number of d0 slices"} |
| Gaudi::Property< int > | m_temp_z0_slices {this, "par_z0_slices", 100, "Number of z0 slices"} |
| Gaudi::Property< int > | m_temp_eta_slices {this, "par_eta_slices", 100, "Number of eta slices"} |
| Gaudi::Property< bool > | m_absQOverPtBinning {this, "qptAbsBinning", false, "This property controls whether or not to interpret the bins as q/pt or |q/pt|"} |
| Gaudi::Property< std::vector< double > > | m_qOverPtBins {this, "sectorQPtBins", {}, "q/pt bins for sector definition"} |
| Gaudi::Property< bool > | m_dropHitsAndFill {this, "dropHitsAndFill", false, "If true, we can drop hits to fill the accumulator"} |
| int | m_nLayers_1st = 0 |
| int | m_nDim_1st = 0 |
| int | m_nLayers_2nd = 0 |
| int | m_nDim_2nd = 0 |
| FPGATrackSimTrackPars | m_sliceMin = 0 |
| FPGATrackSimTrackPars | m_sliceMax = 0 |
| FPGATrackSimTrackParsI | m_nBins |
| FPGATrackSimEventInputHeader * | m_eventHeader = nullptr |
| size_t | m_nTracks = 0 |
| size_t | m_nTracksUsed = 0 |
| TH1I * | m_h_trainingTrack [FPGATrackSimTrackPars::NPARS] {} |
| TH1I * | m_h_sectorPars [FPGATrackSimTrackPars::NPARS] {} |
| TH1I * | m_h_SHfailure [FPGATrackSimTrackPars::NPARS] {} |
| TH1I * | m_h_3hitsInLayer [FPGATrackSimTrackPars::NPARS] {} |
| TH1I * | m_h_notEnoughHits [FPGATrackSimTrackPars::NPARS] {} |
| TH1I * | m_h_trackQoP_okHits = nullptr |
| TH1I * | m_h_trackQoP_okRegion = nullptr |
| TH1I * | m_h_nHit = nullptr |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 54 of file FPGATrackSimMatrixGenAlgo.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
strongprivate |
| Enumerator | |
|---|---|
| SH_FAILURE | |
| SH_KEEP_OLD | |
| SH_KEEP_NEW | |
Definition at line 151 of file FPGATrackSimMatrixGenAlgo.h.
| FPGATrackSimMatrixGenAlgo::FPGATrackSimMatrixGenAlgo | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 37 of file FPGATrackSimMatrixGenAlgo.cxx.
|
virtualdefault |
|
private |
Definition at line 129 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
override |
Definition at line 204 of file FPGATrackSimMatrixGenAlgo.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
|
private |
Definition at line 694 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
|
private |
Definition at line 577 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
Definition at line 413 of file FPGATrackSimMatrixGenAlgo.cxx.
|
override |
Definition at line 925 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
Definition at line 374 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
Definition at line 664 of file FPGATrackSimMatrixGenAlgo.cxx.
|
override |
Definition at line 48 of file FPGATrackSimMatrixGenAlgo.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
private |
Definition at line 757 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
Definition at line 449 of file FPGATrackSimMatrixGenAlgo.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
private |
Definition at line 483 of file FPGATrackSimMatrixGenAlgo.cxx.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 959 of file FPGATrackSimMatrixGenAlgo.cxx.
|
private |
Definition at line 125 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 81 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 108 of file FPGATrackSimMatrixGenAlgo.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 98 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 104 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 103 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 99 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 100 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 127 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 140 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 76 of file FPGATrackSimMatrixGenAlgo.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 75 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 174 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 179 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 175 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 172 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 173 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 177 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 178 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 171 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 79 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 80 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 101 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 105 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 106 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 138 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 130 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 133 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 129 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 132 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 97 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 145 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 146 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 88 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 83 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 91 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 92 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 107 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 126 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 84 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 70 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 102 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 137 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 136 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 82 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 111 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 110 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 120 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 115 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 114 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 122 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 119 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 118 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 124 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 113 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 112 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 121 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 117 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 116 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 123 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 77 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 87 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 85 of file FPGATrackSimMatrixGenAlgo.h.
|
private |
Definition at line 109 of file FPGATrackSimMatrixGenAlgo.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.