ATLAS Offline Software
LUCID_DigitByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // *************************************************************************
6 //
7 // This package is unashameless based on the same
8 // a equivalent package for the BCM.
9 //
10 // *************************************************************************
11 
12 #ifndef LUCID_DIGITBYTESTREAMCNV_H
13 #define LUCID_DIGITBYTESTREAMCNV_H
14 
15 #include "GaudiKernel/Converter.h"
16 #include "GaudiKernel/ServiceHandle.h"
18 #include "ByteStreamData/RawEvent.h" //for RawEventWrite typedef
19 #include "GaudiKernel/StatusCode.h"
23 
24 class DataObject;
25 class StoreGateSvc;
27 
29 
30  public:
31 
32  LUCID_DigitByteStreamCnv(ISvcLocator* svcloc);
33 
34  virtual StatusCode initialize() override;
35 
36  // create the RawEvent fragments for LUCID
37  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr) override;
38 
39  virtual long repSvcType() const override { return i_repSvcType(); }
40  static long storageType();
41  static const CLID& classID();
42 
44 
45  unsigned short RodBlockVersion(void) { return m_RodBlockVersion; }
46  int BCs_per_LVL1ID (void) { return m_BCs_per_LVL1ID; }
47 
48  unsigned int getSourceID() { return 0x00820000; }
49 
50 private:
51 
53 
55  unsigned short m_RodBlockVersion;
57 };
58 #endif
LUCID_DigitByteStreamCnv::m_fea
FullEventAssembler< SrcIdMap > m_fea
Definition: LUCID_DigitByteStreamCnv.h:54
RawEventWrite
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition: RawEvent.h:39
LUCID_DigitByteStreamCnv::repSvcType
virtual long repSvcType() const override
Definition: LUCID_DigitByteStreamCnv.h:39
FullEventAssembler< SrcIdMap >
LUCID_DigitContainer
Definition: LUCID_DigitContainer.h:13
LUCID_DigitByteStreamCnv::LUCID_DigitByteStreamCnv
LUCID_DigitByteStreamCnv(ISvcLocator *svcloc)
Definition: LUCID_DigitByteStreamCnv.cxx:19
LUCID_DigitByteStreamCnv::m_ByteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Definition: LUCID_DigitByteStreamCnv.h:52
LUCID_DigitByteStreamCnv::fillFEA
StatusCode fillFEA(LUCID_DigitContainer *RDO_container, RawEventWrite *re)
Definition: LUCID_DigitByteStreamCnv.cxx:78
LUCID_DigitByteStreamCnv
Definition: LUCID_DigitByteStreamCnv.h:28
IByteStreamEventAccess.h
SrcIdMap.h
LUCID_DigitByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: LUCID_DigitByteStreamCnv.cxx:29
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LUCID_DigitByteStreamCnv::RodBlockVersion
unsigned short RodBlockVersion(void)
Definition: LUCID_DigitByteStreamCnv.h:45
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LUCID_DigitByteStreamCnv::m_BCs_per_LVL1ID
int m_BCs_per_LVL1ID
Definition: LUCID_DigitByteStreamCnv.h:56
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LUCID_DigitByteStreamCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Definition: LUCID_DigitByteStreamCnv.cxx:47
FullEventAssembler.h
Converter
Definition: Converter.h:27
LUCID_DigitByteStreamCnv::getSourceID
unsigned int getSourceID()
Definition: LUCID_DigitByteStreamCnv.h:48
LUCID_DigitByteStreamCnv::m_RodBlockVersion
unsigned short m_RodBlockVersion
Definition: LUCID_DigitByteStreamCnv.h:55
re
const boost::regex re(r_e)
AthMessaging.h
LUCID_DigitByteStreamCnv::storageType
static long storageType()
Definition: LUCID_DigitByteStreamCnv.cxx:42
LUCID_DigitByteStreamCnv::classID
static const CLID & classID()
Definition: LUCID_DigitByteStreamCnv.cxx:37
LUCID_DigitByteStreamCnv::BCs_per_LVL1ID
int BCs_per_LVL1ID(void)
Definition: LUCID_DigitByteStreamCnv.h:46
ServiceHandle< IByteStreamEventAccess >