9#include "CoralBase/AttributeListSpecification.h"
32 using std::make_unique;
37 if(!attrSpecification || !attrSpecification->size())
return nullptr;
39 auto attrListCollection = make_unique<CondAttrListCollection>(
true);
45 attrListCollection->add(item.channelId(), attrList);
47 return static_cast<DataObject*
>(attrListCollection.release());
55 if(it == std::end(condAttrListCollectionMap))
return;
57 auto attrListCollection = it->second;
58 for(
const auto& item : *attrListCollection) {
59 auto chanNum = item.first;
60 const auto& attrList = item.second;
75 return el.channelId() < val;
88 return el.channelId() < va;
96 for(;it!=this->
end();++it) {
97 std::cout <<
" * item: " << *it <<std::endl;
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
std::string specificationName(int specId) const
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
coral::AttributeListSpecification * createAttributeListSpecification() const
An AttributeList represents a logical row of attributes in a metadata table.
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &)
L1CaloDerivedRunParsContainer()
std::string m_coolFolderKey
const L1CaloDerivedRunPars * derivedRunPars(unsigned int channelId) const
const_iterator begin() const
void addDerivedRunPars(const L1CaloDerivedRunPars &derivedRunPars)
std::vector< L1CaloDerivedRunPars > m_derivedRunParss
std::vector< L1CaloDerivedRunPars >::const_iterator const_iterator
virtual DataObject * makePersistent() const
const_iterator end() const
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Conditions/DerivedRunPars .