Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ComAddTreeHistogram.h

Go to the documentation of this file.
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 TGO4COMADDTREEHISTOGRAM_H
00017 #define TGO4COMADDTREEHISTOGRAM_H
00018 
00019 #include "TGo4AnalysisCommand.h"
00020 #include "TString.h"
00021 
00035 class TGo4ComAddTreeHistogram : public TGo4AnalysisCommand {
00036   public:
00037 
00038     TGo4ComAddTreeHistogram();
00039 
00040     TGo4ComAddTreeHistogram(const char* histogramname, const char* treename,const char* varexp, const char* cut);
00041 
00042     virtual ~TGo4ComAddTreeHistogram();
00043 
00044     Int_t ExeCom();
00045 
00049     virtual void Set(TGo4RemoteCommand* remcon);
00050 
00051 
00053     void SetHistogramName(const char* name) { fxHistoName = name; }
00054 
00056     void SetTreeName(const char* name) { fxTreeName = name; }
00057 
00059     void SetVarexp(const char* exp) { fxVarexp = exp; }
00060 
00062     void SetCut(const char* cut) { fxCut = cut; }
00063 
00064   private:
00065 
00067     TString fxHistoName;
00068 
00070     TString fxTreeName;
00071 
00073     TString fxVarexp;
00074 
00076     TString fxCut;
00077 
00078   ClassDef(TGo4ComAddTreeHistogram,1)
00079 };
00080 
00081 #endif //TGO4COMADDTREEHISTOGRAM_H
00082 
00083 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:04 2008 for Go4-v3.04-1 by  doxygen 1.4.2