QPulseR.hh

Go to the documentation of this file.
00001 
00009 #ifndef _QPULSE_R_HH_
00010 #define _QPULSE_R_HH_
00011 
00012 #include "QCuoreR.hh"
00013 #include "QVectorIR.hh"
00014 #include "QSampleInfoR.hh"
00015 #include <vector>
00016 #include <Rtypes.h>
00017 
00018 namespace Cuore {class QPulse;}
00019 
00020 class QPulseR : public TObject{
00021 
00022     public:
00023 
00025         QPulseR() {}
00027         virtual ~QPulseR() {}
00028 
00030         const Int_t& GetChannelId() const {return fChannelId;}
00032         const QVectorIR& GetSamples() const {return fSamples;}
00034         const std::vector<QSampleInfoR>&  GetSamplesInfo() const {return fSamplesInfo;}
00036         const UInt_t& GetTimedSample() const {return fTimedSample;}
00037 
00039         void SetChannelId(const Int_t& channelId) {fChannelId = channelId;}
00041         void SetSamples(const QVectorIR& samples) {fSamples = samples;}
00043         void SetSamplesInfo(const std::vector<QSampleInfoR>& samplesInfo) {fSamplesInfo = samplesInfo;}
00045         void SetTimedSample(const UInt_t& timedSample) {fTimedSample = timedSample;}
00046 
00047        virtual const QPulseR& operator=(const Cuore::QPulse& qpulsedata);
00048        virtual void Fill(Cuore::QPulse& qpulsedata) const;
00049 
00050     private:
00052         Int_t fChannelId;
00054         QVectorIR fSamples;
00056         std::vector<QSampleInfoR> fSamplesInfo;
00058         UInt_t fTimedSample;
00059         
00060 
00061         ClassDef(QPulseR,1);
00062 
00063 };
00064 
00065 #endif

Generated on Tue Nov 16 10:49:59 2010 for CUORE Software by  doxygen 1.5.6