 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "eformat/SourceIdentifier.h"
20 const IInterface*
parent) :
34 return StatusCode::SUCCESS;
41 return StatusCode::SUCCESS;
55 std::map<uint32_t, std::vector<const SCT_RDORawData*>> rdoMap;
60 std::vector<std::uint32_t> listOfAllRODs;
66 for (
const auto* itkStripsRawColl : *itkStripsRDOCont) {
67 if (itkStripsRawColl ==
nullptr) {
72 Identifier idColl{itkStripsRawColl->identify()};
75 if (robid == 0)
continue;
77 eformat::helper::SourceIdentifier srcIDROB{robid};
78 eformat::helper::SourceIdentifier srcIDROD{srcIDROB.subdetector_id(), srcIDROB.module_id()};
81 for (
const auto* rdo : *itkStripsRawColl) {
83 rdoMap[rodid].push_back(rdo);
89 for (
const auto& rodToRDOs : rdoMap) {
91 m_encoder->fillROD(*
rod, rodToRDOs.first, rodToRDOs.second);
93 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
::StatusCode StatusCode
StatusCode definition for legacy code.
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
void setRodMinorVersion(uint16_t m)
change the ROD minor version
#define ATH_MSG_WARNING(x)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
RODDATA * getRodData(uint32_t id)
get a block of ROD data