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 TGO4USERSOURCEPARAMETER_H 00017 #define TGO4USERSOURCEPARAMETER_H 00018 00019 #include "TGo4EventSourceParameter.h" 00020 00021 class TGo4UserSourceParameter : public TGo4EventSourceParameter { 00022 00023 public: 00024 TGo4UserSourceParameter() ; 00025 00026 TGo4UserSourceParameter(const char* name); 00027 00028 virtual ~TGo4UserSourceParameter() ; 00029 00030 void SetPort(Int_t port) { fiPort=port; } 00031 Int_t GetPort() const { return fiPort; } 00032 00034 const char* GetExpression() const { return fxExpression.Data(); } 00035 void SetExpression(const char* name) { fxExpression=name; } 00036 00037 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00038 00039 private: 00040 00042 Int_t fiPort; 00043 00045 TString fxExpression; 00046 00047 ClassDef(TGo4UserSourceParameter,1) 00048 }; 00049 00050 #endif //TGO4USERSOURCEPARAMETER_H 00051 00052 //----------------------------END OF GO4 SOURCE FILE ---------------------