ATLAS Offline Software
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 
18 class DataObject;
19 class IOpaqueAddress;
21 class ISvcLocator;
22 class StatusCode;
23 
24 template <typename> class CnvFactory;
25 
26 
27 
28 namespace LVL1BS {
29 class L1CaloByteStreamReadTool;
30 
36 template<typename ContainerT, typename AuxContainerT>
38 
39 public:
40  L1CaloByteStreamAuxCnv(ISvcLocator* svcloc);
41 
43 
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 
56 private:
57 
59  std::string m_name;
60 
62  ToolHandle<L1CaloByteStreamReadTool> m_readTool;
63 };
64 
65 
66 
67 } // end namespace
68 
70 
71 #endif
LVL1BS::L1CaloByteStreamAuxCnv
ByteStream converter for Pre-processor Module DAQ data / TriggerTowers.
Definition: L1CaloByteStreamAuxCnv.h:37
LVL1BS::L1CaloByteStreamAuxCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
LVL1BS::L1CaloByteStreamAuxCnv::initialize
virtual StatusCode initialize()
LVL1BS::L1CaloByteStreamAuxCnv::classID
static const CLID & classID()
LVL1BS::L1CaloByteStreamAuxCnv::storageType
static long storageType()
LVL1BS::L1CaloByteStreamAuxCnv::~L1CaloByteStreamAuxCnv
virtual ~L1CaloByteStreamAuxCnv()
Definition: L1CaloByteStreamAuxCnv.h:42
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
LVL1BS::L1CaloByteStreamAuxCnv::m_readTool
ToolHandle< L1CaloByteStreamReadTool > m_readTool
Do the main job - retrieve xAOD TriggerTowers from robs.
Definition: L1CaloByteStreamAuxCnv.h:62
L1CaloByteStreamAuxCnv.icc
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
LVL1BS::L1CaloByteStreamAuxCnv::m_name
std::string m_name
Converter name.
Definition: L1CaloByteStreamAuxCnv.h:59
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Converter
Definition: Converter.h:27
LVL1BS::L1CaloByteStreamAuxCnv::repSvcType
virtual long repSvcType() const
Definition: L1CaloByteStreamAuxCnv.h:51
LVL1BS::L1CaloByteStreamAuxCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
AthMessaging.h
LVL1BS
Definition: ZdcModifySlices.h:10
LVL1BS::L1CaloByteStreamAuxCnv::L1CaloByteStreamAuxCnv
L1CaloByteStreamAuxCnv(ISvcLocator *svcloc)