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);
103 LucidRodEncoder_map::iterator it_map = RDOEncoder_map.begin();
104 LucidRodEncoder_map::iterator it_map_end = RDOEncoder_map.end();
106 for (; it_map != it_map_end; ++it_map) {
110 theROD =
m_fea.getRodData((*it_map).first);
112 ((*it_map).second).encode(*theROD, cache,
msg());
114 (*theROD).push_back(0);
125 return StatusCode::SUCCESS;
const boost::regex re(r_e)
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
uint32_t CLID
The Class ID type.
std::map< uint32_t, LUCID_RodEncoder > LucidRodEncoder_map
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
MsgStream & msg() const
The standard message stream.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
std::vector< uint32_t > RODDATA
ROD data as a vector of unsigned int.
unsigned int getSourceID()
virtual StatusCode initialize() override
static long storageType()
FullEventAssembler< SrcIdMap > m_fea
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
LUCID_DigitByteStreamCnv(ISvcLocator *svcloc)
static const CLID & classID()
StatusCode fillFEA(LUCID_DigitContainer *RDO_container, RawEventWrite *re)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
unsigned short m_RodBlockVersion
unsigned short RodBlockVersion(void)
void encodeLumatMapping(void)
std::vector< uint32_t > getDataBlock() const
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)