9#include "eformat/SourceIdentifier.h"
19 const IInterface* parent) :
20 base_class(
type, name, parent)
37 return StatusCode::SUCCESS;
44 return StatusCode::SUCCESS;
61 std::map<uint32_t, std::vector<const SCT_RDORawData*>> rdoMap;
66 std::vector<std::uint32_t> listOfAllRODs;
68 for (std::uint32_t rod : listOfAllRODs) {
74 if (sctRawColl ==
nullptr) {
82 uint32_t robid{
m_cabling->getRobIdFromHash(idCollHash)};
84 if (robid == 0)
continue;
87 eformat::helper::SourceIdentifier srcIDROB{robid};
88 eformat::helper::SourceIdentifier srcIDROD{srcIDROB.subdetector_id(), srcIDROB.module_id()};
89 uint32_t rodid{srcIDROD.code()};
94 rdoMap[rodid].push_back(rdo);
100 for (
const auto& rodToRDOs : rdoMap) {
101 rod = fullEventAssembler->
getRodData(rodToRDOs.first);
102 m_encoder->fillROD(*rod, rodToRDOs.first, rodToRDOs.second);
105 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
This is an Identifier helper class for the SCT subdetector.
InDetRawDataContainer< InDetRawDataCollection< SCT_RDORawData > > SCT_RDO_Container
Template class for assembling a full atlas raw event from subfragments.
void setRodMinorVersion(uint16_t m)
change the ROD minor version
std::vector< uint32_t > RODDATA
ROD data as a vector of unsigned int.
RODDATA * getRodData(uint32_t id)
get a block of ROD data
This is a "hash" representation of an Identifier.