ATLAS Offline Software
PpmByteStreamxAODCnv.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_PPMBYTESTREAMXAODCNV_H
6 #define TRIGT1CALOBYTESTREAM_PPMBYTESTREAMXAODCNV_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 class StoreGateSvc;
26 
27 
28 
29 
30 
31 
32 namespace LVL1BS {
33 
40 
41 public:
42  PpmByteStreamxAODCnv(ISvcLocator* svcloc);
43 
44  virtual ~PpmByteStreamxAODCnv(){};
45 
46  virtual StatusCode initialize();
48  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
50  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
51 
52  // Storage type and class ID
53  virtual long repSvcType() const { return i_repSvcType(); }
54  static long storageType();
55 
56  static const CLID& classID();
57 
58 private:
60  std::string m_name;
61 
62 };
63 
64 } // end namespace
65 
66 #endif
LVL1BS::PpmByteStreamxAODCnv::repSvcType
virtual long repSvcType() const
Definition: PpmByteStreamxAODCnv.h:53
LVL1BS::PpmByteStreamxAODCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: PpmByteStreamxAODCnv.cxx:65
LVL1BS::PpmByteStreamxAODCnv
ByteStream converter for Pre-processor Module DAQ data / TriggerTowers.
Definition: PpmByteStreamxAODCnv.h:39
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
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
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LVL1BS::PpmByteStreamxAODCnv::~PpmByteStreamxAODCnv
virtual ~PpmByteStreamxAODCnv()
Definition: PpmByteStreamxAODCnv.h:44
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
LVL1BS::PpmByteStreamxAODCnv::classID
static const CLID & classID()
Definition: PpmByteStreamxAODCnv.cxx:44
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Converter
Definition: Converter.h:27
LVL1BS::PpmByteStreamxAODCnv::m_name
std::string m_name
Converter name.
Definition: PpmByteStreamxAODCnv.h:60
LVL1BS::PpmByteStreamxAODCnv::storageType
static long storageType()
Definition: PpmByteStreamxAODCnv.cxx:48
AthMessaging.h
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::PpmByteStreamxAODCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: PpmByteStreamxAODCnv.cxx:96
LVL1BS::PpmByteStreamxAODCnv::PpmByteStreamxAODCnv
PpmByteStreamxAODCnv(ISvcLocator *svcloc)
Definition: PpmByteStreamxAODCnv.cxx:34
LVL1BS::PpmByteStreamxAODCnv::initialize
virtual StatusCode initialize()
Definition: PpmByteStreamxAODCnv.cxx:56