ATLAS Offline Software
TgcRdoContByteStreamTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONTGC_CNVTOOLS_TGCRDOCONTRAWEVENTTOOL_H
6 #define MUONTGC_CNVTOOLS_TGCRDOCONTRAWEVENTTOOL_H
7 
8 #include <string>
9 
12 
13 #include "ByteStreamData/RawEvent.h"
15 #include "TGC_Hid2RESrcID.h"
16 
17 class TgcRdoContainer;
18 class MsgStream ;
19 
20 namespace Muon {
21 
33  public extends<AthAlgTool, ITGC_RDOtoByteStreamTool>
34  {
35  public:
36 
38  TgcRdoContByteStreamTool (const std::string& type, const std::string& name,
39  const IInterface* parent);
40 
43 
45  virtual StatusCode initialize() override;
47  virtual StatusCode finalize() override;
48 
50  virtual StatusCode convert(const TgcRdoContainer* cont) const override;
51 
52  private:
54  { this, "ByteStreamCnvSvc", "ByteStreamCnvSvc" };
55 
56  std::unique_ptr<TGC_Hid2RESrcID> m_hid2re;
57  };
58 } // end of namespace
59 
60 #endif // MUONTGC_CNVTOOLS_TGCRDOCONTRAWEVENTTOOL_H
Muon::TgcRdoContByteStreamTool::~TgcRdoContByteStreamTool
virtual ~TgcRdoContByteStreamTool()
Destructor.
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
TgcRdoContainer
Definition: TgcRdoContainer.h:25
RawEvent.h
Muon::TgcRdoContByteStreamTool::finalize
virtual StatusCode finalize() override
Finalizer.
Definition: TgcRdoContByteStreamTool.cxx:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Muon::TgcRdoContByteStreamTool
Definition: TgcRdoContByteStreamTool.h:34
Muon::TgcRdoContByteStreamTool::convert
virtual StatusCode convert(const TgcRdoContainer *cont) const override
Convert RDO container to Byte Stream.
Definition: TgcRdoContByteStreamTool.cxx:48
TGC_Hid2RESrcID.h
Muon::TgcRdoContByteStreamTool::initialize
virtual StatusCode initialize() override
Initializer.
Definition: TgcRdoContByteStreamTool.cxx:29
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ITGC_RDOtoByteStreamTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::TgcRdoContByteStreamTool::m_byteStreamCnvSvc
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: TgcRdoContByteStreamTool.h:54
IByteStreamCnvSvc.h
Muon::TgcRdoContByteStreamTool::m_hid2re
std::unique_ptr< TGC_Hid2RESrcID > m_hid2re
Definition: TgcRdoContByteStreamTool.h:56
Muon::TgcRdoContByteStreamTool::TgcRdoContByteStreamTool
TgcRdoContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: TgcRdoContByteStreamTool.cxx:16
ServiceHandle< IByteStreamCnvSvc >