QPulserSingleShot.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QPULSER_SINGLE_SHOT_HH_
00003 #define _QPULSER_SINGLE_SHOT_HH_
00004 
00005 #include <Rtypes.h>
00006 #include "QError.hh"
00007 
00014 class QPulserSingleShot
00015 {
00016 public:
00021    QPulserSingleShot(int settingsBasket);
00022    
00023    virtual ~QPulserSingleShot();
00024 
00031    void SetParameters(UInt_t board, UInt_t hwCh, UInt_t amplitude);
00032    
00038    bool Fire();
00039 
00041    const QError& GetError() { return fError; }
00042 private:
00043    UInt_t fHwCh;
00044    UInt_t fPulseId;
00045    UInt_t fAmplitude;
00046    const int kSettingsBasket;
00047    QError fError;
00048 
00049    void ResetError();
00050 };
00051 #endif

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