Transient class defining ramps runplan objects defined by the online framework and retrieved from COOL.
More...
#include <L1CaloRampRunPlan.h>
Transient class defining ramps runplan objects defined by the online framework and retrieved from COOL.
- Author
- Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch
Definition at line 21 of file L1CaloRampRunPlan.h.
◆ AttrSpecificationMap
◆ eAttrSpecification
◆ L1CaloRampRunPlan() [1/2]
| L1CaloRampRunPlan::L1CaloRampRunPlan |
( |
| ) |
|
Definition at line 18 of file L1CaloRampRunPlan.cxx.
23{
26}
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
std::vector< double >::iterator m_itCurrentStep
◆ L1CaloRampRunPlan() [2/2]
| L1CaloRampRunPlan::L1CaloRampRunPlan |
( |
int | nEventsPerStep, |
|
|
const std::vector< double > & | vEnergySteps ) |
◆ ~L1CaloRampRunPlan()
| virtual L1CaloRampRunPlan::~L1CaloRampRunPlan |
( |
| ) |
|
|
inlinevirtual |
◆ addSpecification()
| void AbstractL1CaloPersistentCondition::addSpecification |
( |
int | specId, |
|
|
const std::string & | specName, |
|
|
const std::string & | specType ) |
|
inherited |
◆ clear()
| void AbstractL1CaloPersistentCondition::clear |
( |
| ) |
|
|
virtualinherited |
Implements IL1CaloPersistenceCapable.
Reimplemented in L1CaloDerivedRunParsContainer, L1CaloDisabledTowersContainer, L1CaloEnergyScanResultsContainer, L1CaloHVCorrectionsContainer, L1CaloPpmDeadChannelsContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsContainer, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloPprChanStrategyContainer, L1CaloPprConditionsContainer, L1CaloPprConditionsContainerRun2, L1CaloPprDisabledChannelContainer, L1CaloPprDisabledChannelContainerRun2, L1CaloPprLutContainer, L1CaloReadoutConfigContainer, L1CaloReadoutConfigContainerJSON, L1CaloRunParametersContainer, L1CaloRxGainContainer, and L1CaloRxLayersContainer.
Definition at line 52 of file AbstractL1CaloPersistentCondition.cxx.
52 {
53 std::cout << "ERROR - The clear() method you are calling is not implemented by the current class !" << std::endl;
54 return;
55}
◆ conditionType()
| virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolInputKeys()
| virtual std::vector< std::string > AbstractL1CaloPersistentCondition::coolInputKeys |
( |
| ) |
const |
|
inlinevirtualinherited |
Implements IL1CaloPersistenceCapable.
Reimplemented in L1CaloDerivedRunParsContainer, L1CaloDisabledTowersContainer, L1CaloEnergyScanResultsContainer, L1CaloEnergyScanRunInfoContainer, L1CaloHVCorrectionsContainer, L1CaloPpmDeadChannelsContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsContainer, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloPprChanStrategyContainer, L1CaloPprConditionsContainer, L1CaloPprConditionsContainerRun2, L1CaloPprDisabledChannelContainer, L1CaloPprDisabledChannelContainerRun2, L1CaloPprLutContainer, L1CaloReadoutConfigContainer, L1CaloRunParametersContainer, L1CaloRxGainContainer, and L1CaloRxLayersContainer.
Definition at line 39 of file AbstractL1CaloPersistentCondition.h.
39{ return std::vector<std::string>(); };
◆ coolOutputKey()
| virtual std::string AbstractL1CaloPersistentCondition::coolOutputKey |
( |
| ) |
const |
|
inlinevirtualinherited |
Implements IL1CaloPersistenceCapable.
Reimplemented in L1CaloDerivedRunParsContainer, L1CaloDisabledTowersContainer, L1CaloEnergyScanResultsContainer, L1CaloEnergyScanRunInfoContainer, L1CaloHVCorrectionsContainer, L1CaloPpmDeadChannelsContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsContainer, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloPprChanStrategyContainer, L1CaloPprConditionsContainer, L1CaloPprConditionsContainerRun2, L1CaloPprDisabledChannelContainer, L1CaloPprDisabledChannelContainerRun2, L1CaloPprLutContainer, L1CaloReadoutConfigContainer, L1CaloRunParametersContainer, L1CaloRxGainContainer, and L1CaloRxLayersContainer.
Definition at line 40 of file AbstractL1CaloPersistentCondition.h.
40{ return std::string(""); };
◆ 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}
◆ currentEnergy()
| double L1CaloRampRunPlan::currentEnergy |
( |
| ) |
|
|
inline |
◆ endOfRun()
| bool L1CaloRampRunPlan::endOfRun |
( |
| ) |
|
|
inline |
◆ energySteps()
| const std::vector< double > & L1CaloRampRunPlan::energySteps |
( |
| ) |
const |
|
inline |
◆ eventsPerStep()
| int L1CaloRampRunPlan::eventsPerStep |
( |
| ) |
const |
|
inline |
◆ makePersistent()
| DataObject * L1CaloRampRunPlan::makePersistent |
( |
| ) |
const |
|
virtual |
Reimplemented from AbstractL1CaloPersistentCondition.
Definition at line 40 of file L1CaloRampRunPlan.cxx.
40 {
41
42
43
45 if(!attrSpecification->size()) return NULL;
46
47
48 AthenaAttributeList* attrList = new AthenaAttributeList(*attrSpecification);
49
50
52 std::vector<double> vEnergySteps = this->
energySteps();
53
55
56
57
58 std::ostringstream oss;
59 std::vector<double>::const_iterator energy_it = vEnergySteps.begin();
60 for (;energy_it!=vEnergySteps.end();++energy_it) {
61 oss << *energy_it << " ";
62 }
64
65 return attrList;
66}
std::string specificationName(int specId) const
coral::AttributeListSpecification * createAttributeListSpecification() const
int eventsPerStep() const
const std::vector< double > & energySteps() const
◆ makeTransient() [1/3]
Definition at line 68 of file L1CaloRampRunPlan.cxx.
68 {
69
72
73
75 std::stringstream
ss(strEnergySteps);
76 std::vector<double> vEnergySteps;
77 while (
ss >> buf) vEnergySteps.push_back(buf);
78
80
83}
◆ makeTransient() [2/3]
| void AbstractL1CaloPersistentCondition::makeTransient |
( |
const std::map< std::string, const AthenaAttributeList * > & | condAttributeList | ) |
|
|
virtual |
◆ makeTransient() [3/3]
| void AbstractL1CaloPersistentCondition::makeTransient |
( |
const std::map< std::string, const CondAttrListCollection * > & | condAttrListCollectionMap | ) |
|
|
virtual |
◆ nextEvent()
| void L1CaloRampRunPlan::nextEvent |
( |
| ) |
|
Definition at line 85 of file L1CaloRampRunPlan.cxx.
85 {
87 return;
88 }
89
91
96 } else {
99 return;
100 }
101 }
102}
◆ specificationName()
| std::string AbstractL1CaloPersistentCondition::specificationName |
( |
int | specId | ) |
const |
|
inherited |
◆ specificationType()
| std::string AbstractL1CaloPersistentCondition::specificationType |
( |
int | specId | ) |
const |
|
inherited |
◆ status()
| std::string L1CaloRampRunPlan::status |
( |
| ) |
|
Definition at line 104 of file L1CaloRampRunPlan.cxx.
104 {
105 std::ostringstream oss;
108 } else {
109 oss << "L1CaloRampRunPlan: No more events/steps to process";
110 }
111 return oss.str();
112}
◆ operator<<
Definition at line 115 of file L1CaloRampRunPlan.cxx.
115 {
118 output<<
" nsteps: "<< vSteps.size()<<
" - steps: ";
119 std::vector<double>::const_iterator
it = vSteps.begin();
120 for(;
it!=vSteps.end();++
it) {
122 }
124}
◆ m_attrSpecificationNameMap
◆ m_attrSpecificationTypeMap
◆ m_bEndOfRampRun
| bool L1CaloRampRunPlan::m_bEndOfRampRun |
|
private |
◆ m_iCurrentEvent
| int L1CaloRampRunPlan::m_iCurrentEvent |
|
private |
◆ m_itCurrentStep
| std::vector<double>::iterator L1CaloRampRunPlan::m_itCurrentStep |
|
private |
◆ m_nEventsPerStep
| int L1CaloRampRunPlan::m_nEventsPerStep |
|
private |
◆ m_strConditionType
| std::string AbstractL1CaloPersistentCondition::m_strConditionType |
|
privateinherited |
◆ m_vEnergySteps
| std::vector<double> L1CaloRampRunPlan::m_vEnergySteps |
|
private |
The documentation for this class was generated from the following files: