ATLAS Offline Software
Loading...
Searching...
No Matches
PixelSpacePointFormationAlgBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_DATAPREPARATION_PIXELSPACEPOINTFORMATIONALG_H
6#define ACTSTRK_DATAPREPARATION_PIXELSPACEPOINTFORMATIONALG_H
7
9#include "GaudiKernel/ToolHandle.h"
11
15
18
20
24
25#include <string>
26
27#include "src/Cache.h"
28
29namespace ActsTrk {
30
38 template <bool useCache>
40 public:
42
43 PixelSpacePointFormationAlgBase(const std::string& name,
44 ISvcLocator* pSvcLocator);
46 virtual StatusCode initialize() override;
47 virtual StatusCode execute (const EventContext& ctx) const override;
48 virtual StatusCode finalize() override;
50
51 private:
53
58
60
61 SG::ReadHandleKey<xAOD::PixelClusterContainer> m_pixelClusterContainerKey{this, "PixelClusters", "", "name of the input pixel cluster container"};
63
65
66
67 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetectorElements", "ITkPixelDetectorElementCollection", "Key of input SiDetectorElementCollection for Pixel"};
69
71
72 SG::WriteHandleKey<xAOD::SpacePointContainer> m_pixelSpacePointContainerKey {this, "PixelSpacePoints", "", "name of the output pixel space point container"};
74
76
77
78 ToolHandle<ActsTrk::IPixelSpacePointFormationTool> m_spacePointMakerTool{this, "SpacePointFormationTool", "", "Tool dedicated to the creation of pixel space points"};
80 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
82
87
93
94 Cache_WriteHandleKey m_SPCache{this,"SPCache",""};
96
97 private:
103
104 mutable std::array<std::atomic<unsigned int>, kNStat> m_stat ATLAS_THREAD_SAFE {};
105 };
106
107}
108
110
111#endif // ACTSTRKSPACEPOINTFORMATION_PIXELSPACEPOINTFORMATIONALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::UpdateHandle< IDCBackend > BackendUpdateHandle
Definition Cache.h:46
SG::UpdateHandleKey< IDCBackend > BackendUpdateHandleKey
Definition Cache.h:45
SG::WriteHandle< IDC > WriteHandle
Definition Cache.h:49
IdentifiableContainer< CacheEntry< OT > > IDC
Definition Cache.h:43
SG::WriteHandleKey< IDC > WriteHandleKey
Definition Cache.h:48
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
SG::WriteHandleKey< xAOD::SpacePointContainer > m_pixelSpacePointContainerKey
virtual ~PixelSpacePointFormationAlgBase()=default
PixelSpacePointFormationAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ActsTrk::IPixelSpacePointFormationTool > m_spacePointMakerTool
For space point formation.
ActsTrk::ContextUtility m_ctxProvider
Only used, and only initialized, if the space point formation tool reports that it needs a geometry c...
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_pixelClusterContainerKey
typename Cache::Handles< xAOD::SpacePoint >::IDC Cache_IDC
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
To get detector elements.
PixelSpacePointFormationAlgBase & operator=(const PixelSpacePointFormationAlgBase &)=delete
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &ctx) const override
typename Cache::Handles< xAOD::SpacePoint >::WriteHandle Cache_WriteHandle
typename Cache::Handles< xAOD::SpacePoint >::WriteHandleKey Cache_WriteHandleKey
typename Cache::Handles< xAOD::SpacePoint >::BackendUpdateHandle Cache_BackendUpdateHandle
typename Cache::Handles< xAOD::SpacePoint >::BackendUpdateHandleKey Cache_BackendUpdateHandleKey
std::array< std::atomic< unsigned int >, kNStat > m_stat ATLAS_THREAD_SAFE
PixelSpacePointFormationAlgBase(const PixelSpacePointFormationAlgBase &)=delete
ToolHandle< GenericMonitoringTool > m_monTool
For monitoring.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...