ATLAS Offline Software
SCT_RawDataToxAOD.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_RAWDATATOXAOD_H
8 #define SCT_RAWDATATOXAOD_H
9 
11 
12 // SCT ntuple container type
14 // StoreGate Data Handle Key
17 // xAOD container type
19 
20 #include <string>
21 
22 class ISvcLocator;
23 class SCT_ID;
24 
28 public:
29  SCT_RawDataToxAOD(const std::string& name, ISvcLocator* pSvcLocator);
30 
31  virtual StatusCode initialize() override;
32  virtual StatusCode execute(const EventContext& ctx) const override;
33  virtual StatusCode finalize() override;
35  virtual bool isClonable() const override { return true; };
36 
37 private:
38  const SCT_ID* m_SCTHelper{nullptr};
39 
40  SG::ReadHandleKey<SCT_RDO_Container> m_rdoContainerName{this, "SctRdoContainer", "SCT_RDOs"};
42 };
43 
44 #endif // SCT_RAWDATATOXAOD_H
SCT_RawDataToxAOD
Algorithm to read RDO information from SCT ntuple and write augmented xAOD.
Definition: SCT_RawDataToxAOD.h:27
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_RawDataToxAOD::m_rdoContainerName
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainerName
Definition: SCT_RawDataToxAOD.h:40
SCT_RDO_Container.h
SCT_RawDataToxAOD::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_RawDataToxAOD.cxx:31
SCT_RawDataToxAOD::finalize
virtual StatusCode finalize() override
Definition: SCT_RawDataToxAOD.cxx:67
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
SCT_RawDataToxAOD::m_xAodRawHitContainerName
SG::WriteHandleKey< xAOD::SCTRawHitValidationContainer > m_xAodRawHitContainerName
Definition: SCT_RawDataToxAOD.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_RawDataToxAOD::initialize
virtual StatusCode initialize() override
Definition: SCT_RawDataToxAOD.cxx:24
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:221
SCTRawHitValidationContainer.h
SCT_RawDataToxAOD::m_SCTHelper
const SCT_ID * m_SCTHelper
Definition: SCT_RawDataToxAOD.h:38
SCT_ID
Definition: SCT_ID.h:68
SCT_RawDataToxAOD::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_RawDataToxAOD.h:35
SCT_RawDataToxAOD::SCT_RawDataToxAOD
SCT_RawDataToxAOD(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_RawDataToxAOD.cxx:18