ATLAS Offline Software
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
17 #include "xAODCore/BaseContainer.h"
18 
19 // STL includes
20 #include <string>
21 
26 namespace 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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
InDet::HitsToxAODCopier
Definition: HitsToxAODCopier.h:27
InDet::HitsToxAODCopier::m_stripIdHelper
const SCT_ID * m_stripIdHelper
Definition: HitsToxAODCopier.h:50
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
AuxContainerBase.h
InDet::HitsToxAODCopier::m_stripOutputKey
SG::WriteHandleKey< xAOD::BaseContainer > m_stripOutputKey
Definition: HitsToxAODCopier.h:46
InDet::HitsToxAODCopier::initialize
virtual StatusCode initialize() override
Definition: HitsToxAODCopier.cxx:12
SG::ReadHandleKey< PixelRDO_Container >
InDet::HitsToxAODCopier::exportStrip
StatusCode exportStrip(const EventContext &context) const
Definition: HitsToxAODCopier.cxx:76
InDet::HitsToxAODCopier::m_pixelOutputKey
SG::WriteHandleKey< xAOD::BaseContainer > m_pixelOutputKey
Definition: HitsToxAODCopier.h:43
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
InDet::HitsToxAODCopier::m_pixelIdHelper
const PixelID * m_pixelIdHelper
Definition: HitsToxAODCopier.h:49
SCT_RDO_Container.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::HitsToxAODCopier::HitsToxAODCopier
HitsToxAODCopier(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HitsToxAODCopier.cxx:7
InDet::HitsToxAODCopier::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: HitsToxAODCopier.cxx:25
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::HitsToxAODCopier::m_pixelRdoContainerKey
SG::ReadHandleKey< PixelRDO_Container > m_pixelRdoContainerKey
Definition: HitsToxAODCopier.h:38
PixelRDO_Container.h
SCT_ID
Definition: SCT_ID.h:68
InDet::HitsToxAODCopier::exportPixel
StatusCode exportPixel(const EventContext &context) const
Definition: HitsToxAODCopier.cxx:31
InDet::HitsToxAODCopier::~HitsToxAODCopier
virtual ~HitsToxAODCopier() override=default
BaseContainer.h
InDet::HitsToxAODCopier::m_stripRdoContainerKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRdoContainerKey
Definition: HitsToxAODCopier.h:40
PixelID
Definition: PixelID.h:67
InDet::HitsToxAODCopier::m_pixelRDOTool
ToolHandle< InDet::PixelRDOTool > m_pixelRDOTool
Definition: HitsToxAODCopier.h:36
PixelRDOTool.h