ATLAS Offline Software
Loading...
Searching...
No Matches
CpmTobRoiByteStreamAuxCnv.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_CMXTOBROIBYTESTREAMAUXCNV_H
6#define TRIGT1CALOBYTESTREAM_CMXTOBROIBYTESTREAMAUXCNV_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
18class DataObject;
19class IOpaqueAddress;
21class ISvcLocator;
22class StatusCode;
23
24template <typename> class CnvFactory;
25
26
27
28namespace LVL1BS {
30
35
37
38public:
39 CpmTobRoiByteStreamAuxCnv(ISvcLocator* svcloc);
40
42
43 virtual StatusCode initialize();
45 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
47 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
48
49 // Storage type and class ID
50 virtual long repSvcType() const { return i_repSvcType(); }
51 static long storageType();
52
53 static const CLID& classID();
54private:
56 std::string m_name;
57
59 ToolHandle<CpmRoiByteStreamV2Tool> m_readTool;
60};
61
62
63
64} // end namespace
65#endif
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Abstract factory to create the converter.
Interface class for managing ROB for both online and offline.
Tool to perform ROB fragments to CPM TOB RoI and CPM TOB RoI to raw data conversions.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
ToolHandle< CpmRoiByteStreamV2Tool > m_readTool
Do the main job - retrieve objects from robs.