7#include "CoralBase/AttributeListSpecification.h"
45 std::map<L1CaloEnergyScanResultsContainer::eCoolFolders, std::string>::const_iterator it =
m_mCoolFoldersKeysMap.find(efolder);
49 return std::string(
"");
54 std::vector<std::string> v;
69 if(!attrSpecification->size())
return NULL;
75 for(; pos!=
end; ++pos) {
76 const unsigned int channelId = pos->first;
90 attrListCollection->
add(channelId, attrList);
93 return attrListCollection;
100 std::map<std::string, const CondAttrListCollection*>::const_iterator
103 if(it_map!=condAttrListCollectionMap.end()) {
110 for(; pos!=
end; ++pos) {
112 const coral::AttributeList& attrList = pos->second;
129 std::cout <<
"L1CaloEnergyScanResultsContainer : Could not find requested CondAttrListCollection "
137 else return &(pos->second);
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.
ChanFitErrorCode stores information about the calibration fit quality.
This class is a collection of AttributeLists where each one is associated with a channel number.
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.
std::map< L1CaloEnergyScanResultsContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
std::string coolFolderKey(L1CaloEnergyScanResultsContainer::eCoolFolders efolder) const
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
void addEnergyScanResults(unsigned int channelId, const L1CaloEnergyScanResults &energyScanResults)
L1CaloEnergyScanResultsContainer()
virtual std::string coolOutputKey() const
const L1CaloEnergyScanResults * energyScanResults(unsigned int channelId) const
const_iterator end() const
virtual std::vector< std::string > coolInputKeys() const
L1CaloEnergyScanResultsMap m_mEnergyScanResultsMap
virtual DataObject * makePersistent() const
Class that holds transient information about the calibration for trigger towers.
double chi2(TH1 *h0, TH1 *h1)