![]() |
ATLAS Offline Software
|
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tracks and the use track fitter to obtain track parameters. More...
#include <SiSPGNNTrackMaker.h>
Public Member Functions | |
| SiSPGNNTrackMaker (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute (const EventContext &ctx) const override |
| virtual bool | isClonable () const override |
| Make this algorithm clonable. | |
| MsgStream & | dump (MsgStream &out) const |
| std::ostream & | dump (std::ostream &out) const |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. | |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| virtual bool | filterPassed (const EventContext &ctx) const |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| 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 | |
| MsgStream & | dumptools (MsgStream &out) const |
| MsgStream & | dumpevent (MsgStream &out) const |
| int | passEtaDepCuts (const Trk::Track &track) const |
| std::tuple< bool, int, std::unique_ptr< Trk::Track > > | doFitAndCut (const EventContext &ctx, std::vector< const Trk::SpacePoint * > &spacePoints, std::vector< const Trk::PrepRawData * > &clusters, int &trackCounter) const |
| Fits a track and applies quality cuts to determine if it should be kept. | |
| bool | prefitCheck (unsigned int nPix, unsigned int nStrip, unsigned int nClusters, unsigned int nSpacePoints) const |
| std::unique_ptr< Trk::Track > | fitTrack (const EventContext &ctx, std::vector< const Trk::PrepRawData * > clusters, const Trk::TrackParameters &initial_params, int trackCounter) const |
| std::pair< std::vector< const Trk::SpacePoint * >, std::vector< uint32_t > > | getSpacePoints (const std::vector< uint32_t > &trackIndices, const std::vector< const Trk::SpacePoint * > &allSpacePoints) const |
| std::vector< const Trk::PrepRawData * > | spacePointsToClusters (const std::vector< const Trk::SpacePoint * > &spacePoints) const |
| std::vector< const Trk::PrepRawData * > | getClusters (const std::vector< std::vector< uint32_t > > &clusterTracks, const std::vector< const Trk::PrepRawData * > &allClusters, int trackNumber) const |
| std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, int eventNumber) const |
| std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, const SG::ReadHandleKey< SpacePointContainer > &containerKey) const |
| std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, const SG::ReadHandleKey< SpacePointOverlapCollection > &containerKey) const |
| std::vector< const Trk::PrepRawData * > | getClustersInEvent (const EventContext &ctx, int eventNumber) const |
| std::vector< float > | getEdgeScores (const std::vector< uint32_t > &sortedID, const std::unordered_map< int, std::unordered_map< int, float > > &edgeMap) const |
| 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. | |
Protected Attributes | |
| SG::ReadHandleKey< SpacePointContainer > | m_SpacePointsPixelKey |
| SG::ReadHandleKey< SpacePointContainer > | m_SpacePointsSCTKey |
| SG::ReadHandleKey< SpacePointOverlapCollection > | m_SpacePointsOverlapKey {this, "SpacePointsOverlapName", "ITkOverlapSpacePoints"} |
| SG::ReadHandleKey< InDet::PixelClusterContainer > | m_ClusterPixelKey |
| SG::ReadHandleKey< InDet::SCT_ClusterContainer > | m_ClusterStripKey |
| SG::WriteHandleKey< TrackCollection > | m_outputTracksKey |
| SG::WriteHandleKey< std::vector< std::vector< float > > > | m_outputEdgeScoresKey |
| ToolHandle< IGNNTrackFinder > | m_gnnTrackFinder |
| GNN-based track finding tool that produces track candidates. | |
| ToolHandle< ISeedFitter > | m_seedFitter |
| ToolHandle< Trk::ITrackFitter > | m_trackFitter |
| Track Fitter. | |
| ToolHandle< Trk::IExtendedTrackSummaryTool > | m_trackSummaryTool |
| ToolHandle< IGNNTrackReaderTool > | m_gnnTrackReader |
| BooleanProperty | m_areInputClusters |
| BooleanProperty | m_doRecoTrackCuts |
| ServiceHandle< IInDetEtaDependentCutsSvc > | m_etaDependentCutsSvc |
| UnsignedIntegerProperty | m_minClusters {this, "minClusters", 6, "Min number clusters"} |
| UnsignedIntegerProperty | m_minPixelClusters {this, "minPixelClusters", 1, "min pixel clusters"} |
| UnsignedIntegerProperty | m_minStripClusters {this, "minStripClusters", 0, "Minimum number of strip clusters"} |
| DoubleProperty | m_pTmin {this, "pTmin", 400., "min pT"} |
| DoubleProperty | m_etamax {this, "etamax", 4., "max reco eta"} |
| BooleanProperty | m_doRecoverFailedFits |
| BooleanProperty | m_saveEdgeScore {this, "saveEdgeScore", false, "Save edge scores in a temporary container"} |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. | |
| 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 |
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tracks and the use track fitter to obtain track parameters.
It turns a collection of Trk::Tracks.
Definition at line 42 of file SiSPGNNTrackMaker.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::SiSPGNNTrackMaker::SiSPGNNTrackMaker | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 16 of file SiSPGNNTrackMaker.cxx.
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
|
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.
|
protected |
Fits a track and applies quality cuts to determine if it should be kept.
| ctx | Event context for conditions access |
| clusters | Vector of cluster measurements used to fit the track |
| initial_params | Initial track parameters from seed finding |
| trackCounter | Index/ID of the track candidate being processed |
This function performs the following steps:
Error codes:
Definition at line 531 of file SiSPGNNTrackMaker.cxx.
| MsgStream & InDet::SiSPGNNTrackMaker::dump | ( | MsgStream & | out | ) | const |
Definition at line 686 of file SiSPGNNTrackMaker.cxx.
| std::ostream & InDet::SiSPGNNTrackMaker::dump | ( | std::ostream & | out | ) | const |
Definition at line 716 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 711 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 697 of file SiSPGNNTrackMaker.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Definition at line 88 of file SiSPGNNTrackMaker.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 94 of file AthCommonReentrantAlgorithm.cxx.
|
inlinevirtualinherited |
Definition at line 96 of file AthCommonReentrantAlgorithm.h.
|
protected |
Definition at line 598 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 480 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 356 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 185 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 416 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 307 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 335 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 279 of file SiSPGNNTrackMaker.cxx.
|
overridevirtual |
Definition at line 23 of file SiSPGNNTrackMaker.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.
|
inlineoverridevirtual |
Make this algorithm clonable.
Reimplemented from AthCommonReentrantAlgorithm< Gaudi::Algorithm >.
Definition at line 49 of file SiSPGNNTrackMaker.h.
|
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.
|
protected |
Definition at line 230 of file SiSPGNNTrackMaker.cxx.
|
protected |
Definition at line 225 of file SiSPGNNTrackMaker.cxx.
|
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.
|
inlinevirtualinherited |
Definition at line 100 of file AthCommonReentrantAlgorithm.h.
|
protected |
Definition at line 467 of file SiSPGNNTrackMaker.cxx.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 85 of file AthCommonReentrantAlgorithm.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< Gaudi::Algorithm > >.
Reimplemented in HypoBase, and InputMakerBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.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.
|
protected |
Definition at line 108 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 67 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 69 of file SiSPGNNTrackMaker.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 111 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 125 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 114 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 121 of file SiSPGNNTrackMaker.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
|
protected |
GNN-based track finding tool that produces track candidates.
Definition at line 85 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 100 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 117 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 118 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 119 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 77 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 73 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 120 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 128 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 89 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 65 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 61 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 63 of file SiSPGNNTrackMaker.h.
|
protected |
Track Fitter.
Definition at line 94 of file SiSPGNNTrackMaker.h.
|
protected |
Definition at line 98 of file SiSPGNNTrackMaker.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.