#include <L1CaloPprChanDefaultsV1Container.h>
◆ AttrSpecificationMap
◆ const_iterator
◆ eAttrSpecification
| Enumerator |
|---|
| eBcidDecision1 | |
| eSatOverride1 | |
| eBcidDecision2 | |
| eSatOverride2 | |
| eBcidDecision3 | |
| eSatOverride3 | |
| ePeakFinderCond | |
| eDecisionSource | |
Definition at line 29 of file L1CaloPprChanDefaultsV1Container.h.
◆ L1CaloPprChanDefaultsV1Container() [1/2]
| L1CaloPprChanDefaultsV1Container::L1CaloPprChanDefaultsV1Container |
( |
| ) |
|
Definition at line 16 of file L1CaloPprChanDefaultsV1Container.cxx.
18{
27}
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
◆ L1CaloPprChanDefaultsV1Container() [2/2]
| L1CaloPprChanDefaultsV1Container::L1CaloPprChanDefaultsV1Container |
( |
const std::string & | folderKey | ) |
|
◆ ~L1CaloPprChanDefaultsV1Container()
| virtual L1CaloPprChanDefaultsV1Container::~L1CaloPprChanDefaultsV1Container |
( |
| ) |
|
|
inlinevirtual |
◆ addPprChanDefaultsV1()
Definition at line 100 of file L1CaloPprChanDefaultsV1Container.cxx.
101{
102
106 [](const L1CaloPprChanDefaultsV1& el, unsigned int va) -> bool {
107 return el.channelId() < va;
108 }),
110}
std::vector< L1CaloPprChanDefaultsV1 > m_pprChanDefaultsV1s
const L1CaloPprChanDefaultsV1 * pprChanDefaultsV1(unsigned int channelId) const
◆ addSpecification()
| void AbstractL1CaloPersistentCondition::addSpecification |
( |
int | specId, |
|
|
const std::string & | specName, |
|
|
const std::string & | specType ) |
|
inherited |
◆ begin()
◆ clear()
| virtual void L1CaloPprChanDefaultsV1Container::clear |
( |
| ) |
|
|
inlinevirtual |
◆ conditionType()
| virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolInputKeys()
| virtual std::vector< std::string > L1CaloPprChanDefaultsV1Container::coolInputKeys |
( |
| ) |
const |
|
inlinevirtual |
◆ coolOutputKey()
| virtual std::string L1CaloPprChanDefaultsV1Container::coolOutputKey |
( |
| ) |
const |
|
inlinevirtual |
◆ 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()
◆ makePersistent()
| DataObject * L1CaloPprChanDefaultsV1Container::makePersistent |
( |
| ) |
const |
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 37 of file L1CaloPprChanDefaultsV1Container.cxx.
38{
39 using std::make_unique;
40
42
44 if(!attrSpecification || !attrSpecification->size()) return nullptr;
45
46 auto attrListCollection = make_unique<CondAttrListCollection>(true);
48 AthenaAttributeList attrList(*attrSpecification);
57
58 attrListCollection->add(
item.channelId(), attrList);
59 }
60 return static_cast<DataObject*>(attrListCollection.release());
61}
std::string specificationName(int specId) const
coral::AttributeListSpecification * createAttributeListSpecification() const
◆ makeTransient() [1/2]
| void AbstractL1CaloPersistentCondition::makeTransient |
( |
const std::map< std::string, const AthenaAttributeList * > & | condAttributeList | ) |
|
|
virtual |
◆ makeTransient() [2/2]
| void L1CaloPprChanDefaultsV1Container::makeTransient |
( |
const std::map< std::string, const CondAttrListCollection * > & | condAttrListCollectionMap | ) |
|
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 63 of file L1CaloPprChanDefaultsV1Container.cxx.
64{
66
68 if(it == std::end(condAttrListCollectionMap)) return;
69
70 auto attrListCollection =
it->second;
71 for(const auto& item : *attrListCollection) {
73 const auto& attrList =
item.second;
74
83
84 addPprChanDefaultsV1(L1CaloPprChanDefaultsV1(chanNum, BcidDecision1, SatOverride1, BcidDecision2, SatOverride2, BcidDecision3, SatOverride3, PeakFinderCond, DecisionSource));
85 }
86}
void addPprChanDefaultsV1(const L1CaloPprChanDefaultsV1 &pprChanDefaultsV1)
◆ pprChanDefaultsV1() [1/2]
◆ pprChanDefaultsV1() [2/2]
| const L1CaloPprChanDefaultsV1 * L1CaloPprChanDefaultsV1Container::pprChanDefaultsV1 |
( |
unsigned int | channelId | ) |
const |
Definition at line 88 of file L1CaloPprChanDefaultsV1Container.cxx.
89{
92 channelId,
93 [](const L1CaloPprChanDefaultsV1& el, unsigned int val) -> bool {
94 return el.channelId() <
val;
95 });
97 return &(*it);
98}
◆ specificationName()
| std::string AbstractL1CaloPersistentCondition::specificationName |
( |
int | specId | ) |
const |
|
inherited |
◆ specificationType()
| std::string AbstractL1CaloPersistentCondition::specificationType |
( |
int | specId | ) |
const |
|
inherited |
◆ m_attrSpecificationNameMap
◆ m_attrSpecificationTypeMap
◆ m_coolFolderKey
| std::string L1CaloPprChanDefaultsV1Container::m_coolFolderKey = "/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults" |
|
private |
◆ m_pprChanDefaultsV1s
◆ m_strConditionType
| std::string AbstractL1CaloPersistentCondition::m_strConditionType |
|
privateinherited |
The documentation for this class was generated from the following files: