ATLAS Offline Software
Loading...
Searching...
No Matches
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
21class TRT_ID;
22
23
24
32
33class TRTRawContByteStreamTool: public extends<AthAlgTool, ITRTRawContByteStreamTool>
34{
35 public:
36
37 // RawData type
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
57private:
59 { this, "ByteStreamCnvSvc", "ByteStreamCnvSvc" };
60
62
64 unsigned short m_RodBlockVersion;
65
66};
67#endif
68
69
70
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
ServiceHandle< ITRT_CablingSvc > m_trt_CablingSvc
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode initialize() override
TRTRawContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
virtual StatusCode finalize() override
virtual StatusCode convert(TRT_RDO_Container *cont) const override
New convert method which makes use of the encoder class (as done for other detectors)
virtual ~TRTRawContByteStreamTool()
destructor
InDetRawDataCollection< RDO > TRTRawCollection
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82