00001 #ifndef TROSSENDORFHISTPARAM_H 00002 #define TROSSENDORFHISTPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 00006 class TRossendorfHistParam : public TGo4Parameter { 00007 protected: 00008 Float_t histHigh[16][2]; //< upper limit of histogram axis (0 = X, 1= y axis) 00009 Float_t histLow[16][2]; //< lower limit of histogram axis (0 = X, 1= y axis) 00010 Int_t histBins[16][2]; //< number of bins on axis (0 = X, 1= y axis) 00011 Bool_t fbHisto; //< enable or disable filling of histograms 00012 00013 public: 00014 TRossendorfHistParam(const char* name = 0); 00015 00016 Bool_t getFillHisto(void){return fbHisto;}; 00017 Float_t getHistHighX(Int_t channel) {return histHigh[channel][0];}; 00018 Float_t getHistLowX(Int_t channel){return histLow[channel][0];}; 00019 Int_t getHistBinsX(Int_t channel){return histBins[channel][0];} 00020 00021 Float_t getHistHighY(Int_t channel) {return histHigh[channel][1];}; 00022 Float_t getHistLowY(Int_t channel){return histLow[channel][1];}; 00023 Int_t getHistBinsY(Int_t channel){return histBins[channel][1];} 00024 00025 void setFillHisto(Bool_t state){fbHisto = state;}; 00026 void setHistHighX(Int_t channel, Float_t value){histHigh[channel][0] = value;}; 00027 void setHistLowX(Int_t channel, Float_t value){histLow[channel][0] = value;}; 00028 void setHistBinsX(Int_t channel, Int_t value){histBins[channel][0] = value;}; 00029 00030 void setHistHighY(Int_t channel, Float_t value){histHigh[channel][1] = value;}; 00031 void setHistLowY(Int_t channel, Float_t value){histLow[channel][1] = value;}; 00032 void setHistBinsY(Int_t channel, Int_t value){histBins[channel][1] = value;}; 00033 00034 00035 ClassDef(TRossendorfHistParam,1) 00036 }; 00037 00038 #endif