ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Overlay
TrackOverlay
TrackOverlayRec
src
TrackOverlayRoISiRDOMergerAlg.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
* */
4
5
#ifndef TRACKOVERLAYREC_TRACKOVERLAYROISIRDOMERGERALG_H
6
#define TRACKOVERLAYREC_TRACKOVERLAYROISIRDOMERGERALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
13
#include "
IRegionSelector/IRegSelTool.h
"
14
#include "
InDetRawData/PixelRDO_Container.h
"
15
#include "
InDetRawData/SCT_RDO_Container.h
"
16
#include "
xAODCaloEvent/CaloClusterContainer.h
"
17
18
#include <atomic>
19
20
class
PixelID
;
21
class
SCT_ID
;
22
23
namespace
TrackOverlay
{
24
33
class
TrackOverlayRoISiRDOMergerAlg
:
public
AthReentrantAlgorithm
34
{
35
public
:
36
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
37
38
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
40
virtual
StatusCode
finalize
()
override
;
41
42
private
:
43
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterKey
{
this
,
"CaloClusterKey"
,
"egammaTopoClusters"
,
"EM calo clusters seeding the RoIs"
};
44
45
SG::ReadHandleKey<PixelRDO_Container>
m_sigPixelKey
{
this
,
"SignalPixelRDOKey"
,
"Sig_PixelRDOs"
,
"Signal-only Pixel RDOs"
};
46
SG::ReadHandleKey<PixelRDO_Container>
m_fullPixelKey
{
this
,
"MergedPixelRDOKey"
,
"PixelRDOs"
,
"Signal + pileup Pixel RDOs"
};
47
SG::WriteHandleKey<PixelRDO_Container>
m_outPixelKey
{
this
,
"OutputPixelRDOKey"
,
"RoI_PixelRDOs"
,
"Output Pixel RDOs"
};
48
49
SG::ReadHandleKey<SCT_RDO_Container>
m_sigSCTKey
{
this
,
"SignalSCT_RDOKey"
,
"Sig_SCT_RDOs"
,
"Signal-only SCT RDOs"
};
50
SG::ReadHandleKey<SCT_RDO_Container>
m_fullSCTKey
{
this
,
"MergedSCT_RDOKey"
,
"SCT_RDOs"
,
"Signal + pileup SCT RDOs"
};
51
SG::WriteHandleKey<SCT_RDO_Container>
m_outSCTKey
{
this
,
"OutputSCT_RDOKey"
,
"RoI_SCT_RDOs"
,
"Output SCT RDOs"
};
52
53
ToolHandle<IRegSelTool>
m_regSelPixel
{
this
,
"RegSelTool_Pixel"
,
""
,
"Region selector for Pixel"
};
54
ToolHandle<IRegSelTool>
m_regSelSCT
{
this
,
"RegSelTool_SCT"
,
""
,
"Region selector for SCT"
};
55
56
Gaudi::Property<float>
m_minClusterEt
{
this
,
"MinClusterEt"
, 10000.,
"Minimum cluster ET [MeV] to open an RoI"
};
57
Gaudi::Property<float>
m_etaHalfWidth
{
this
,
"EtaHalfWidth"
, 0.15,
"RoI half width in eta"
};
58
Gaudi::Property<float>
m_phiHalfWidth
{
this
,
"PhiHalfWidth"
, 0.3,
"RoI half width in phi"
};
59
Gaudi::Property<float>
m_zHalfWidth
{
this
,
"ZHalfWidth"
, 225.,
"RoI half width in z along the beam line [mm]"
};
60
61
const
PixelID
*
m_pixelID
{
nullptr
};
62
const
SCT_ID
*
m_sctID
{
nullptr
};
63
64
mutable
std::atomic<unsigned long>
m_nEvents
{0};
65
mutable
std::atomic<unsigned long>
m_nRoIs
{0};
66
mutable
std::atomic<unsigned long>
m_nPixelRoIModules
{0};
67
mutable
std::atomic<unsigned long>
m_nSCTRoIModules
{0};
68
};
69
70
}
// namespace TrackOverlay
71
72
#endif
AthReentrantAlgorithm.h
CaloClusterContainer.h
IRegSelTool.h
PixelRDO_Container.h
SCT_RDO_Container.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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
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
TrackOverlay::TrackOverlayRoISiRDOMergerAlg
Builds the Pixel/SCT RDO containers used by the track overlay primary pass when RoI-limited silicon o...
Definition
TrackOverlayRoISiRDOMergerAlg.h:34
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_regSelPixel
ToolHandle< IRegSelTool > m_regSelPixel
Definition
TrackOverlayRoISiRDOMergerAlg.h:53
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sigSCTKey
SG::ReadHandleKey< SCT_RDO_Container > m_sigSCTKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:49
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nPixelRoIModules
std::atomic< unsigned long > m_nPixelRoIModules
Definition
TrackOverlayRoISiRDOMergerAlg.h:66
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sigPixelKey
SG::ReadHandleKey< PixelRDO_Container > m_sigPixelKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:45
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nEvents
std::atomic< unsigned long > m_nEvents
Definition
TrackOverlayRoISiRDOMergerAlg.h:64
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrackOverlayRoISiRDOMergerAlg.cxx:106
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_outSCTKey
SG::WriteHandleKey< SCT_RDO_Container > m_outSCTKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:51
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_phiHalfWidth
Gaudi::Property< float > m_phiHalfWidth
Definition
TrackOverlayRoISiRDOMergerAlg.h:58
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_etaHalfWidth
Gaudi::Property< float > m_etaHalfWidth
Definition
TrackOverlayRoISiRDOMergerAlg.h:57
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_regSelSCT
ToolHandle< IRegSelTool > m_regSelSCT
Definition
TrackOverlayRoISiRDOMergerAlg.h:54
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_outPixelKey
SG::WriteHandleKey< PixelRDO_Container > m_outPixelKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:47
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:43
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nRoIs
std::atomic< unsigned long > m_nRoIs
Definition
TrackOverlayRoISiRDOMergerAlg.h:65
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_minClusterEt
Gaudi::Property< float > m_minClusterEt
Definition
TrackOverlayRoISiRDOMergerAlg.h:56
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nSCTRoIModules
std::atomic< unsigned long > m_nSCTRoIModules
Definition
TrackOverlayRoISiRDOMergerAlg.h:67
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_zHalfWidth
Gaudi::Property< float > m_zHalfWidth
Definition
TrackOverlayRoISiRDOMergerAlg.h:59
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_fullSCTKey
SG::ReadHandleKey< SCT_RDO_Container > m_fullSCTKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:50
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_fullPixelKey
SG::ReadHandleKey< PixelRDO_Container > m_fullPixelKey
Definition
TrackOverlayRoISiRDOMergerAlg.h:46
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::finalize
virtual StatusCode finalize() override
Definition
TrackOverlayRoISiRDOMergerAlg.cxx:173
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sctID
const SCT_ID * m_sctID
Definition
TrackOverlayRoISiRDOMergerAlg.h:62
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::initialize
virtual StatusCode initialize() override
Definition
TrackOverlayRoISiRDOMergerAlg.cxx:87
TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_pixelID
const PixelID * m_pixelID
Definition
TrackOverlayRoISiRDOMergerAlg.h:61
TrackOverlay
Definition
TrackOverlayRoISiRDOMergerAlg.cxx:85
Generated on
for ATLAS Offline Software by
1.17.0