ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetMeasurementUtilities
src
XAODToInDetClusterConversion.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 INDETRIOMAKER_XAODTOINDETCLUSTERCONVERSION_H
6
#define INDETRIOMAKER_XAODTOINDETCLUSTERCONVERSION_H
7
8
// Base class
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandleKey.h
"
13
//InDet
14
//can't fwd declare this, needed for typedef to Pixel_RDO_Container
15
#include "
InDetPrepRawData/PixelClusterContainer.h
"
16
#include "
xAODInDetMeasurement/PixelClusterContainer.h
"
17
18
#include "
InDetPrepRawData/SCT_ClusterContainer.h
"
19
#include "
xAODInDetMeasurement/StripClusterContainer.h
"
20
21
#include "
HGTD_PrepRawData/HGTD_ClusterContainer.h
"
22
#include "
xAODInDetMeasurement/HGTDClusterContainer.h
"
23
24
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
25
#include "
InDetPrepRawData/SiClusterContainer.h
"
26
27
#include "
InDetCondTools/ISiLorentzAngleTool.h
"
28
#include "
HGTD_ReadoutGeometry/HGTD_DetectorElementCollection.h
"
29
30
class
PixelID
;
31
class
SCT_ID
;
32
class
HGTD_ID
;
33
34
namespace
InDet
{
35
36
class
XAODToInDetClusterConversion
37
:
public
AthReentrantAlgorithm
{
38
public
:
39
40
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
41
//@name Usual algorithm methods
43
virtual
StatusCode
initialize
()
override
;
44
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
45
46
private
:
47
StatusCode
convertPixelClusters
(
const
EventContext& ctx)
const
;
48
StatusCode
convertStripClusters
(
const
EventContext& ctx)
const
;
49
StatusCode
convertHgtdClusters
(
const
EventContext& ctx)
const
;
50
51
private
:
52
const
PixelID
*
m_pixelID
{};
53
const
SCT_ID
*
m_stripID
{};
54
const
HGTD_ID
*
m_hgtdID
{};
55
56
ToolHandle<ISiLorentzAngleTool>
m_lorentzAngleTool
{
this
,
"LorentzAngleTool"
,
""
,
"Tool to retrieve Lorentz angle of SCT"
};
57
58
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_pixelDetEleCollKey
{
this
,
"PixelDetEleCollKey"
,
"ITkPixelDetectorElementCollection"
,
"Key of SiDetectorElementCollection for Pixel"
};
59
SG::ReadHandleKey<xAOD::PixelClusterContainer>
m_inputPixelClusterContainerKey
{
this
,
"InputPixelClustersName"
,
"ITkPixelClusters"
,
"name of the input xAOD pixel cluster container"
};
60
61
SG::WriteHandleKey<InDet::PixelClusterContainer>
m_outputPixelClusterContainerKey
{
this
,
"OutputPixelClustersName"
,
"ITkPixelClusters"
,
"name of the output InDet pixel cluster container"
};
62
SG::WriteHandleKey< InDet::SiClusterContainer >
m_pixelClusterContainerLinkKey
{
this
,
"PixelClustersLinkName"
,
"ITkPixelClusters"
};
63
SG::WriteHandleKey<std::vector<unsigned int>
>
m_pixelClusterOffSetKey
{
this
,
"PixelClusterOffSetKey"
,
"ITkPixelClustersOffsets"
};
64
65
SG::WriteDecorHandleKey<xAOD::PixelClusterContainer>
m_pixelClusterLinkKey
{
this
,
"PixelClusterLinkKey"
,
m_inputPixelClusterContainerKey
,
"pixelClusterLink"
,
"Decoration to link Trk object to xAOD"
};
66
67
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_stripDetEleCollKey
{
this
,
"StripDetEleCollKey"
,
"ITkStripDetectorElementCollection"
,
"Key of SiDetectorElementCollection for Strip"
};
68
SG::ReadHandleKey<xAOD::StripClusterContainer>
m_inputStripClusterContainerKey
{
this
,
"InputStripClustersName"
,
"ITkStripClusters"
,
"name of the input xAOD strip cluster container"
};
69
70
SG::WriteHandleKey<InDet::SCT_ClusterContainer>
m_outputStripClusterContainerKey
{
this
,
"OutputStripClustersName"
,
"ITkStripClusters"
,
"name of the output InDet pixel cluster container"
};
71
SG::WriteHandleKey< InDet::SiClusterContainer >
m_stripClusterContainerLinkKey
{
this
,
"StripClustersLinkName"
,
"ITkStripClusters"
};
72
SG::WriteHandleKey<std::vector<unsigned int>
>
m_stripClusterOffSetKey
{
this
,
"StripClusterOffSetKey"
,
"ITkStripClustersOffsets"
};
73
SG::WriteDecorHandleKey<xAOD::StripClusterContainer>
m_stripClusterLinkKey
{
this
,
"StripClusterLinkKey"
,
m_inputStripClusterContainerKey
,
"sctClusterLink"
,
"Decoration to link Trk object to xAOD"
};
74
75
SG::ReadCondHandleKey<InDetDD::HGTD_DetectorElementCollection>
m_HGTDDetEleCollKey
{
this
,
"HGTDDetEleCollKey"
,
"HGTD_DetectorElementCollection"
,
"Key of HGTD_DetectorElementCollection for HGTD"
};
76
SG::ReadHandleKey<xAOD::HGTDClusterContainer>
m_inputHgtdClusterContainerKey
{
this
,
"InputHGTDClustersName"
,
"HGTD_Clusters"
,
"name of the input xAOD hgtd cluster container"
};
77
78
SG::WriteHandleKey<::HGTD_ClusterContainer>
m_outputHgtdClusterContainerKey
{
this
,
"OutputHGTDClustersName"
,
"HGTD_Clusters"
,
"name of the output InDet hgtd cluster container"
};
79
SG::WriteDecorHandleKey<xAOD::HGTDClusterContainer>
m_hgdtClusterLinkKey
{
this
,
"HgtdClusterLinkKey"
,
m_inputHgtdClusterContainerKey
,
"hgtdClusterLink"
,
"Decoration to link Trk object to xAOD"
};
80
81
Gaudi::Property<bool>
m_processPixel
{
this
,
"ProcessPixel"
,
false
};
82
Gaudi::Property<bool>
m_processStrip
{
this
,
"ProcessStrip"
,
false
};
83
Gaudi::Property<bool>
m_processHgtd
{
this
,
"ProcessHgtd"
,
false
};
84
};
85
86
}
87
88
#endif
// INDETRIOMAKER_XAODTOINDETCLUSTERCONVERSION_H
AthReentrantAlgorithm.h
PixelClusterContainer.h
HGTDClusterContainer.h
HGTD_ClusterContainer.h
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
HGTD_DetectorElementCollection.h
ISiLorentzAngleTool.h
PixelClusterContainer.h
SCT_ClusterContainer.h
SiClusterContainer.h
SiDetectorElementCollection.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.
StripClusterContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
HGTD_ID
This is an Identifier helper class for the HGTD subdetector.
Definition
HGTD_ID.h:47
InDet::XAODToInDetClusterConversion
Definition
XAODToInDetClusterConversion.h:37
InDet::XAODToInDetClusterConversion::m_lorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
Definition
XAODToInDetClusterConversion.h:56
InDet::XAODToInDetClusterConversion::m_inputHgtdClusterContainerKey
SG::ReadHandleKey< xAOD::HGTDClusterContainer > m_inputHgtdClusterContainerKey
Definition
XAODToInDetClusterConversion.h:76
InDet::XAODToInDetClusterConversion::m_hgtdID
const HGTD_ID * m_hgtdID
Definition
XAODToInDetClusterConversion.h:54
InDet::XAODToInDetClusterConversion::m_pixelID
const PixelID * m_pixelID
Definition
XAODToInDetClusterConversion.h:52
InDet::XAODToInDetClusterConversion::m_stripClusterOffSetKey
SG::WriteHandleKey< std::vector< unsigned int > > m_stripClusterOffSetKey
Definition
XAODToInDetClusterConversion.h:72
InDet::XAODToInDetClusterConversion::m_outputStripClusterContainerKey
SG::WriteHandleKey< InDet::SCT_ClusterContainer > m_outputStripClusterContainerKey
Definition
XAODToInDetClusterConversion.h:70
InDet::XAODToInDetClusterConversion::initialize
virtual StatusCode initialize() override
Definition
XAODToInDetClusterConversion.cxx:22
InDet::XAODToInDetClusterConversion::convertHgtdClusters
StatusCode convertHgtdClusters(const EventContext &ctx) const
Definition
XAODToInDetClusterConversion.cxx:222
InDet::XAODToInDetClusterConversion::m_processHgtd
Gaudi::Property< bool > m_processHgtd
Definition
XAODToInDetClusterConversion.h:83
InDet::XAODToInDetClusterConversion::m_pixelClusterOffSetKey
SG::WriteHandleKey< std::vector< unsigned int > > m_pixelClusterOffSetKey
Definition
XAODToInDetClusterConversion.h:63
InDet::XAODToInDetClusterConversion::m_inputPixelClusterContainerKey
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_inputPixelClusterContainerKey
Definition
XAODToInDetClusterConversion.h:59
InDet::XAODToInDetClusterConversion::m_stripClusterContainerLinkKey
SG::WriteHandleKey< InDet::SiClusterContainer > m_stripClusterContainerLinkKey
Definition
XAODToInDetClusterConversion.h:71
InDet::XAODToInDetClusterConversion::m_stripClusterLinkKey
SG::WriteDecorHandleKey< xAOD::StripClusterContainer > m_stripClusterLinkKey
Definition
XAODToInDetClusterConversion.h:73
InDet::XAODToInDetClusterConversion::convertPixelClusters
StatusCode convertPixelClusters(const EventContext &ctx) const
Definition
XAODToInDetClusterConversion.cxx:82
InDet::XAODToInDetClusterConversion::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition
XAODToInDetClusterConversion.h:58
InDet::XAODToInDetClusterConversion::m_hgdtClusterLinkKey
SG::WriteDecorHandleKey< xAOD::HGTDClusterContainer > m_hgdtClusterLinkKey
Definition
XAODToInDetClusterConversion.h:79
InDet::XAODToInDetClusterConversion::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
XAODToInDetClusterConversion.cxx:61
InDet::XAODToInDetClusterConversion::m_processStrip
Gaudi::Property< bool > m_processStrip
Definition
XAODToInDetClusterConversion.h:82
InDet::XAODToInDetClusterConversion::m_HGTDDetEleCollKey
SG::ReadCondHandleKey< InDetDD::HGTD_DetectorElementCollection > m_HGTDDetEleCollKey
Definition
XAODToInDetClusterConversion.h:75
InDet::XAODToInDetClusterConversion::m_pixelClusterContainerLinkKey
SG::WriteHandleKey< InDet::SiClusterContainer > m_pixelClusterContainerLinkKey
Definition
XAODToInDetClusterConversion.h:62
InDet::XAODToInDetClusterConversion::m_processPixel
Gaudi::Property< bool > m_processPixel
Definition
XAODToInDetClusterConversion.h:81
InDet::XAODToInDetClusterConversion::m_outputHgtdClusterContainerKey
SG::WriteHandleKey<::HGTD_ClusterContainer > m_outputHgtdClusterContainerKey
Definition
XAODToInDetClusterConversion.h:78
InDet::XAODToInDetClusterConversion::convertStripClusters
StatusCode convertStripClusters(const EventContext &ctx) const
Definition
XAODToInDetClusterConversion.cxx:149
InDet::XAODToInDetClusterConversion::m_stripDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_stripDetEleCollKey
Definition
XAODToInDetClusterConversion.h:67
InDet::XAODToInDetClusterConversion::m_stripID
const SCT_ID * m_stripID
Definition
XAODToInDetClusterConversion.h:53
InDet::XAODToInDetClusterConversion::m_inputStripClusterContainerKey
SG::ReadHandleKey< xAOD::StripClusterContainer > m_inputStripClusterContainerKey
Definition
XAODToInDetClusterConversion.h:68
InDet::XAODToInDetClusterConversion::m_pixelClusterLinkKey
SG::WriteDecorHandleKey< xAOD::PixelClusterContainer > m_pixelClusterLinkKey
Definition
XAODToInDetClusterConversion.h:65
InDet::XAODToInDetClusterConversion::m_outputPixelClusterContainerKey
SG::WriteHandleKey< InDet::PixelClusterContainer > m_outputPixelClusterContainerKey
Definition
XAODToInDetClusterConversion.h:61
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::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0