ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonCnv
MuonClusterFormation
src
RpcClusteringAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONCLUSTERFORMATION_RPCCLUSTERINGALG_H
5
#define MUONCLUSTERFORMATION_RPCCLUSTERINGALG_H
6
7
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
8
#include <
xAODMuonPrepData/RpcStripContainer.h
>
9
#include <
StoreGate/ReadHandleKey.h
>
10
#include <
StoreGate/WriteDecorHandleKey.h
>
11
#include <
StoreGate/WriteHandleKey.h
>
12
#include <AthLinks/ElementLink.h>
13
namespace
MuonR4
{
14
class
RpcClusteringAlg
:
public
AthReentrantAlgorithm
{
15
public
:
16
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
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>>;
25
SG::WriteDecorHandleKey<xAOD::RpcStripContainer>
m_linkKey
{
this
,
"LinkKey"
,
m_writeKey
,
"rpcConstituents"
};
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
AthReentrantAlgorithm.h
RpcStripContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::RpcClusteringAlg
Definition
RpcClusteringAlg.h:14
MuonR4::RpcClusteringAlg::m_maxSize
Gaudi::Property< unsigned > m_maxSize
Definition
RpcClusteringAlg.h:28
MuonR4::RpcClusteringAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition
RpcClusteringAlg.cxx:20
MuonR4::RpcClusteringAlg::LinkType
std::vector< ElementLink< xAOD::RpcStripContainer > > LinkType
Definition
RpcClusteringAlg.h:24
MuonR4::RpcClusteringAlg::m_maxHoles
Gaudi::Property< unsigned > m_maxHoles
Definition
RpcClusteringAlg.h:27
MuonR4::RpcClusteringAlg::initialize
StatusCode initialize() override final
Definition
RpcClusteringAlg.cxx:14
MuonR4::RpcClusteringAlg::m_readKey
SG::ReadHandleKey< xAOD::RpcStripContainer > m_readKey
Definition
RpcClusteringAlg.h:21
MuonR4::RpcClusteringAlg::m_writeKey
SG::WriteHandleKey< xAOD::RpcStripContainer > m_writeKey
Definition
RpcClusteringAlg.h:23
MuonR4::RpcClusteringAlg::m_linkKey
SG::WriteDecorHandleKey< xAOD::RpcStripContainer > m_linkKey
Definition
RpcClusteringAlg.h:25
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0