00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 00024 #include "Go4StatusBase/TGo4Parameter.h" 00025 class TXXXParam : public TGo4Parameter { 00026 00027 public: 00028 TXXXParam(); 00029 TXXXParam(const char* name); 00030 virtual ~TXXXParam(); 00031 Int_t PrintParameter(Text_t * n, Int_t); 00032 Bool_t UpdateFrom(TGo4Parameter *); 00033 00034 // samples for all supported data types: 00035 // comments appear in the generic GUI editor 00036 // dont forget to change the UpdateFrom and PrintParameter 00037 // functions when changing members 00038 Bool_t fill; // control filling 00039 Float_t frP1; // control frP1 00040 Float_t frP2; // control frP2 00041 Int_t fiNum; // control fiNum 00042 Bool_t fbEnab; // control 00043 Double_t fdTest; // control 00044 Short_t fsTest; // control 00045 Char_t fcTest; // control 00046 Long_t flTest; // control 00047 TString fxInputfile; 00048 Int_t fiDataArray[__ARRAYSIZE__]; 00049 Double_t fdMeV[__MEVX__][__MEVY__]; 00050 UInt_t fuNum; 00051 Double_t fdTestarr[__MEVX__]; 00052 UShort_t fuShort; 00053 UChar_t fuChar; 00054 ULong_t fuLong; 00055 00056 00057 ClassDef(TXXXParam,1) 00058 }; 00059 00060 #endif //SPAR_H 00061 00062 00063 00064 00065 00066 00067 //----------------------------END OF GO4 SOURCE FILE ---------------------