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
17
19
23
24#include <string>
25
26#include "src/Cache.h"
27
28namespace ActsTrk {
29
37 template <bool useCache>
39 public:
41
42 PixelSpacePointFormationAlgBase(const std::string& name,
43 ISvcLocator* pSvcLocator);
45 virtual StatusCode initialize() override;
46 virtual StatusCode execute (const EventContext& ctx) const override;
47 virtual StatusCode finalize() override;
49
50 private:
52
57
59
60 SG::ReadHandleKey<xAOD::PixelClusterContainer> m_pixelClusterContainerKey{this, "PixelClusters", "", "name of the input pixel cluster container"};
62
64
65
66 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetectorElements", "ITkPixelDetectorElementCollection", "Key of input SiDetectorElementCollection for Pixel"};
68
70
71 SG::WriteHandleKey<xAOD::SpacePointContainer> m_pixelSpacePointContainerKey {this, "PixelSpacePoints", "", "name of the output pixel space point container"};
73
75
76
77 ToolHandle<ActsTrk::IPixelSpacePointFormationTool> m_spacePointMakerTool{this, "SpacePointFormationTool", "", "Tool dedicated to the creation of pixel space points"};
79 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
81
87
88 Cache_WriteHandleKey m_SPCache{this,"SPCache",""};
90
91 private:
97
98 mutable std::array<std::atomic<unsigned int>, kNStat> m_stat ATLAS_THREAD_SAFE {};
99 };
100
101}
102
104
105#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:44
SG::UpdateHandleKey< IDCBackend > BackendUpdateHandleKey
Definition Cache.h:43
SG::WriteHandle< IDC > WriteHandle
Definition Cache.h:47
IdentifiableContainer< CacheEntry< OT > > IDC
Definition Cache.h:41
SG::WriteHandleKey< IDC > WriteHandleKey
Definition Cache.h:46
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.
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...