#ifndef TGO4USERSOURCEPARAMETER_H #define TGO4USERSOURCEPARAMETER_H #include "TGo4EventSourceParameter.h" class TGo4UserSourceParameter : public TGo4EventSourceParameter { public: TGo4UserSourceParameter() ; TGo4UserSourceParameter(const char* name); virtual ~TGo4UserSourceParameter() ; void SetPort(Int_t port) { fiPort=port; } Int_t GetPort() const { return fiPort; } /** User expression as string */ const char* GetExpression() const { return fxExpression.Data(); } void SetExpression(const char* name) { fxExpression=name; } virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); private: /** (Port) number. Optional and user defined. */ Int_t fiPort; /** Any user defined expression as string */ TString fxExpression; ClassDef(TGo4UserSourceParameter,1) }; #endif //TGO4USERSOURCEPARAMETER_H