Container of L1CaloHVCorrections objects, inherit from the abstract base class AbstractL1CaloConditionContainer.
More...
#include <L1CaloHVCorrectionsContainer.h>
Container of L1CaloHVCorrections objects, inherit from the abstract base class AbstractL1CaloConditionContainer.
Implement the IL1CaloPersistenceCapable interface.
- Author
- Peter Faulkner
Definition at line 28 of file L1CaloHVCorrectionsContainer.h.
◆ AttrSpecificationMap
◆ const_iterator
◆ L1CaloHVCorrectionsMap
◆ eAttrSpecification
Enumerator |
---|
eRxMean | |
eAffectedCells1 | |
eAffectedCells2 | |
eAffectedCells3 | |
eAffectedCells4 | |
eLayerMean1 | |
eLayerMean2 | |
eLayerMean3 | |
eLayerMean4 | |
Definition at line 32 of file L1CaloHVCorrectionsContainer.h.
◆ eCoolFolders
◆ L1CaloHVCorrectionsContainer() [1/2]
L1CaloHVCorrectionsContainer::L1CaloHVCorrectionsContainer |
( |
| ) |
|
◆ L1CaloHVCorrectionsContainer() [2/2]
◆ ~L1CaloHVCorrectionsContainer()
virtual L1CaloHVCorrectionsContainer::~L1CaloHVCorrectionsContainer |
( |
| ) |
|
|
inlinevirtual |
◆ addHVCorrections() [1/2]
◆ addHVCorrections() [2/2]
void L1CaloHVCorrectionsContainer::addHVCorrections |
( |
unsigned int |
channelId, |
|
|
L1CaloHVCorrections && |
hvCorrections |
|
) |
| |
◆ addSpecification()
void AbstractL1CaloPersistentCondition::addSpecification |
( |
int |
specId, |
|
|
const std::string & |
specName, |
|
|
const std::string & |
specType |
|
) |
| |
|
inherited |
◆ begin()
◆ clear()
void L1CaloHVCorrectionsContainer::clear |
( |
| ) |
|
|
virtual |
◆ conditionType()
virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolFolderKey()
◆ coolInputKeys()
std::vector< std::string > L1CaloHVCorrectionsContainer::coolInputKeys |
( |
| ) |
const |
|
virtual |
◆ coolOutputKey()
std::string L1CaloHVCorrectionsContainer::coolOutputKey |
( |
| ) |
const |
|
virtual |
◆ createAttributeListSpecification()
coral::AttributeListSpecification * AbstractL1CaloPersistentCondition::createAttributeListSpecification |
( |
| ) |
const |
|
inherited |
Definition at line 31 of file AbstractL1CaloPersistentCondition.cxx.
33 coral::AttributeListSpecification* attrSpecification =
new coral::AttributeListSpecification();
39 attrSpecification->extend(it_name->second, it_type->second);
41 return attrSpecification;
◆ end()
◆ hvCorrections() [1/2]
◆ hvCorrections() [2/2]
◆ makePersistent()
DataObject * L1CaloHVCorrectionsContainer::makePersistent |
( |
| ) |
const |
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 65 of file L1CaloHVCorrectionsContainer.cxx.
71 if(!attrSpecification->size())
return NULL;
80 const std::vector<int>& affectedCells(
p.affectedCells());
81 const std::vector<float>& layerMeans(
p.layerMeans());
82 const unsigned char nlayers = affectedCells.size();
83 const unsigned char affectedCells1 = (nlayers > 0) ? affectedCells[0] : 0;
84 const unsigned char affectedCells2 = (nlayers > 1) ? affectedCells[1] : 0;
85 const unsigned char affectedCells3 = (nlayers > 2) ? affectedCells[2] : 0;
86 const unsigned char affectedCells4 = (nlayers > 3) ? affectedCells[3] : 0;
87 const float layerMean1 = (nlayers > 0) ? layerMeans[0] : 0.;
88 const float layerMean2 = (nlayers > 1) ? layerMeans[1] : 0.;
89 const float layerMean3 = (nlayers > 2) ? layerMeans[2] : 0.;
90 const float layerMean4 = (nlayers > 3) ? layerMeans[3] : 0.;
108 return (DataObject*) attrListCollection;
◆ makeTransient() [1/4]
◆ makeTransient() [2/4]
void AbstractL1CaloPersistentCondition::makeTransient |
Definition at line 30 of file AbstractL1CaloPersistentCondition.cxx.
22 std::cout <<
"ERROR - The makeTransient(const map<std::string, const AthenaAttributeList*>) method you are calling is not implemented by the current class !" << std::endl;
◆ makeTransient() [3/4]
void AbstractL1CaloPersistentCondition::makeTransient |
Definition at line 29 of file AbstractL1CaloPersistentCondition.cxx.
17 std::cout <<
"ERROR - The makeTransient(const map<std::string, const CondAttrListCollection*>) method you are calling is not implemented by the current class !" << std::endl;
◆ makeTransient() [4/4]
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 111 of file L1CaloHVCorrectionsContainer.cxx.
115 std::map<std::string, const CondAttrListCollection*>::const_iterator
118 if(it_map!=condAttrListCollectionMap.end()) {
133 std::vector<int> affectedCells;
134 std::vector<float> layerMeans;
136 if (layerMean1 >= 1.) {
137 layerMeans.push_back(layerMean1);
140 if (layerMean2 >= 1.) {
141 layerMeans.push_back(layerMean2);
144 if (layerMean3 >= 1.) {
145 layerMeans.push_back(layerMean3);
148 if (layerMean4 >= 1.) {
149 layerMeans.push_back(layerMean4);
160 std::cout <<
"L1CaloHVCorrectionsContainer : Could not find requested CondAttrListCollection "
◆ 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_mHVCorrectionsMap
◆ m_strConditionType
std::string AbstractL1CaloPersistentCondition::m_strConditionType |
|
privateinherited |
The documentation for this class was generated from the following files: