9 #include "CoralBase/AttributeListSpecification.h"
14 #include "nlohmann/json.hpp"
15 #include "CoralBase/Blob.h"
87 if(!attrSpecification || !attrSpecification->size())
return nullptr;
89 auto attrListCollection = std::make_unique<CondAttrListCollection>(
true);
148 attrListCollection->add(
item.channelId(), attrList);
150 return static_cast<DataObject*
>(attrListCollection.release());
158 if (condAttrListCollectionMap.empty())
return;
159 auto it = condAttrListCollectionMap.rbegin();
163 auto attrListCollection =
it->second;
164 for(
const auto& [
chanNum, attrListAux] : *attrListCollection) {
167 std::string
s((
char*)
blob.startingAddress(),
blob.size());
230 addReadoutConfigJSON(
L1CaloReadoutConfigJSON(
chanNum, baselinePointer, numFadcSlices, l1aFadcSlice, numLutSlices, l1aLutSlice, numProcSlices, l1aProcSlice, numTopoSlices, l1aTopoSlice, numFexSlices, l1aFexSlice, latencyPpmFadc, latencyPpmLut, latencyCpmInput, latencyCpmHits, latencyCpmRoi, latencyJemInput, latencyJemRoi, latencyCpCmxBackplane, latencyCpCmxLocal, latencyCpCmxCable, latencyCpCmxSystem, latencyCpCmxInfo, latencyJetCmxBackplane, latencyJetCmxLocal, latencyJetCmxCable, latencyJetCmxSystem, latencyJetCmxInfo, latencyJetCmxRoi, latencyEnergyCmxBackplane, latencyEnergyCmxLocal, latencyEnergyCmxCable, latencyEnergyCmxSystem, latencyEnergyCmxInfo, latencyEnergyCmxRoi, latencyTopo, internalLatencyJemJet, internalLatencyJemSum, bcOffsetJemJet, bcOffsetJemSum, bcOffsetCmx, bcOffsetTopo, formatTypePpm, formatTypeCpJep, formatTypeTopo, compressionThresholdPpm, compressionThresholdCpJep, compressionThresholdTopo, compressionBaselinePpm, readout80ModePpm, inputReadoutModeFex, readoutOffsetEfex, readoutOffsetGfex, readoutOffsetJfex, readoutOffsetPh1Topo));
232 catch(
const std::exception&
e) { std::cout <<
"ERROR - Caught exception during creation of AthenaAttributeList object from ReadoutConfigJSON " <<
e.what() <<std::endl; }
243 return el.channelId() <
val;
256 return el.channelId() < va;