ATLAS Offline Software
JemTobRoiByteStreamAuxCnv.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 TRIGT1CALOBYTESTREAM_JEMTOBROIBYTESTREAMAUXCNV_H
6 #define TRIGT1CALOBYTESTREAM_JEMTOBROIBYTESTREAMAUXCNV_H
7 
8 #include <string>
9 
10 #include "GaudiKernel/ClassID.h"
11 #include "GaudiKernel/Converter.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
15 
17 
18 class DataObject;
20 class IOpaqueAddress;
22 class ISvcLocator;
23 class StatusCode;
24 
25 template <typename> class CnvFactory;
26 
27 
28 
29 namespace LVL1BS {
30 class JepRoiByteStreamV2Tool;
31 
38 
39 public:
40  JemTobRoiByteStreamAuxCnv(ISvcLocator* svcloc);
41 
43 
44  virtual StatusCode initialize();
46  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
48  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
49 
50  // Storage type and class ID
51  virtual long repSvcType() const { return i_repSvcType(); }
52  static long storageType();
53 
54  static const CLID& classID();
55 private:
57  std::string m_name;
58 
60  ToolHandle<JepRoiByteStreamV2Tool> m_readTool;
61 };
62 
63 
64 
65 } // end namespace
66 #endif
LVL1BS::JemTobRoiByteStreamAuxCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: JemTobRoiByteStreamAuxCnv.cxx:120
LVL1BS::JemTobRoiByteStreamAuxCnv
ByteStream converter for Pre-processor Module DAQ data / TriggerTowers.
Definition: JemTobRoiByteStreamAuxCnv.h:37
LVL1BS::JemTobRoiByteStreamAuxCnv::m_name
std::string m_name
Converter name.
Definition: JemTobRoiByteStreamAuxCnv.h:57
IByteStreamEventAccess
interface for accessing raw data .
Definition: IByteStreamEventAccess.h:17
LVL1BS::JemTobRoiByteStreamAuxCnv::m_readTool
ToolHandle< JepRoiByteStreamV2Tool > m_readTool
Do the main job - retrieve objects from robs.
Definition: JemTobRoiByteStreamAuxCnv.h:60
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:25
LVL1BS::JemTobRoiByteStreamAuxCnv::storageType
static long storageType()
Definition: JemTobRoiByteStreamAuxCnv.cxx:66
LVL1BS::JemTobRoiByteStreamAuxCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: JemTobRoiByteStreamAuxCnv.cxx:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LVL1BS::JemTobRoiByteStreamAuxCnv::initialize
virtual StatusCode initialize()
Definition: JemTobRoiByteStreamAuxCnv.cxx:73
Converter
Definition: Converter.h:27
AthMessaging.h
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::JemTobRoiByteStreamAuxCnv::~JemTobRoiByteStreamAuxCnv
virtual ~JemTobRoiByteStreamAuxCnv()
Definition: JemTobRoiByteStreamAuxCnv.h:42
LVL1BS::JemTobRoiByteStreamAuxCnv::classID
static const CLID & classID()
Definition: JemTobRoiByteStreamAuxCnv.cxx:62
LVL1BS::JemTobRoiByteStreamAuxCnv::repSvcType
virtual long repSvcType() const
Definition: JemTobRoiByteStreamAuxCnv.h:51
LVL1BS::JemTobRoiByteStreamAuxCnv::JemTobRoiByteStreamAuxCnv
JemTobRoiByteStreamAuxCnv(ISvcLocator *svcloc)
Definition: JemTobRoiByteStreamAuxCnv.cxx:54