ATLAS Offline Software
ITRT_RodEncoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITRT_RAWDATABYTESTREAMCNV_TRT_RODENCODER_H
6 #define ITRT_RAWDATABYTESTREAMCNV_TRT_RODENCODER_H
7 
8 // #include <inttypes.h>
9 
10 //#include "ByteStreamData/RawEvent.h"
11 //#include "InDetIdentifier/TRT_ID.h"
12 //#include "InDetRawData/TRT_RDORawData.h"
13 //#include "TRT_Cabling/TRT_IdMapping.h"
14 
15 #include <vector>
16 
17 class TRT_ID;
18 class TRT_IdMapping;
19 class TRT_RDORawData;
20 
27 {
28 public:
29  typedef TRT_RDORawData RDO ;
30  typedef std::vector<const RDO*> VRDO;
31 
32 
34  virtual void addRdo(const RDO * rdo) = 0;
35 
37  virtual void set_trt_IdHelper ( const TRT_ID * trt_id) = 0;
38 
40  virtual void set_trt_IdMapping ( TRT_IdMapping* trt_IdMapping) = 0;
41 
43  virtual void setRodMinorVersion (unsigned short RodBlockVersion) = 0;
44 
46  virtual StatusCode fillROD(std::vector<uint32_t>& v, MsgStream& log ) = 0;
47  virtual StatusCode fillROD3(std::vector<uint32_t>& v, MsgStream& log ) = 0;
48 
49 };
50 
51 #endif
ITRT_RodEncoder::RDO
TRT_RDORawData RDO
Definition: ITRT_RodEncoder.h:29
ITRT_RodEncoder::fillROD3
virtual StatusCode fillROD3(std::vector< uint32_t > &v, MsgStream &log)=0
TRT_RDORawData
Definition: TRT_RDORawData.h:24
ITRT_RodEncoder::set_trt_IdMapping
virtual void set_trt_IdMapping(TRT_IdMapping *trt_IdMapping)=0
setIdMapping
ITRT_RodEncoder::fillROD
virtual StatusCode fillROD(std::vector< uint32_t > &v, MsgStream &log)=0
conversion of ROD into ROD fragment
ITRT_RodEncoder
This class provides conversion from TRT RDO to ROD format.
Definition: ITRT_RodEncoder.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITRT_RodEncoder::setRodMinorVersion
virtual void setRodMinorVersion(unsigned short RodBlockVersion)=0
setRodMinorVersion
python.PyAthena.v
v
Definition: PyAthena.py:154
TRT_ID
Definition: TRT_ID.h:84
ITRT_RodEncoder::addRdo
virtual void addRdo(const RDO *rdo)=0
add RDO to internal vector
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ITRT_RodEncoder::VRDO
std::vector< const RDO * > VRDO
Definition: ITRT_RodEncoder.h:30
ITRT_RodEncoder::set_trt_IdHelper
virtual void set_trt_IdHelper(const TRT_ID *trt_id)=0
setId Helper