ATLAS Offline Software
CmxCpHitsByteStreamAuxCnv.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_CMXCPHITSBYTESTREAMAUXCNV_H
6 #define TRIGT1CALOBYTESTREAM_CMXCPHITSBYTESTREAMAUXCNV_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 CpByteStreamV2Tool;
30 
37 
38 public:
39  CmxCpHitsByteStreamAuxCnv(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();
54 private:
56  std::string m_name;
57 
59  ToolHandle<CpByteStreamV2Tool> m_readTool;
60 };
61 
62 
63 
64 } // end namespace
65 #endif
LVL1BS::CmxCpHitsByteStreamAuxCnv::m_name
std::string m_name
Converter name.
Definition: CmxCpHitsByteStreamAuxCnv.h:56
LVL1BS::CmxCpHitsByteStreamAuxCnv
ByteStream converter for Pre-processor Module DAQ data / TriggerTowers.
Definition: CmxCpHitsByteStreamAuxCnv.h:36
LVL1BS::CmxCpHitsByteStreamAuxCnv::initialize
virtual StatusCode initialize()
Definition: CmxCpHitsByteStreamAuxCnv.cxx:72
LVL1BS::CmxCpHitsByteStreamAuxCnv::CmxCpHitsByteStreamAuxCnv
CmxCpHitsByteStreamAuxCnv(ISvcLocator *svcloc)
Definition: CmxCpHitsByteStreamAuxCnv.cxx:53
LVL1BS::CmxCpHitsByteStreamAuxCnv::repSvcType
virtual long repSvcType() const
Definition: CmxCpHitsByteStreamAuxCnv.h:50
LVL1BS::CmxCpHitsByteStreamAuxCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: CmxCpHitsByteStreamAuxCnv.cxx:82
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
LVL1BS::CmxCpHitsByteStreamAuxCnv::storageType
static long storageType()
Definition: CmxCpHitsByteStreamAuxCnv.cxx:65
LVL1BS::CmxCpHitsByteStreamAuxCnv::classID
static const CLID & classID()
Definition: CmxCpHitsByteStreamAuxCnv.cxx:61
LVL1BS::CmxCpHitsByteStreamAuxCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: CmxCpHitsByteStreamAuxCnv.cxx:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1BS::CmxCpHitsByteStreamAuxCnv::~CmxCpHitsByteStreamAuxCnv
virtual ~CmxCpHitsByteStreamAuxCnv()
Definition: CmxCpHitsByteStreamAuxCnv.h:41
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
Converter
Definition: Converter.h:27
AthMessaging.h
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::CmxCpHitsByteStreamAuxCnv::m_readTool
ToolHandle< CpByteStreamV2Tool > m_readTool
Do the main job - retrieve xAOD TriggerTowers from robs.
Definition: CmxCpHitsByteStreamAuxCnv.h:59