5#ifndef EVENTSHAPES_EVENTSHAPES_H
6#define EVENTSHAPES_EVENTSHAPES_H
76 for (
unsigned int i=0; i<
m_values.size(); ++i )
94 void setValues( std::vector<double>& values,
bool canSwap =
false )
103 for (
unsigned int i=0; i<values.size(); ++i )
std::vector< size_t > vec
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
EventShapes(EventShapeType type, std::vector< double > &values, bool canSwap=false)
void getValues(std::vector< double > &vec) const
void setValue(double value, unsigned int index=0)
void setValues(std::vector< double > &values, bool canSwap=false)
friend class EventShapeStoreConverterBase
std::vector< double > m_values
double getValue(unsigned int index=0) const
EventShapes(EventShapeType type, double value)
EventShapeType getType() const
unsigned int getSize() const
void swapValues(EventShapes &es)