ATLAS Offline Software
CmxCpHitsByteStreamxAODCnv.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_CMXCPHITSBYTESTREAMXAODCNV_H
6 #define TRIGT1CALOBYTESTREAM_CMXCPHITSBYTESTREAMXAODCNV_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;
20 class ISvcLocator;
21 class StatusCode;
22 
23 template <typename> class CnvFactory;
24 class StoreGateSvc;
25 
26 namespace LVL1BS {
33 
34 public:
35  CmxCpHitsByteStreamxAODCnv(ISvcLocator* svcloc);
36 
38 
39  virtual StatusCode initialize();
41  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
43  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
44 
45  // Storage type and class ID
46  virtual long repSvcType() const { return i_repSvcType(); }
47  static long storageType();
48 
49  static const CLID& classID();
50 
51 private:
53  std::string m_name;
54 };
55 
56 } // end namespace
57 
58 #endif
LVL1BS::CmxCpHitsByteStreamxAODCnv::classID
static const CLID & classID()
Definition: CmxCpHitsByteStreamxAODCnv.cxx:43
LVL1BS::CmxCpHitsByteStreamxAODCnv::CmxCpHitsByteStreamxAODCnv
CmxCpHitsByteStreamxAODCnv(ISvcLocator *svcloc)
Definition: CmxCpHitsByteStreamxAODCnv.cxx:33
LVL1BS::CmxCpHitsByteStreamxAODCnv::repSvcType
virtual long repSvcType() const
Definition: CmxCpHitsByteStreamxAODCnv.h:46
LVL1BS::CmxCpHitsByteStreamxAODCnv::initialize
virtual StatusCode initialize()
Definition: CmxCpHitsByteStreamxAODCnv.cxx:55
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1BS::CmxCpHitsByteStreamxAODCnv::m_name
std::string m_name
Converter name.
Definition: CmxCpHitsByteStreamxAODCnv.h:53
LVL1BS::CmxCpHitsByteStreamxAODCnv::~CmxCpHitsByteStreamxAODCnv
virtual ~CmxCpHitsByteStreamxAODCnv()
Definition: CmxCpHitsByteStreamxAODCnv.h:37
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
LVL1BS::CmxCpHitsByteStreamxAODCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: CmxCpHitsByteStreamxAODCnv.cxx:64
AthMessaging.h
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::CmxCpHitsByteStreamxAODCnv
ByteStream converter for CmxTob.
Definition: CmxCpHitsByteStreamxAODCnv.h:32
LVL1BS::CmxCpHitsByteStreamxAODCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: CmxCpHitsByteStreamxAODCnv.cxx:95
LVL1BS::CmxCpHitsByteStreamxAODCnv::storageType
static long storageType()
Definition: CmxCpHitsByteStreamxAODCnv.cxx:47