00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef SPAR_H 00017 #define SPAR_H 00018 00019 #define __ARRAYSIZE__ 100 00020 #define __MEVX__ 5 00021 #define __MEVY__ 10 00022 00023 #include "TGo4Parameter.h" 00024 00025 class TXXXParam : public TGo4Parameter { 00026 public: 00027 TXXXParam(); 00028 TXXXParam(const char* name); 00029 virtual ~TXXXParam(); 00030 virtual Int_t PrintParameter(Text_t * n, Int_t); 00031 virtual Bool_t UpdateFrom(TGo4Parameter *); 00032 00033 // samples for all supported data types: 00034 // comments appear in the generic GUI editor 00035 // dont forget to change the UpdateFrom and PrintParameter 00036 // functions when changing members 00037 Bool_t fill; // control filling 00038 Float_t frP1; // control frP1 00039 Float_t frP2; // control frP2 00040 Int_t fiNum; // control fiNum 00041 Bool_t fbEnab; // control 00042 Double_t fdTest; // control 00043 Short_t fsTest; // control 00044 Char_t fcTest; // control 00045 Long_t flTest; // control 00046 TString fxInputfile; 00047 Int_t fiDataArray[__ARRAYSIZE__]; 00048 Double_t fdMeV[__MEVX__][__MEVY__]; 00049 UInt_t fuNum; 00050 Double_t fdTestarr[__MEVX__]; 00051 UShort_t fuShort; 00052 UChar_t fuChar; 00053 ULong_t fuLong; 00054 00055 ClassDef(TXXXParam,1) 00056 }; 00057 00058 #endif //SPAR_H 00059 00060 //----------------------------END OF GO4 SOURCE FILE ---------------------