ATLAS Offline Software
TRTRawContByteStreamTool.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 TRT_RAWDATABYTESTREAMCNV_TRTRAWCONTRAWEVENTTOOL_H
6 #define TRT_RAWDATABYTESTREAMCNV_TRTRAWCONTRAWEVENTTOOL_H
7 
9 
10 #include "GaudiKernel/ToolHandle.h"
11 
12 
14 
15 
19 
20 
21 class TRT_ID;
22 
23 
24 
33 class TRTRawContByteStreamTool: public extends<AthAlgTool, ITRTRawContByteStreamTool>
34 {
35  public:
36 
37  // RawData type
38  typedef TRT_RDORawData RDO ;
39 
40  // Collection type
42 
43 
45  TRTRawContByteStreamTool( const std::string& type, const std::string& name,
46  const IInterface* parent ) ;
47 
50 
51  virtual StatusCode initialize() override;
52  virtual StatusCode finalize() override;
53 
55  virtual StatusCode convert(TRT_RDO_Container* cont) const override;
56 
57 private:
59  { this, "ByteStreamCnvSvc", "ByteStreamCnvSvc" };
60 
62 
64  unsigned short m_RodBlockVersion;
65 
66 };
67 #endif
68 
69 
70 
TRTRawContByteStreamTool::finalize
virtual StatusCode finalize() override
Definition: TRTRawContByteStreamTool.cxx:60
TRTRawContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition: TRTRawContByteStreamTool.cxx:42
TRTRawContByteStreamTool::m_trt_idHelper
const TRT_ID * m_trt_idHelper
Definition: TRTRawContByteStreamTool.h:63
TRTRawContByteStreamTool::RDO
TRT_RDORawData RDO
Definition: TRTRawContByteStreamTool.h:38
TRTRawContByteStreamTool
An AlgTool class to provide conversion from TRT RDO container to ByteStream, and fill it in RawEvent ...
Definition: TRTRawContByteStreamTool.h:34
TRTRawContByteStreamTool::m_trt_CablingSvc
ServiceHandle< ITRT_CablingSvc > m_trt_CablingSvc
Definition: TRTRawContByteStreamTool.h:61
InDetRawDataContainer
Definition: InDetRawDataContainer.h:27
TRT_RDORawData
Definition: TRT_RDORawData.h:24
SrcIdMap.h
TRTRawContByteStreamTool::~TRTRawContByteStreamTool
virtual ~TRTRawContByteStreamTool()
destructor
ITRTRawContByteStreamTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ByteStreamCnvSvc.h
FullEventAssembler.h
ITRT_CablingSvc.h
TRTRawContByteStreamTool::TRTRawContByteStreamTool
TRTRawContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: TRTRawContByteStreamTool.cxx:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TRT_ID
Definition: TRT_ID.h:84
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TRTRawContByteStreamTool::TRTRawCollection
InDetRawDataCollection< RDO > TRTRawCollection
Definition: TRTRawContByteStreamTool.h:41
TRTRawContByteStreamTool::m_RodBlockVersion
unsigned short m_RodBlockVersion
Definition: TRTRawContByteStreamTool.h:64
TRTRawContByteStreamTool::m_byteStreamCnvSvc
ServiceHandle< ByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: TRTRawContByteStreamTool.h:59
ServiceHandle< ByteStreamCnvSvc >
TRTRawContByteStreamTool::convert
virtual StatusCode convert(TRT_RDO_Container *cont) const override
New convert method which makes use of the encoder class (as done for other detectors)
Definition: TRTRawContByteStreamTool.cxx:71