|
ATLAS Offline Software
|
Go to the documentation of this file.
20 Converter(storageType(), classID(), svcloc),
22 m_ByteStreamEventAccess(
"ByteStreamCnvSvc",
"LUCID_DigitByteStreamCnv"),
23 m_RodBlockVersion (0),
34 return StatusCode::SUCCESS;
57 return StatusCode::RECOVERABLE;
61 std::string
nm = pObj->registry()->name();
71 ATH_MSG_ERROR(
" Could not convert RawData with to ByteStream ");
72 return StatusCode::RECOVERABLE;
75 return StatusCode::SUCCESS;
92 for( ; it_cont != it_cont_end; ++it_cont) {
94 if ((*it_cont) !=
nullptr) {
98 RDOEncoder_map[rodId].addDigit((*it_cont),cache);
106 for (; it_map != it_map_end; ++it_map) {
112 ((*it_map).second).
encode(*theROD, cache,
msg());
114 (*theROD).push_back(0);
125 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
FullEventAssembler< SrcIdMap > m_fea
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Const iterator class for DataVector/DataList.
Template class for assembling a full atlas raw event from subfragments.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
LUCID_DigitByteStreamCnv(ISvcLocator *svcloc)
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
std::map< uint32_t, LUCID_RodEncoder > LucidRodEncoder_map
StatusCode fillFEA(LUCID_DigitContainer *RDO_container, RawEventWrite *re)
static const CLID & ID()
the CLID of T
virtual StatusCode initialize() override
void encodeLumatMapping(void)
number_type encode(double weight)
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
unsigned short RodBlockVersion(void)
Class to provide easy MsgStream access and capabilities.
uint32_t CLID
The Class ID type.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
MsgStream & msg() const
The standard message stream.
static constexpr long storageType()
void clear()
Clear internal stack.
unsigned int getSourceID()
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void setRodMinorVersion(uint16_t m)
change the ROD minor version
#define ATH_MSG_WARNING(x)
std::vector< uint32_t > getDataBlock() const
unsigned short m_RodBlockVersion
const boost::regex re(r_e)
static long storageType()
static const CLID & classID()
RODDATA * getRodData(uint32_t id)
get a block of ROD data
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
void fill(RawEventWrite *re, MsgStream &log)
Fill the FullEventFragment with all the ROD data stored in this.