ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloByteStreamAuxCnv.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_L1CALOBYTESTREAMXAODCNV_H
6#define TRIGT1CALOBYTESTREAM_L1CALOBYTESTREAMXAODCNV_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 {
29class L1CaloByteStreamReadTool;
30
35
36template<typename ContainerT, typename AuxContainerT>
38
39public:
40 L1CaloByteStreamAuxCnv(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
56private:
57
59 std::string m_name;
60
62 ToolHandle<L1CaloByteStreamReadTool> m_readTool;
63};
64
65
66
67} // end namespace
68
70
71#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.
virtual StatusCode initialize()
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
std::string m_name
Converter name.
L1CaloByteStreamAuxCnv(ISvcLocator *svcloc)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
ToolHandle< L1CaloByteStreamReadTool > m_readTool
Do the main job - retrieve xAOD TriggerTowers from robs.
static const CLID & classID()