QScopeChannelInfo.hh

Go to the documentation of this file.
00001 
00002 #ifndef _Q_SCOPE_CHANNEL_INFO_HH_
00003 #define _Q_SCOPE_CHANNEL_INFO_HH_
00004 
00005 #include <Rtypes.h>
00006 
00007 #include <set>
00008 
00015 class QScopeChannelInfo
00016 {
00017 public:
00019    QScopeChannelInfo(Int_t id);
00020 
00022    virtual ~QScopeChannelInfo();
00023 
00025    Int_t GetId() const { return fId; }
00026 
00028    Bool_t GetEnabled() const { return fEnabled; }
00029    
00031    Int_t GetLgChannel() const { return fLgChannel; }
00032 
00034    Bool_t GetAutoScale() const { return fAutoScale; }
00035 
00037    Bool_t GetAdjustOffset() const { return fAdjustOffset; }
00038 
00040    ULong_t GetWaveformColor() const { return fWaveformColor; }
00041 
00043    Float_t GetMvPerDiv() const { return fMvPerDiv; }
00044 
00046    Int_t GetOffsetMv() const { return fOffsetMv; }
00047 
00049    Bool_t GetMeasMaxMin() const { return fMeasMaxMin; }
00050 
00052    Bool_t GetMeasAverage() const { return fMeasAverage; }
00053 
00055    Bool_t GetMeasRMS() const { return fMeasRMS; }
00056 
00057 
00059    void SetEnabled(Bool_t enabled) { fEnabled = enabled; }
00060    
00062    void SetLgChannel(Int_t lgChannel) { fLgChannel = lgChannel; }
00063 
00065    void SetAutoScale(Bool_t autoScale) { fAutoScale = autoScale; }
00066 
00068    void SetAdjustOffset(Bool_t adjustOffset) { fAdjustOffset = adjustOffset; }
00069 
00071    void SetWaveformColor(ULong_t pxColor) { fWaveformColor = pxColor; }
00072 
00074    void SetMvPerDiv(Float_t mVPerDiv) { fMvPerDiv = mVPerDiv; }
00075 
00077    void SetOffsetMv(Int_t offsetMv) { fOffsetMv = offsetMv; }
00078 
00080    void SetMeasMaxMin(Bool_t enabled) { fMeasMaxMin = enabled; }
00081 
00083    void SetMeasAverage(Bool_t enabled) { fMeasAverage = enabled; }
00084 
00086    void SetMeasRMS(Bool_t enabled) { fMeasRMS = enabled; }
00087 
00088 
00090    static const std::set<UInt_t>& GetAvailableWindowLengthsMs();
00091 
00093    static const std::set<Float_t>& GetAvailableMvPerDiv();
00094 
00100    static const std::set<UInt_t>& GetAvailableSubSamplings();
00101    
00103    static bool GetUseDarkBackground() { return false; }
00104 
00105 private:
00106    const Int_t fId;        
00107    Bool_t fEnabled;        
00108    Int_t fLgChannel;       
00109    Bool_t fAutoScale;      
00110    Bool_t fAdjustOffset;   
00111    ULong_t fWaveformColor; 
00112    Float_t fMvPerDiv;      
00113    Int_t fOffsetMv;        
00115    Bool_t fMeasMaxMin;     
00116    Bool_t fMeasAverage;    
00117    Bool_t fMeasRMS;        
00118 };
00119 #endif

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