ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsDataPreparation
src
HgtdClusterizationAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSTRK_DATAPREPARATION_HGTD_CLUSTERIZATIONALG_H
6
#define ACTSTRK_DATAPREPARATION_HGTD_CLUSTERIZATIONALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
ActsToolInterfaces/IHGTDClusteringTool.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
HGTD_Identifier/HGTD_ID.h
"
12
#include "
HGTD_ReadoutGeometry/HGTD_DetectorManager.h
"
13
#include "
HGTD_RawData/HGTD_ALTIROC_RDO_Container.h
"
14
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
#include "
xAODInDetMeasurement/HGTDClusterContainer.h
"
18
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
19
20
namespace
ActsTrk
{
21
22
class
HgtdClusterizationAlg
23
:
public
AthReentrantAlgorithm
{
24
public
:
25
HgtdClusterizationAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
26
virtual
~HgtdClusterizationAlg
()
override
=
default
;
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
30
virtual
StatusCode
finalize
()
override
;
31
32
private
:
33
ToolHandle< IHGTDClusteringTool >
m_clusteringTool
{
this
,
"ClusteringTool"
,
""
,
"The Clustering Tool"
};
34
ToolHandle< GenericMonitoringTool >
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
35
36
SG::ReadHandleKey<HGTD_RDO_Container>
m_rdoContainerKey
{
this
,
"RDOContainerName"
,
""
,
"Name of the HGTD_RDO container"
};
37
SG::ReadHandleKey<HGTD_ALTIROC_RDO_Container>
m_altiroc_rdo_rh_key
{
this
,
"AltirocRDOContainerName"
,
""
,
"Name of the HGTD_ALTIROC_RDO container"
};
38
SG::WriteHandleKey<xAOD::HGTDClusterContainer>
m_clusterContainerKey
{
this
,
"ClusterContainerName"
,
""
,
"Name of the HGTD cluster container"
};
39
40
BooleanProperty
m_use_altiroc_rdo
{
this
,
"useALTIROC_RDO"
,
false
,
"Use Altiroc RDO instead of standard"
};
41
42
private
:
43
enum
EStat
{
44
kNRdo
,
45
kNClusters
,
46
kNStat
47
};
48
49
mutable
std::array<std::atomic<unsigned int>,
kNStat
> m_stat
ATLAS_THREAD_SAFE
{};
50
};
51
52
}
// namespace ActsTrk
53
54
#endif
55
AthReentrantAlgorithm.h
GenericMonitoringTool.h
HGTDClusterContainer.h
HGTD_ALTIROC_RDO_Container.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
HGTD_DetectorManager.h
HGTD_ID.h
IHGTDClusteringTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ActsTrk::HgtdClusterizationAlg::m_clusterContainerKey
SG::WriteHandleKey< xAOD::HGTDClusterContainer > m_clusterContainerKey
Definition
HgtdClusterizationAlg.h:38
ActsTrk::HgtdClusterizationAlg::~HgtdClusterizationAlg
virtual ~HgtdClusterizationAlg() override=default
ActsTrk::HgtdClusterizationAlg::m_rdoContainerKey
SG::ReadHandleKey< HGTD_RDO_Container > m_rdoContainerKey
Definition
HgtdClusterizationAlg.h:36
ActsTrk::HgtdClusterizationAlg::ATLAS_THREAD_SAFE
std::array< std::atomic< unsigned int >, kNStat > m_stat ATLAS_THREAD_SAFE
Definition
HgtdClusterizationAlg.h:49
ActsTrk::HgtdClusterizationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HgtdClusterizationAlg.cxx:41
ActsTrk::HgtdClusterizationAlg::m_altiroc_rdo_rh_key
SG::ReadHandleKey< HGTD_ALTIROC_RDO_Container > m_altiroc_rdo_rh_key
Definition
HgtdClusterizationAlg.h:37
ActsTrk::HgtdClusterizationAlg::HgtdClusterizationAlg
HgtdClusterizationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HgtdClusterizationAlg.cxx:12
ActsTrk::HgtdClusterizationAlg::finalize
virtual StatusCode finalize() override
Definition
HgtdClusterizationAlg.cxx:31
ActsTrk::HgtdClusterizationAlg::m_clusteringTool
ToolHandle< IHGTDClusteringTool > m_clusteringTool
Definition
HgtdClusterizationAlg.h:33
ActsTrk::HgtdClusterizationAlg::m_use_altiroc_rdo
BooleanProperty m_use_altiroc_rdo
Definition
HgtdClusterizationAlg.h:40
ActsTrk::HgtdClusterizationAlg::initialize
virtual StatusCode initialize() override
Definition
HgtdClusterizationAlg.cxx:17
ActsTrk::HgtdClusterizationAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
HgtdClusterizationAlg.h:34
ActsTrk::HgtdClusterizationAlg::EStat
EStat
Definition
HgtdClusterizationAlg.h:43
ActsTrk::HgtdClusterizationAlg::kNClusters
@ kNClusters
Definition
HgtdClusterizationAlg.h:45
ActsTrk::HgtdClusterizationAlg::kNRdo
@ kNRdo
Definition
HgtdClusterizationAlg.h:44
ActsTrk::HgtdClusterizationAlg::kNStat
@ kNStat
Definition
HgtdClusterizationAlg.h:46
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0