ATLAS Offline Software
STGC_RdoToDigit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONBYTESTREAMCNVTEST_STGCRDOTOSTGCDIGIT_H
6 #define MUONBYTESTREAMCNVTEST_STGCRDOTOSTGCDIGIT_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
15 
17 public:
18  STGC_RdoToDigit(const std::string& name, ISvcLocator* pSvcLocator);
19  virtual ~STGC_RdoToDigit() = default;
20  virtual StatusCode initialize() override final;
21  virtual StatusCode execute(const EventContext& ctx) const override final;
22 
23 private:
25 
26  ToolHandle<Muon::ISTGC_RDO_Decoder> m_stgcRdoDecoderTool{this, "sTgcRdoDecoderTool", "Muon::STGC_RDO_Decoder", ""};
27  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
28  SG::ReadHandleKey<Muon::STGC_RawDataContainer> m_stgcRdoKey{this, "sTgcRdoContainer", "sTGCRDO", "sTGC RDO Input"};
29  SG::WriteHandleKey<sTgcDigitContainer> m_stgcDigitKey{this, "sTgcDigitContainer", "sTGC_DIGITS", "sTGC Digit Output"};
30 };
31 
32 #endif
sTgcDigitContainer
Use IdentifiableContainer with sTgcDigitCollection.
Definition: sTgcDigitContainer.h:50
STGC_RdoToDigit::STGC_RdoToDigit
STGC_RdoToDigit(const std::string &name, ISvcLocator *pSvcLocator)
Definition: STGC_RdoToDigit.cxx:7
STGC_RdoToDigit::initialize
virtual StatusCode initialize() override final
Definition: STGC_RdoToDigit.cxx:9
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< Muon::STGC_RawDataContainer >
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
STGC_RawDataContainer.h
SG::WriteHandleKey< sTgcDigitContainer >
sTgcDigitCollection
Definition: sTgcDigitCollection.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
STGC_RdoToDigit::m_stgcDigitKey
SG::WriteHandleKey< sTgcDigitContainer > m_stgcDigitKey
Definition: STGC_RdoToDigit.h:29
AthReentrantAlgorithm.h
STGC_RdoToDigit::m_stgcRdoKey
SG::ReadHandleKey< Muon::STGC_RawDataContainer > m_stgcRdoKey
Definition: STGC_RdoToDigit.h:28
STGC_RdoToDigit::m_stgcRdoDecoderTool
ToolHandle< Muon::ISTGC_RDO_Decoder > m_stgcRdoDecoderTool
Definition: STGC_RdoToDigit.h:26
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
STGC_RdoToDigit::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: STGC_RdoToDigit.h:27
STGC_RdoToDigit::~STGC_RdoToDigit
virtual ~STGC_RdoToDigit()=default
ISTGC_RDO_Decoder.h
sTgcDigitContainer.h
STGC_RdoToDigit::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: STGC_RdoToDigit.cxx:17
STGC_RdoToDigit::decodeSTGC
StatusCode decodeSTGC(const Muon::STGC_RawDataCollection *, sTgcDigitContainer *, sTgcDigitCollection *&, Identifier &) const
Definition: STGC_RdoToDigit.cxx:42
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
STGC_RdoToDigit
Definition: STGC_RdoToDigit.h:16
Identifier
Definition: IdentifierFieldParser.cxx:14