00001 #ifndef TEPICSPARAM_H 00002 #define TEPICSPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 00006 #include "TEpicsEvent.h" 00007 00008 #define CBM_EPIX_NUMHIS_LONG 200 00009 #define CBM_EPIX_NUMHIS_DOUBLE 200 00010 #define CBM_EPIX_TRENDSIZE 120 00011 #define CBM_EPIX_STATRANGE 5000 00012 #define CBM_EPIX_NOTCONFIGURED "Not Configured" 00013 00014 00015 class TEpicsParam : public TGo4Parameter { 00016 public: 00017 TEpicsParam(const char* name = 0); 00018 00019 void ResetDisplayVariables(); 00020 00021 Int_t AddDouble(const char* name, Bool_t showwarn = kTRUE); 00022 Int_t AddLong(const char* name, Bool_t showwarn = kTRUE); 00023 00024 const char* DoubleName(Int_t n); 00025 const char* LongName(Int_t n); 00026 00027 Bool_t fVerbose; // switch on verbose printout of epics event data 00028 Bool_t fAutoFill; // add new records names automatically from event structure 00029 00030 TString fDisplayDouble[CBM_EPIX_NUMHIS_DOUBLE]; // configuration of histograms for double pvs 00031 TString fDisplayLong[CBM_EPIX_NUMHIS_LONG]; // configuration of histograms for double pvs 00032 00033 ClassDef(TEpicsParam,2) 00034 }; 00035 00036 #endif