|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "eformat/SourceIdentifier.h"
18 const IInterface*
parent) :
32 return StatusCode::SUCCESS;
39 return StatusCode::SUCCESS;
53 std::map<uint32_t, std::vector<const SCT_RDORawData*>> rdoMap;
58 std::vector<std::uint32_t> listOfAllRODs;
64 for (
const auto* itkStripsRawColl : *itkStripsRDOCont) {
65 if (itkStripsRawColl ==
nullptr) {
70 Identifier idColl{itkStripsRawColl->identify()};
73 if (robid == 0)
continue;
75 eformat::helper::SourceIdentifier srcIDROB{robid};
76 eformat::helper::SourceIdentifier srcIDROD{srcIDROB.subdetector_id(), srcIDROB.module_id()};
79 for (
const auto* rdo : *itkStripsRawColl) {
81 rdoMap[rodid].push_back(rdo);
87 for (
const auto& rodToRDOs : rdoMap) {
89 m_encoder->fillROD(*
rod, rodToRDOs.first, rodToRDOs.second);
91 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