QVectorIR.hh

Go to the documentation of this file.
00001 #ifndef _QVECTOR_IR_HH_
00002 #define _QVECTOR_IR_HH_
00003 
00011 #include "QObjectR.hh"
00012 #include <TArrayI.h>
00013 #include <Rtypes.h>
00014 
00015 namespace Cuore {class QVector;} 
00016 class QVectorR; 
00017 
00018 class QVectorIR : public QObjectR, public TArrayI {
00019 public:
00021    QVectorIR();
00028    const QVectorIR& operator=(const Cuore::QVector& qvect); 
00029    const QVectorIR& operator=(const QVectorR& vec);
00035    void Fill(Cuore::QVector& qvec) const; 
00036 
00037    void Draw(Option_t* option=""); // *MENU*
00045    void Assign(const Cuore::QObject* obj);
00046 
00047    void FillQObject(Cuore::QObject*& obj) const;
00048 
00049    private:
00050 
00051    inline int Round(double x)
00052    {
00053        return int(x > 0.0 ? x + 0.5 : x - 0.5);
00054    }
00055 
00056    ClassDef(QVectorIR,1);
00057 };
00058 
00059 #endif

Generated on Tue Nov 16 10:50:00 2010 for CUORE Software by  doxygen 1.5.6