QVectorR.hh
Go to the documentation of this file.00001 #ifndef __QVECTOR_R_HH__
00002 #define __QVECTOR_R_HH__
00003
00010 #include "QObjectR.hh"
00011 #include "QVectorIR.hh"
00012 #include <TArrayD.h>
00013 #include <Rtypes.h>
00014
00015 namespace Cuore {class QVector;}
00016
00017 class QVectorR : public QObjectR, public TArrayD {
00018 public:
00020 QVectorR();
00021
00023 QVectorR(const QVectorR& other);
00024
00030 const QVectorR& operator=(const Cuore::QVector& qvect);
00031
00037 const QVectorR& operator=(const QVectorIR& qvecti);
00038
00044 const QVectorR& operator=(const QVectorR& qvectr);
00045
00051 void Fill(Cuore::QVector& qvec) const;
00052
00053 void Draw(Option_t* option="");
00054
00062 void Assign(const Cuore::QObject* obj);
00063
00070 QVectorR GetVector(size_t start, size_t size, size_t sub_ratio);
00071
00072
00073 void FillQObject(Cuore::QObject*& obj) const;
00074
00075 ClassDef(QVectorR,1);
00076 };
00077
00078 #endif