1 #ifndef _Q_AVERAGEVECTORC_HH_
2 #define _Q_AVERAGEVECTORC_HH_
void Clear()
Clear the attributes.
const std::vector< int > & GetSourceRuns() const
Get the list of source runs.
const QAverageVectorC & operator=(const Diana::QVectorC &orig)
Assignment operator.
QError WriteOnStream(std::ostream &o) const
Write the object to a stream.
QObjectDef(QAverageVectorC, 1)
std::vector< int > & GetSourceRuns()
Get the list of source runs.
int GetNumEvents() const
Get the number of events in the average.
QAverageVectorC()
Default ctor.
QError ReadFromStream(std::istream &ob)
Read the object from a stream.
std::vector< int > fSourceRuns
Add two average vectors.
void Dump(std::ostream &o) const
void SetNumEvents(int nEvents)
Set the number of events in the average.
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.
error class with error type and description