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 TGO4COMSETSOURCE_H 00017 #define TGO4COMSETSOURCE_H 00018 00019 #include "TGo4AnalysisStepCommand.h" 00020 #include "Go4Event/TGo4EventSourceParameter.h" 00021 00029 class TGo4ComSetSource : public TGo4AnalysisStepCommand { 00030 public: 00031 00032 TGo4ComSetSource(); 00033 00034 TGo4ComSetSource(const char* stepname, TGo4EventSourceParameter* newsource); 00035 00036 virtual ~TGo4ComSetSource(); 00037 00038 Int_t ExeCom(); 00039 00041 TGo4EventSourceParameter * GetSourcePar() const { return fxSourcePar; } 00042 00044 void SetSourcePar(TGo4EventSourceParameter * par) { fxSourcePar = par; } 00045 00046 private: 00047 00048 TGo4EventSourceParameter* fxSourcePar; 00049 00050 ClassDef(TGo4ComSetSource,1) 00051 }; 00052 00053 #endif //TGO4COMSETSOURCE_H 00054 00055 //----------------------------END OF GO4 SOURCE FILE ---------------------