Diana Software
QPulseFiller.cc
Go to the documentation of this file.
1 #include "QPulseFiller.hh"
2 #include "QVectorI.hh"
3 #include "QVector.hh"
4 
6 
8  fRun(Q_INT_DEFAULT),
9  fChannel(Q_INT_DEFAULT),
10  fStartT(Q_INT_DEFAULT),
11  fStopT(Q_INT_DEFAULT)
12 {
13 }
14 
15 
16 QPulseFiller::QPulseFiller(int run, int chan, Diana::QLong64 start, Diana::QLong64 stop) :
17  fRun(run),
18  fChannel(chan),
19  fStartT(start),
20  fStopT(stop)
21 {
22 }
23 
24 
25 QError QPulseFiller::Fill(Diana::QVector& samples) const
26 {
27  samples.Clear();
29  return err;
30 }
31 
32 QError QPulseFiller::Fill(Diana::QVectorI& samples) const
33 {
34  samples.Clear();
36  return err;
37 }
38 
40 {
45 }
err
Definition: CheckOF.C:114
QBaseType< Long64_t > QLong64
double wrapped in a QObject
Definition: QBaseType.hh:189
#define Q_INT_DEFAULT
Definition: QDiana.hh:26
@ QERR_NOT_IMPLEMENTED
Definition: QError.hh:109
QObjectImp(QPulseFiller)
error class with error type and description
Definition: QError.hh:115
coordinates to filla QPulse from a continuous file
Definition: QPulseFiller.hh:19
Diana::QULong64 fStartT
Definition: QPulseFiller.hh:57
void Clear()
clear members
Definition: QPulseFiller.cc:39
virtual QError Fill(Diana::QVectorI &samples) const
Definition: QPulseFiller.cc:32
Diana::QULong64 fStopT
Definition: QPulseFiller.hh:58