ATLAS Offline Software
StripClusterSiHitDecoratorAlg.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_STRIPCLUSTER_SIHIT_DECORATORALG_H
6 #define ACTSOBJECTDECORATION_STRIPCLUSTER_SIHIT_DECORATORALG_H
7 
16 #include "InDetIdentifier/SCT_ID.h"
17 
18 namespace ActsTrk {
19 
21  : public AthReentrantAlgorithm {
22  public:
23  StripClusterSiHitDecoratorAlg(const std::string &name,ISvcLocator *pSvcLocator);
24  virtual ~StripClusterSiHitDecoratorAlg() = default;
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute(const EventContext& ctx) const override;
28 
29  private:
30  std::vector<SiHit>
31  findAllHitsCompatibleWithCluster( const std::vector< Identifier >& rdos,
32  const InDetDD::SiDetectorElement& element,
33  const std::vector<const SiHit*>& sihits) const;
34 
35  private:
39  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_stripDetEleCollKey {this, "StripDetEleCollKey", "ITkStripDetectorElementCollection"};
40 
41  // Detector decorator
43 
44  // SDO decorations
48 
49  // SiHit decorations
54 
58 
62 
63  const SCT_ID *m_StripHelper {nullptr};
64  };
65 
66 }
67 
68 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
ActsTrk::StripClusterSiHitDecoratorAlg::m_stripDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_stripDetEleCollKey
Definition: StripClusterSiHitDecoratorAlg.h:39
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_startPosX_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosX_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:55
ActsTrk::StripClusterSiHitDecoratorAlg::m_measurement_detectorElementID
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_detectorElementID
Definition: StripClusterSiHitDecoratorAlg.h:42
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_startPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosY_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:56
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_energyDeposit_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_energyDeposit_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:50
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_words
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_words
Definition: StripClusterSiHitDecoratorAlg.h:45
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_meanTime_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_meanTime_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:51
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosY_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:60
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosZ_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:61
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
ActsTrk::StripClusterSiHitDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition: StripClusterSiHitDecoratorAlg.cxx:20
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_depositsBarcode
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsBarcode
Definition: StripClusterSiHitDecoratorAlg.h:46
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
ActsTrk::StripClusterSiHitDecoratorAlg::StripClusterSiHitDecoratorAlg
StripClusterSiHitDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: StripClusterSiHitDecoratorAlg.cxx:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_pdgid_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_pdgid_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:53
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_depositsEnergy
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsEnergy
Definition: StripClusterSiHitDecoratorAlg.h:47
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_barcode_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_barcode_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:52
AthReentrantAlgorithm.h
ActsTrk::StripClusterSiHitDecoratorAlg::m_inputMeasurementsKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_inputMeasurementsKey
Definition: StripClusterSiHitDecoratorAlg.h:36
ActsTrk::StripClusterSiHitDecoratorAlg::findAllHitsCompatibleWithCluster
std::vector< SiHit > findAllHitsCompatibleWithCluster(const std::vector< Identifier > &rdos, const InDetDD::SiDetectorElement &element, const std::vector< const SiHit * > &sihits) const
Definition: StripClusterSiHitDecoratorAlg.cxx:185
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElementCollection.h
SiDetectorElement.h
ActsTrk::StripClusterSiHitDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: StripClusterSiHitDecoratorAlg.cxx:56
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosX_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosX_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:59
ActsTrk::StripClusterSiHitDecoratorAlg::~StripClusterSiHitDecoratorAlg
virtual ~StripClusterSiHitDecoratorAlg()=default
ActsTrk::StripClusterSiHitDecoratorAlg
Definition: StripClusterSiHitDecoratorAlg.h:21
SCT_ID
Definition: SCT_ID.h:68
InDetSimDataCollection.h
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_startPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosZ_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:57
ActsTrk::StripClusterSiHitDecoratorAlg::m_siHitsKey
SG::ReadHandleKey< SiHitCollection > m_siHitsKey
Definition: StripClusterSiHitDecoratorAlg.h:38
TrackMeasurementValidationContainer.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MSTrackingVolumeBuilder.cxx:24
ActsTrk::StripClusterSiHitDecoratorAlg::m_SDOcontainer_key
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer_key
Definition: StripClusterSiHitDecoratorAlg.h:37
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
ActsTrk::StripClusterSiHitDecoratorAlg::m_StripHelper
const SCT_ID * m_StripHelper
Definition: StripClusterSiHitDecoratorAlg.h:63
SiHitCollection.h