Loading [MathJax]/jax/output/SVG/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
17 #include "InDetIdentifier/SCT_ID.h"
18 
19 namespace ActsTrk {
20 
22  : public AthReentrantAlgorithm {
23  public:
24  StripClusterSiHitDecoratorAlg(const std::string &name,ISvcLocator *pSvcLocator);
25  virtual ~StripClusterSiHitDecoratorAlg() = 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) const;
35 
36  private:
41  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_stripDetEleCollKey {this, "StripDetEleCollKey", "ITkStripDetectorElementCollection"};
42 
43  // SDO decorations
47 
48  // SiHit decorations
53 
57 
61 
62  const SCT_ID *m_StripHelper {nullptr};
63  };
64 
65 }
66 
67 #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:41
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:54
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_startPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosY_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:55
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_energyDeposit_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_energyDeposit_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:49
ActsTrk::StripClusterSiHitDecoratorAlg::m_inputClustersKey
SG::ReadHandleKey< xAOD::StripClusterContainer > m_inputClustersKey
Definition: StripClusterSiHitDecoratorAlg.h:38
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_words
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_words
Definition: StripClusterSiHitDecoratorAlg.h:44
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_meanTime_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_meanTime_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:50
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosY_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosY_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:59
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ActsTrk::StripClusterSiHitDecoratorAlg::findAllHitsCompatibleWithCluster
std::vector< SiHit > findAllHitsCompatibleWithCluster(const xAOD::StripCluster &cluster, const InDetDD::SiDetectorElement &element, const std::vector< const SiHit * > &sihits) const
Definition: StripClusterSiHitDecoratorAlg.cxx:199
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosZ_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:60
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:19
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_depositsBarcode
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsBarcode
Definition: StripClusterSiHitDecoratorAlg.h:45
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:14
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:52
ActsTrk::StripClusterSiHitDecoratorAlg::m_sdo_depositsEnergy
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sdo_depositsEnergy
Definition: StripClusterSiHitDecoratorAlg.h:46
xAOD::StripCluster_v1
Definition: StripCluster_v1.h:17
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_barcode_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_barcode_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:51
AthReentrantAlgorithm.h
ActsTrk::StripClusterSiHitDecoratorAlg::m_inputMeasurementsKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_inputMeasurementsKey
Definition: StripClusterSiHitDecoratorAlg.h:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElementCollection.h
SiDetectorElement.h
ActsTrk::StripClusterSiHitDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: StripClusterSiHitDecoratorAlg.cxx:70
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_endPosX_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_endPosX_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:58
ActsTrk::StripClusterSiHitDecoratorAlg::~StripClusterSiHitDecoratorAlg
virtual ~StripClusterSiHitDecoratorAlg()=default
ActsTrk::StripClusterSiHitDecoratorAlg
Definition: StripClusterSiHitDecoratorAlg.h:22
SCT_ID
Definition: SCT_ID.h:68
StripClusterContainer.h
InDetSimDataCollection.h
ActsTrk::StripClusterSiHitDecoratorAlg::m_sihit_startPosZ_decor_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_sihit_startPosZ_decor_key
Definition: StripClusterSiHitDecoratorAlg.h:56
ActsTrk::StripClusterSiHitDecoratorAlg::m_siHitsKey
SG::ReadHandleKey< SiHitCollection > m_siHitsKey
Definition: StripClusterSiHitDecoratorAlg.h:40
TrackMeasurementValidationContainer.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:55
ActsTrk::StripClusterSiHitDecoratorAlg::m_SDOcontainer_key
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer_key
Definition: StripClusterSiHitDecoratorAlg.h:39
ActsTrk::StripClusterSiHitDecoratorAlg::m_StripHelper
const SCT_ID * m_StripHelper
Definition: StripClusterSiHitDecoratorAlg.h:62
SiHitCollection.h