ATLAS Offline Software
Loading...
Searching...
No Matches
PpmByteStreamAuxCnv.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_PPMBYTESTREAMAUXCNV_H
6#define TRIGT1CALOBYTESTREAM_PPMBYTESTREAMAUXCNV_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;
20class ISvcLocator;
21class StatusCode;
22
23template <typename> class CnvFactory;
24
25
26
28
29namespace LVL1BS {
31
36
38
39public:
40 PpmByteStreamAuxCnv(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();
55private:
56
57private:
58
60 std::string m_name;
61
63 ToolHandle<PpmByteStreamReadV1V2Tool> m_readTool;
64 ToolHandle<ZdcByteStreamReadV1V2Tool> m_zdcTool;
65};
66
67
68
69} // end namespace
70#endif // not TRIGT1CALOBYTESTREAM_PPMBYTESTREAMAUXCNV_H
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Abstract factory to create the converter.
virtual long repSvcType() const
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
ToolHandle< ZdcByteStreamReadV1V2Tool > m_zdcTool
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
std::string m_name
Converter name.
ToolHandle< PpmByteStreamReadV1V2Tool > m_readTool
Do the main job - retrieve xAOD TriggerTowers from robs.
PpmByteStreamAuxCnv(ISvcLocator *svcloc)
Tool to perform ROB fragments to trigger towers and trigger towers to raw data conversions.