ATLAS Offline Software
Loading...
Searching...
No Matches
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
24class DataObject;
25class 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
43 StatusCode fillFEA(LUCID_DigitContainer* RDO_container, RawEventWrite* re);
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
50private:
51
53
55 unsigned short m_RodBlockVersion;
57};
58#endif
const boost::regex re(r_e)
uint32_t CLID
The Class ID type.
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition RawEvent.h:39
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Template class for assembling a full atlas raw event from subfragments.
virtual StatusCode initialize() override
FullEventAssembler< SrcIdMap > m_fea
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
LUCID_DigitByteStreamCnv(ISvcLocator *svcloc)
virtual long repSvcType() const override
StatusCode fillFEA(LUCID_DigitContainer *RDO_container, RawEventWrite *re)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
unsigned short RodBlockVersion(void)
The Athena Transient Store API.