12#include "CoralBase/AttributeListSpecification.h"
15#include "GaudiKernel/MsgStream.h"
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 <<
" ";
75 std::stringstream
ss(strEnergySteps);
76 std::vector<double> vEnergySteps;
77 while (
ss >> buf) vEnergySteps.push_back(buf);
105 std::ostringstream oss;
109 oss <<
"L1CaloRampRunPlan: No more events/steps to process";
118 output<<
" nsteps: "<< vSteps.size()<<
" - steps: ";
119 std::vector<double>::const_iterator it = vSteps.begin();
120 for(;it!=vSteps.end();++it) {
std::ostream & operator<<(std::ostream &output, const L1CaloRampRunPlan &rplan)
std::string specificationName(int specId) const
AbstractL1CaloPersistentCondition(const std::string &condType)
void addSpecification(int specId, const std::string &specName, const std::string &specType)
coral::AttributeListSpecification * createAttributeListSpecification() const
An AttributeList represents a logical row of attributes in a metadata table.
std::vector< double >::iterator m_itCurrentStep
int eventsPerStep() const
virtual void makeTransient(const AthenaAttributeList *&attributeList)
std::vector< double > m_vEnergySteps
const std::vector< double > & energySteps() const
virtual DataObject * makePersistent() const