9#include "CoralBase/AttributeListSpecification.h"
34 using std::make_unique;
39 if(!attrSpecification || !attrSpecification->size())
return nullptr;
41 auto attrListCollection = make_unique<CondAttrListCollection>(
true);
49 attrListCollection->add(item.channelId(), attrList);
51 return static_cast<DataObject*
>(attrListCollection.release());
59 if(it == std::end(condAttrListCollectionMap))
return;
61 auto attrListCollection = it->second;
62 for(
const auto& item : *attrListCollection) {
63 auto chanNum = item.first;
64 const auto& attrList = item.second;
81 return el.channelId() < val;
94 return el.channelId() < va;
101 for(;it!=this->
end();++it) {
102 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.
std::string m_coolFolderKey
virtual DataObject * makePersistent() const
L1CaloPprChanStrategyContainer()
void addPprChanStrategy(const L1CaloPprChanStrategy &pprChanStrategy)
const_iterator begin() const
std::vector< L1CaloPprChanStrategy >::const_iterator const_iterator
const L1CaloPprChanStrategy * pprChanStrategy(unsigned int channelId) const
std::vector< L1CaloPprChanStrategy > m_pprChanStrategys
const_iterator end() const
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &)
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Configuration/PprChanStrategy .
std::string description
glabal timer - how long have I taken so far?