Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PixelClusterSiHitDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSOBJECTDECORATION_PIXELCLUSTER_SIHIT_DECORATORALG_H
6 #define ACTSOBJECTDECORATION_PIXELCLUSTER_SIHIT_DECORATORALG_H
7 
18 
19 namespace ActsTrk {
20 
22  : public AthReentrantAlgorithm {
23  public:
24  PixelClusterSiHitDecoratorAlg(const std::string &name,ISvcLocator *pSvcLocator);
25  virtual ~PixelClusterSiHitDecoratorAlg() = default;
26 
27  virtual StatusCode initialize() override;
28  virtual StatusCode execute(const EventContext& ctx) const override;
29 
30  private:
31  std::vector<SiHit>
33  const InDetDD::SiDetectorElement& element,
34  const std::vector<const SiHit*>& sihits,
35  const std::vector< std::vector< int > >& sdoTracks) const;
36 
37  private:
42  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "ITkPixelDetectorElementCollection"};
43 
44  // SDO decorations
48 
49  // SiHit decorations
54 
58 
62 
63  Gaudi::Property<bool> m_useSiHitsGeometryMatching {this, "UseSiHitsGeometryMatching", true};
64 
65  const PixelID *m_PixelHelper {nullptr};
66  };
67 
68 }
69 
70 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_startPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosZ_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:57
ActsTrk::PixelClusterSiHitDecoratorAlg::m_PixelHelper
const PixelID * m_PixelHelper
Definition: PixelClusterSiHitDecoratorAlg.h:65
ActsTrk::PixelClusterSiHitDecoratorAlg::m_useSiHitsGeometryMatching
Gaudi::Property< bool > m_useSiHitsGeometryMatching
Definition: PixelClusterSiHitDecoratorAlg.h:63
ActsTrk::PixelClusterSiHitDecoratorAlg::m_inputClustersKey
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_inputClustersKey
Definition: PixelClusterSiHitDecoratorAlg.h:39
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_pdgid_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_pdgid_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:53
ActsTrk::PixelClusterSiHitDecoratorAlg::m_inputMeasurementsKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_inputMeasurementsKey
Definition: PixelClusterSiHitDecoratorAlg.h:38
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_endPosX_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosX_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:59
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sdo_words
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_words
Definition: PixelClusterSiHitDecoratorAlg.h:45
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_endPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosZ_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:61
ActsTrk::PixelClusterSiHitDecoratorAlg::m_SDOcontainer_key
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer_key
Definition: PixelClusterSiHitDecoratorAlg.h:40
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sdo_depositsBarcode
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsBarcode
Definition: PixelClusterSiHitDecoratorAlg.h:46
ActsTrk::PixelClusterSiHitDecoratorAlg::m_siHitsKey
SG::ReadHandleKey< SiHitCollection > m_siHitsKey
Definition: PixelClusterSiHitDecoratorAlg.h:41
ActsTrk::PixelClusterSiHitDecoratorAlg::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelClusterSiHitDecoratorAlg.h:42
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
ActsTrk::PixelClusterSiHitDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: PixelClusterSiHitDecoratorAlg.cxx:71
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_barcode_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_barcode_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:52
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_meanTime_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_meanTime_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:51
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_startPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosY_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:56
ActsTrk::PixelClusterSiHitDecoratorAlg::PixelClusterSiHitDecoratorAlg
PixelClusterSiHitDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelClusterSiHitDecoratorAlg.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelClusterContainer.h
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_endPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosY_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:60
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElementCollection.h
SiDetectorElement.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sdo_depositsEnergy
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsEnergy
Definition: PixelClusterSiHitDecoratorAlg.h:47
ActsTrk::PixelClusterSiHitDecoratorAlg
Definition: PixelClusterSiHitDecoratorAlg.h:22
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
InDetSimDataCollection.h
TrackMeasurementValidationContainer.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:55
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_energyDeposit_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_energyDeposit_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:50
PixelID
Definition: PixelID.h:67
ActsTrk::PixelClusterSiHitDecoratorAlg::findAllHitsCompatibleWithCluster
std::vector< SiHit > findAllHitsCompatibleWithCluster(const xAOD::PixelCluster &cluster, const InDetDD::SiDetectorElement &element, const std::vector< const SiHit * > &sihits, const std::vector< std::vector< int > > &sdoTracks) const
Definition: PixelClusterSiHitDecoratorAlg.cxx:199
ActsTrk::PixelClusterSiHitDecoratorAlg::m_sihit_startPosX_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosX_decor_key
Definition: PixelClusterSiHitDecoratorAlg.h:55
ActsTrk::PixelClusterSiHitDecoratorAlg::~PixelClusterSiHitDecoratorAlg
virtual ~PixelClusterSiHitDecoratorAlg()=default
ActsTrk::PixelClusterSiHitDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition: PixelClusterSiHitDecoratorAlg.cxx:19
SiHitCollection.h