ATLAS Offline Software
RpcClusteringAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONCLUSTERFORMATION_RPCCLUSTERINGALG_H
5 #define MUONCLUSTERFORMATION_RPCCLUSTERINGALG_H
6 
12 #include <AthLinks/ElementLink.h>
13 namespace MuonR4{
15  public:
17 
18  StatusCode initialize() override final;
19  StatusCode execute(const EventContext& ctx) const override final;
20  private:
21  SG::ReadHandleKey<xAOD::RpcStripContainer> m_readKey{this, "ReadKey", "xRpcStrips"};
22 
23  SG::WriteHandleKey<xAOD::RpcStripContainer> m_writeKey{this, "WriteKey", "xRpcClusters"};
24  using LinkType = std::vector<ElementLink<xAOD::RpcStripContainer>>;
26 
27  Gaudi::Property<unsigned> m_maxHoles{this, "maxHoles", 1, "maximum holes between two strips"};
28  Gaudi::Property<unsigned> m_maxSize{this, "maxSize", 5, "Maximum size of a cluster to grow"};
29  };
30 }
31 
32 #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
MuonR4::RpcClusteringAlg::m_linkKey
SG::WriteDecorHandleKey< xAOD::RpcStripContainer > m_linkKey
Definition: RpcClusteringAlg.h:25
MuonR4::RpcClusteringAlg::initialize
StatusCode initialize() override final
Definition: RpcClusteringAlg.cxx:14
MuonR4::RpcClusteringAlg::LinkType
std::vector< ElementLink< xAOD::RpcStripContainer > > LinkType
Definition: RpcClusteringAlg.h:24
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonR4::RpcClusteringAlg::m_maxHoles
Gaudi::Property< unsigned > m_maxHoles
Definition: RpcClusteringAlg.h:27
RpcStripContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
MuonR4::RpcClusteringAlg::m_writeKey
SG::WriteHandleKey< xAOD::RpcStripContainer > m_writeKey
Definition: RpcClusteringAlg.h:23
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonR4::RpcClusteringAlg::m_maxSize
Gaudi::Property< unsigned > m_maxSize
Definition: RpcClusteringAlg.h:28
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::RpcClusteringAlg::m_readKey
SG::ReadHandleKey< xAOD::RpcStripContainer > m_readKey
Definition: RpcClusteringAlg.h:21
MuonR4::RpcClusteringAlg
Definition: RpcClusteringAlg.h:14
MuonR4::RpcClusteringAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition: RpcClusteringAlg.cxx:20