7#include "CoralBase/AttributeListSpecification.h"
46 std::map<L1CaloPprLutContainer::eCoolFolders, std::string>::const_iterator it =
m_mCoolFoldersKeysMap.find(efolder);
50 return std::string(
"");
55 std::vector<std::string> v;
70 if(!attrSpecification->size())
return NULL;
74 L1CaloPprLutMap::const_iterator pos =
m_mPprLutMap.begin();
76 const unsigned int channelId = pos->first;
90 attrListCollection->
add(channelId, attrList);
93 return attrListCollection;
100 std::map<std::string, const CondAttrListCollection*>::const_iterator it_map;
103 if(it_map!=condAttrListCollectionMap.end()) {
109 for(;it!=attrListCollection->
end();++it) {
111 const coral::AttributeList& attrList = it->second;
125 L1CaloPprLut l1caloPptLut(chanNum, lutStrategy, lutOffset, lutSlope, lutNoiseCut, lutParameters, pedValue, pedMean, errorCode);
134 L1CaloPprLutMap::const_iterator pos =
m_mPprLutMap.find(channelId);
136 else return &(pos->second);
140 return this->
pprLut(channelId.
id());
153 for(;it!=this->
end();++it) {
154 std::cout <<
" * item: " <<it->first <<
" => "<<it->second <<std::endl;
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
char data[hepevt_bytes_allocation_ATLAS]
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.
ChanCalibErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanE...
This class is a collection of AttributeLists where each one is associated with a channel number.
const_iterator end() const
bool add(ChanNum chanNum, const AttributeList &attributeList)
Adding in chan/attrList pairs.
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
ChanAttrListMap::const_iterator const_iterator
Encapsulates the ID of one channel of conditions data in COOL, ie the ID of a row in a table.
L1CaloPprLutMap m_mPprLutMap
L1CaloPprLutMap::const_iterator end() const
L1CaloPprLutMap::const_iterator begin() const
std::map< unsignedint, L1CaloPprLut >::const_iterator const_iterator
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
virtual DataObject * makePersistent() const
const L1CaloPprLut * pprLut(unsigned int channelId) const
void addPprLut(unsigned int channelId, const L1CaloPprLut &pprLut)
virtual std::vector< std::string > coolInputKeys() const
virtual std::string coolOutputKey() const
std::string coolFolderKey(L1CaloPprLutContainer::eCoolFolders efolder) const
std::map< L1CaloPprLutContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
Transient class defining the PPM lookup table objects.