ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19// STL includes
20#include <string>
21
26namespace InDet {
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"};
39 this, "PixelRDOContainerKey", "ITkPixelRDOs"};
41 this, "StripRDOContainerKey", "ITkStripRDOs"};
42
44 this, "PixelOutputCollectionKey", "PixelHits", "name of output container"};
45
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
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
const SCT_ID * m_stripIdHelper
SG::ReadHandleKey< PixelRDO_Container > m_pixelRdoContainerKey
SG::WriteHandleKey< xAOD::BaseContainer > m_stripOutputKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRdoContainerKey
virtual ~HitsToxAODCopier() override=default
StatusCode exportStrip(const EventContext &context) const
StatusCode exportPixel(const EventContext &context) const
virtual StatusCode initialize() override
HitsToxAODCopier(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< InDet::PixelRDOTool > m_pixelRDOTool
const PixelID * m_pixelIdHelper
virtual StatusCode execute(const EventContext &context) const override
SG::WriteHandleKey< xAOD::BaseContainer > m_pixelOutputKey
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.