ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
SiClusterizationTool
src
HitsToxAODCopier.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef SICLUSTERIZATIONTOOL_HITSTOXAODCOPIER_H
5
#define SICLUSTERIZATIONTOOL_HITSTOXAODCOPIER_H
6
7
// Framework includes
8
#include <
InDetIdentifier/PixelID.h
>
9
#include "
InDetIdentifier/SCT_ID.h
"
10
#include <
InDetRawData/PixelRDO_Container.h
>
11
#include <
InDetRawData/SCT_RDO_Container.h
>
12
#include <
StoreGate/ReadHandleKey.h
>
13
#include <
StoreGate/WriteHandleKey.h
>
14
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
15
#include "
SiClusterizationTool/PixelRDOTool.h
"
16
#include "
xAODCore/AuxContainerBase.h
"
17
#include "
xAODCore/BaseContainer.h
"
18
19
// STL includes
20
#include <string>
21
26
namespace
InDet
{
27
class
HitsToxAODCopier
:
public
AthReentrantAlgorithm
{
28
public
:
29
HitsToxAODCopier
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
virtual
~HitsToxAODCopier
()
override
=
default
;
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& context)
const override
;
34
35
private
:
36
ToolHandle<InDet::PixelRDOTool>
m_pixelRDOTool
{
this
,
"PixelRDOTool"
,
37
"InDet::PixelRDOTool"
};
38
SG::ReadHandleKey<PixelRDO_Container>
m_pixelRdoContainerKey
{
39
this
,
"PixelRDOContainerKey"
,
"ITkPixelRDOs"
};
40
SG::ReadHandleKey<SCT_RDO_Container>
m_stripRdoContainerKey
{
41
this
,
"StripRDOContainerKey"
,
"ITkStripRDOs"
};
42
43
SG::WriteHandleKey<xAOD::BaseContainer>
m_pixelOutputKey
{
44
this
,
"PixelOutputCollectionKey"
,
"PixelHits"
,
"name of output container"
};
45
46
SG::WriteHandleKey<xAOD::BaseContainer>
m_stripOutputKey
{
47
this
,
"StripOutputCollectionKey"
,
"StripHits"
,
"name of output container"
};
48
49
const
PixelID
*
m_pixelIdHelper
=
nullptr
;
50
const
SCT_ID
*
m_stripIdHelper
=
nullptr
;
51
52
53
StatusCode
exportPixel
(
const
EventContext& context)
const
;
54
StatusCode
exportStrip
(
const
EventContext& context)
const
;
55
56
};
57
}
// namespace InDet
58
#endif
// SICLUSTERIZATIONTOOL_HITSTOXAODCOPIER_H
AthReentrantAlgorithm.h
AuxContainerBase.h
BaseContainer.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
PixelRDOTool.h
PixelRDO_Container.h
SCT_ID.h
This is an Identifier helper class for the SCT subdetector.
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
InDet::HitsToxAODCopier::m_stripIdHelper
const SCT_ID * m_stripIdHelper
Definition
HitsToxAODCopier.h:50
InDet::HitsToxAODCopier::m_pixelRdoContainerKey
SG::ReadHandleKey< PixelRDO_Container > m_pixelRdoContainerKey
Definition
HitsToxAODCopier.h:38
InDet::HitsToxAODCopier::m_stripOutputKey
SG::WriteHandleKey< xAOD::BaseContainer > m_stripOutputKey
Definition
HitsToxAODCopier.h:46
InDet::HitsToxAODCopier::m_stripRdoContainerKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRdoContainerKey
Definition
HitsToxAODCopier.h:40
InDet::HitsToxAODCopier::~HitsToxAODCopier
virtual ~HitsToxAODCopier() override=default
InDet::HitsToxAODCopier::exportStrip
StatusCode exportStrip(const EventContext &context) const
Definition
HitsToxAODCopier.cxx:76
InDet::HitsToxAODCopier::exportPixel
StatusCode exportPixel(const EventContext &context) const
Definition
HitsToxAODCopier.cxx:31
InDet::HitsToxAODCopier::initialize
virtual StatusCode initialize() override
Definition
HitsToxAODCopier.cxx:12
InDet::HitsToxAODCopier::HitsToxAODCopier
HitsToxAODCopier(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HitsToxAODCopier.cxx:7
InDet::HitsToxAODCopier::m_pixelRDOTool
ToolHandle< InDet::PixelRDOTool > m_pixelRDOTool
Definition
HitsToxAODCopier.h:36
InDet::HitsToxAODCopier::m_pixelIdHelper
const PixelID * m_pixelIdHelper
Definition
HitsToxAODCopier.h:49
InDet::HitsToxAODCopier::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
HitsToxAODCopier.cxx:25
InDet::HitsToxAODCopier::m_pixelOutputKey
SG::WriteHandleKey< xAOD::BaseContainer > m_pixelOutputKey
Definition
HitsToxAODCopier.h:43
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
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0