|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CoralBase/AttributeListSpecification.h"
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) {
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;
unsigned int channelId() const
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Conditions/DerivedRunPars .
void addSpecification(int specId, const std::string &specName, const std::string &specType)
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &)
void addDerivedRunPars(const L1CaloDerivedRunPars &derivedRunPars)
const L1CaloDerivedRunPars * derivedRunPars(unsigned int channelId) const
coral::AttributeListSpecification * createAttributeListSpecification() const
virtual DataObject * makePersistent() const
const_iterator begin() const
L1CaloDerivedRunParsContainer()
std::vector< L1CaloDerivedRunPars > m_derivedRunParss
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
std::string specificationName(int specId) const
std::vector< L1CaloDerivedRunPars >::const_iterator const_iterator
std::string m_coolFolderKey
const_iterator end() const
AbstractL1CaloConditionContainer abstract base class for L1Calo persistent conditions container objec...