#include <L1CaloPprChanStrategyContainer.h>
◆ AttrSpecificationMap
◆ const_iterator
◆ eAttrSpecification
◆ L1CaloPprChanStrategyContainer() [1/2]
| L1CaloPprChanStrategyContainer::L1CaloPprChanStrategyContainer |
( |
| ) |
|
Definition at line 15 of file L1CaloPprChanStrategyContainer.cxx.
17{
22}
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
◆ L1CaloPprChanStrategyContainer() [2/2]
| L1CaloPprChanStrategyContainer::L1CaloPprChanStrategyContainer |
( |
const std::string & | folderKey | ) |
|
◆ ~L1CaloPprChanStrategyContainer()
| virtual L1CaloPprChanStrategyContainer::~L1CaloPprChanStrategyContainer |
( |
| ) |
|
|
inlinevirtual |
◆ addPprChanStrategy()
Definition at line 87 of file L1CaloPprChanStrategyContainer.cxx.
88{
89
93 [](const L1CaloPprChanStrategy& el, unsigned int va) -> bool {
94 return el.channelId() < va;
95 }),
97}
const L1CaloPprChanStrategy * pprChanStrategy(unsigned int channelId) const
std::vector< L1CaloPprChanStrategy > m_pprChanStrategys
◆ addSpecification()
| void AbstractL1CaloPersistentCondition::addSpecification |
( |
int | specId, |
|
|
const std::string & | specName, |
|
|
const std::string & | specType ) |
|
inherited |
◆ begin()
◆ clear()
| virtual void L1CaloPprChanStrategyContainer::clear |
( |
| ) |
|
|
inlinevirtual |
◆ conditionType()
| virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolInputKeys()
| virtual std::vector< std::string > L1CaloPprChanStrategyContainer::coolInputKeys |
( |
| ) |
const |
|
inlinevirtual |
◆ coolOutputKey()
| virtual std::string L1CaloPprChanStrategyContainer::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}
◆ dump()
| void L1CaloPprChanStrategyContainer::dump |
( |
| ) |
const |
Definition at line 99 of file L1CaloPprChanStrategyContainer.cxx.
99 {
102 std::cout <<
" * item: " << *
it <<std::endl;
103 }
104}
const_iterator begin() const
std::vector< L1CaloPprChanStrategy >::const_iterator const_iterator
const_iterator end() const
◆ end()
◆ makePersistent()
| DataObject * L1CaloPprChanStrategyContainer::makePersistent |
( |
| ) |
const |
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 32 of file L1CaloPprChanStrategyContainer.cxx.
33{
34 using std::make_unique;
35
37
39 if(!attrSpecification || !attrSpecification->size()) return nullptr;
40
41 auto attrListCollection = make_unique<CondAttrListCollection>(true);
43 AthenaAttributeList attrList(*attrSpecification);
48
49 attrListCollection->add(
item.channelId(), attrList);
50 }
51 return static_cast<DataObject*>(attrListCollection.release());
52}
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 L1CaloPprChanStrategyContainer::makeTransient |
( |
const std::map< std::string, const CondAttrListCollection * > & | condAttrListCollectionMap | ) |
|
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 54 of file L1CaloPprChanStrategyContainer.cxx.
55{
57
59 if(it == std::end(condAttrListCollectionMap)) return;
60
61 auto attrListCollection =
it->second;
62 for(const auto& item : *attrListCollection) {
64 const auto& attrList =
item.second;
65
70
72 }
73}
void addPprChanStrategy(const L1CaloPprChanStrategy &pprChanStrategy)
std::string description
glabal timer - how long have I taken so far?
◆ pprChanStrategy() [1/2]
◆ pprChanStrategy() [2/2]
| const L1CaloPprChanStrategy * L1CaloPprChanStrategyContainer::pprChanStrategy |
( |
unsigned int | channelId | ) |
const |
Definition at line 75 of file L1CaloPprChanStrategyContainer.cxx.
76{
79 channelId,
80 [](const L1CaloPprChanStrategy& el, unsigned int val) -> bool {
81 return el.channelId() <
val;
82 });
84 return &(*it);
85}
◆ 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 L1CaloPprChanStrategyContainer::m_coolFolderKey = "/TRIGGER/L1Calo/V2/Configuration/PprChanStrategy" |
|
private |
◆ m_pprChanStrategys
◆ m_strConditionType
| std::string AbstractL1CaloPersistentCondition::m_strConditionType |
|
privateinherited |
The documentation for this class was generated from the following files: