1 #ifndef _Q_AVERAGEVECTOR_HH_
2 #define _Q_AVERAGEVECTOR_HH_
QObjectDef(QAverageVector, 2)
void SetSourceRuns(const std::vector< int > &sourceRuns)
Set the list of source runs.
void Print() const
Print vector to stdout.
int fNumEvents
The number of events contributing to this average.
const QAverageVector & operator=(const Diana::QVector &orig)
Assignment operator.
std::vector< int > & GetSourceRuns()
Get the list of source runs.
QError WriteOnStream(std::ostream &o) const
Write the object to a stream.
void Dump(std::ostream &o) const
const std::vector< int > & GetSourceRuns() const
Get the list of source runs.
QError ReadFromStream(std::istream &ob)
Read the object from a stream.
QAverageVector()
Default ctor.
int GetNumEvents() const
Get the number of events in the average.
void SetNumEvents(int nEvents)
Set the number of events in the average.
void Clear()
Clear the attributes.
std::vector< int > fSourceRuns
Add two average vectors.
error class with error type and description