00001 // $Id: TGo4ComAddTreeHistogram.h 1033 2013-11-05 15:30:01Z 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 TGO4COMADDTREEHISTOGRAM_H 00015 #define TGO4COMADDTREEHISTOGRAM_H 00016 00017 #include "TGo4AnalysisCommand.h" 00018 #include "TString.h" 00019 00033 class TGo4ComAddTreeHistogram : public TGo4AnalysisCommand { 00034 public: 00035 00036 TGo4ComAddTreeHistogram(); 00037 00038 TGo4ComAddTreeHistogram(const char* histogramname, const char* treename,const char* varexp, const char* cut); 00039 00040 virtual ~TGo4ComAddTreeHistogram(); 00041 00042 virtual Int_t ExeCom(); 00043 00047 virtual void Set(TGo4RemoteCommand* remcon); 00048 00050 void SetHistogramName(const char* name) { fxHistoName = name; } 00051 00053 void SetTreeName(const char* name) { fxTreeName = name; } 00054 00056 void SetVarexp(const char* exp) { fxVarexp = exp; } 00057 00059 void SetCut(const char* cut) { fxCut = cut; } 00060 00061 private: 00062 00064 TString fxHistoName; 00065 00067 TString fxTreeName; 00068 00070 TString fxVarexp; 00071 00073 TString fxCut; 00074 00075 ClassDef(TGo4ComAddTreeHistogram,1) 00076 }; 00077 00078 #endif //TGO4COMADDTREEHISTOGRAM_H