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 |
( |
| ) |
|
◆ 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 L1CaloReadoutConfigContainerJSON, L1CaloPprConditionsContainerRun2, L1CaloHVCorrectionsContainer, L1CaloPprConditionsContainer, L1CaloRxLayersContainer, L1CaloEnergyScanResultsContainer, L1CaloPprLutContainer, L1CaloPpmFineTimeRefsContainer, L1CaloRxGainContainer, L1CaloPprDisabledChannelContainer, L1CaloPprChanDefaultsContainer, L1CaloDisabledTowersContainer, L1CaloPpmDeadChannelsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloDerivedRunParsContainer, L1CaloRunParametersContainer, L1CaloPprChanStrategyContainer, and L1CaloReadoutConfigContainer.
Definition at line 52 of file AbstractL1CaloPersistentCondition.cxx.
53 std::cout <<
"ERROR - The clear() method you are calling is not implemented by the current class !" << std::endl;
◆ conditionType()
virtual std::string AbstractL1CaloPersistentCondition::conditionType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ coolInputKeys()
virtual std::vector<std::string> AbstractL1CaloPersistentCondition::coolInputKeys |
( |
| ) |
const |
|
inlinevirtualinherited |
Implements IL1CaloPersistenceCapable.
Reimplemented in L1CaloPprConditionsContainerRun2, L1CaloHVCorrectionsContainer, L1CaloPprConditionsContainer, L1CaloRxLayersContainer, L1CaloEnergyScanResultsContainer, L1CaloPprLutContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprDisabledChannelContainer, L1CaloRxGainContainer, L1CaloEnergyScanRunInfoContainer, L1CaloPprDisabledChannelContainerRun2, L1CaloPprChanDefaultsContainer, L1CaloDisabledTowersContainer, L1CaloPpmDeadChannelsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloDerivedRunParsContainer, L1CaloRunParametersContainer, L1CaloPprChanStrategyContainer, and L1CaloReadoutConfigContainer.
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 L1CaloPprConditionsContainerRun2, L1CaloHVCorrectionsContainer, L1CaloPprConditionsContainer, L1CaloRxLayersContainer, L1CaloEnergyScanResultsContainer, L1CaloPprLutContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprDisabledChannelContainer, L1CaloRxGainContainer, L1CaloEnergyScanRunInfoContainer, L1CaloPprDisabledChannelContainerRun2, L1CaloPprChanDefaultsContainer, L1CaloDisabledTowersContainer, L1CaloPpmDeadChannelsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloDerivedRunParsContainer, L1CaloRunParametersContainer, L1CaloPprChanStrategyContainer, and L1CaloReadoutConfigContainer.
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.
33 coral::AttributeListSpecification* attrSpecification =
new coral::AttributeListSpecification();
39 attrSpecification->extend(it_name->second, it_type->second);
41 return attrSpecification;
◆ 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.
45 if(!attrSpecification->size())
return NULL;
52 std::vector<double> vEnergySteps = this->
energySteps();
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 <<
" ";
65 return (DataObject*) attrList;
◆ makeTransient() [1/5]
Definition at line 68 of file L1CaloRampRunPlan.cxx.
75 std::stringstream
ss(strEnergySteps);
76 std::vector<double> vEnergySteps;
77 while (
ss >> buf) vEnergySteps.push_back(buf);
◆ makeTransient() [2/5]
◆ makeTransient() [3/5]
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() [4/5]
Implements IL1CaloPersistenceCapable.
Reimplemented in L1CaloPprConditionsContainerRun2, L1CaloHVCorrectionsContainer, L1CaloRxLayersContainer, L1CaloEnergyScanResultsContainer, L1CaloPpmFineTimeRefsContainer, L1CaloPprConditionsContainer, L1CaloPprLutContainer, L1CaloPprDisabledChannelContainer, L1CaloRxGainContainer, L1CaloReadoutConfigContainerJSON, L1CaloPprChanDefaultsContainer, L1CaloDisabledTowersContainer, L1CaloPpmDeadChannelsContainer, L1CaloPprChanCalibContainer, L1CaloPprChanCalibV1Container, L1CaloPprChanDefaultsV1Container, L1CaloPprChanExtraContainer, L1CaloDerivedRunParsContainer, L1CaloRunParametersContainer, L1CaloPprChanStrategyContainer, and L1CaloReadoutConfigContainer.
Definition at line 16 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() [5/5]
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;
◆ nextEvent()
void L1CaloRampRunPlan::nextEvent |
( |
| ) |
|
◆ 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 108 of file L1CaloRampRunPlan.cxx.
109 std::ostringstream oss;
115 oss <<
"L1CaloRampRunPlan: No more events/steps to process";
◆ operator<<
Definition at line 121 of file L1CaloRampRunPlan.cxx.
124 output<<
" nsteps: "<< vSteps.size()<<
" - steps: ";
125 std::vector<double>::const_iterator
it = vSteps.begin();
126 for(;
it!=vSteps.end();++
it) {
◆ 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: