00001 // $Id: TGo4UserStoreParameter.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4USERSTOREPARAMETER_H 00015 #define TGO4USERSTOREPARAMETER_H 00016 00017 #include "TGo4EventStoreParameter.h" 00018 00019 #include "TString.h" 00020 00021 00022 class TGo4EventElement; 00023 00024 class TGo4UserStoreParameter : public TGo4EventStoreParameter { 00025 00026 public: 00027 TGo4UserStoreParameter(); 00028 00029 TGo4UserStoreParameter(const char* name); 00030 00031 virtual ~TGo4UserStoreParameter() ; 00032 00035 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00036 00038 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00039 00041 const char* GetExpression() const { return fxExpression.Data(); } 00042 void SetExpression(const char* name) { fxExpression=name; } 00043 00044 private: 00045 00047 TString fxExpression; 00048 00049 ClassDef(TGo4UserStoreParameter,1) 00050 }; 00051 00052 #endif //TGO4USERSTOREPARAMETER_H