Container of L1CaloEnergyScanResults objects, inherit from the abstract base class AbstractL1CaloConditionContainer.
More...
#include <L1CaloEnergyScanResultsContainer.h>
◆ AttrSpecificationMap
◆ const_iterator
◆ L1CaloEnergyScanResultsMap
◆ eAttrSpecification
◆ eCoolFolders
◆ L1CaloEnergyScanResultsContainer() [1/2]
| L1CaloEnergyScanResultsContainer::L1CaloEnergyScanResultsContainer |
( |
| ) |
|
Definition at line 16 of file L1CaloEnergyScanResultsContainer.cxx.
17
25
27}
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
std::map< L1CaloEnergyScanResultsContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
◆ L1CaloEnergyScanResultsContainer() [2/2]
◆ ~L1CaloEnergyScanResultsContainer()
| virtual L1CaloEnergyScanResultsContainer::~L1CaloEnergyScanResultsContainer |
( |
| ) |
|
|
inlinevirtual |
◆ addEnergyScanResults() [1/2]
Definition at line 148 of file L1CaloEnergyScanResultsContainer.cxx.
148 {
150}
void addEnergyScanResults(unsigned int channelId, const L1CaloEnergyScanResults &energyScanResults)
const L1CaloEnergyScanResults * energyScanResults(unsigned int channelId) const
◆ addEnergyScanResults() [2/2]
| void L1CaloEnergyScanResultsContainer::addEnergyScanResults |
( |
unsigned int | channelId, |
|
|
const L1CaloEnergyScanResults & | energyScanResults ) |
◆ addSpecification()
| void AbstractL1CaloPersistentCondition::addSpecification |
( |
int | specId, |
|
|
const std::string & | specName, |
|
|
const std::string & | specType ) |
|
inherited |
◆ begin()
◆ clear()
| void L1CaloEnergyScanResultsContainer::clear |
( |
| ) |
|
|
virtual |
◆ conditionType()
| virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolFolderKey()
◆ coolInputKeys()
| std::vector< std::string > L1CaloEnergyScanResultsContainer::coolInputKeys |
( |
| ) |
const |
|
virtual |
◆ coolOutputKey()
| std::string L1CaloEnergyScanResultsContainer::coolOutputKey |
( |
| ) |
const |
|
virtual |
◆ createAttributeListSpecification()
| coral::AttributeListSpecification * AbstractL1CaloPersistentCondition::createAttributeListSpecification |
( |
| ) |
const |
|
inherited |
Definition at line 31 of file AbstractL1CaloPersistentCondition.cxx.
31 {
32
33 coral::AttributeListSpecification* attrSpecification = new coral::AttributeListSpecification();
34
37
39 attrSpecification->extend(it_name->second, it_type->second);
40 }
41 return attrSpecification;
42}
◆ end()
◆ energyScanResults() [1/2]
◆ energyScanResults() [2/2]
| const L1CaloEnergyScanResults * L1CaloEnergyScanResultsContainer::energyScanResults |
( |
unsigned int | channelId | ) |
const |
◆ makePersistent()
| DataObject * L1CaloEnergyScanResultsContainer::makePersistent |
( |
| ) |
const |
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 63 of file L1CaloEnergyScanResultsContainer.cxx.
63 {
65
66
67
69 if(!attrSpecification->size()) return NULL;
70
71 CondAttrListCollection* attrListCollection = new CondAttrListCollection(true);
72
77 const L1CaloEnergyScanResults&
p =
pos->second;
78
79 AthenaAttributeList attrList(*attrSpecification);
80
81
89
90 attrListCollection->
add(channelId, attrList);
91 }
92
93 return attrListCollection;
94}
std::string specificationName(int specId) const
coral::AttributeListSpecification * createAttributeListSpecification() const
bool add(ChanNum chanNum, const AttributeList &attributeList)
Adding in chan/attrList pairs.
const_iterator end() const
◆ makeTransient() [1/2]
| void AbstractL1CaloPersistentCondition::makeTransient |
( |
const std::map< std::string, const AthenaAttributeList * > & | condAttributeList | ) |
|
|
virtual |
◆ makeTransient() [2/2]
| void L1CaloEnergyScanResultsContainer::makeTransient |
( |
const std::map< std::string, const CondAttrListCollection * > & | condAttrListCollectionMap | ) |
|
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 96 of file L1CaloEnergyScanResultsContainer.cxx.
96 {
97
99
100 std::map<std::string, const CondAttrListCollection*>::const_iterator
102
103 if(it_map!=condAttrListCollectionMap.end()) {
104
105 const CondAttrListCollection* attrListCollection = it_map->second;
106
107
111
112 const coral::AttributeList& attrList =
pos->second;
113
114
116
124
125 L1CaloEnergyScanResults l1CaloEnergyScanResults(chanNum, offset, slope,
chi2, ndf, blob, blobStrategy, errorCode);
127 }
128 } else {
129 std::cout << "L1CaloEnergyScanResultsContainer : Could not find requested CondAttrListCollection "
131 }
132}
char data[hepevt_bytes_allocation_ATLAS]
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
ChanAttrListMap::const_iterator const_iterator
double chi2(TH1 *h0, TH1 *h1)
◆ specificationName()
| std::string AbstractL1CaloPersistentCondition::specificationName |
( |
int | specId | ) |
const |
|
inherited |
◆ specificationType()
| std::string AbstractL1CaloPersistentCondition::specificationType |
( |
int | specId | ) |
const |
|
inherited |
◆ m_attrSpecificationNameMap
◆ m_attrSpecificationTypeMap
◆ m_mCoolFoldersKeysMap
◆ m_mEnergyScanResultsMap
◆ m_strConditionType
| std::string AbstractL1CaloPersistentCondition::m_strConditionType |
|
privateinherited |
The documentation for this class was generated from the following files: