GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ComAddTreeHistogram.h
Go to the documentation of this file.
1 // $Id: TGo4ComAddTreeHistogram.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4COMADDTREEHISTOGRAM_H
15 #define TGO4COMADDTREEHISTOGRAM_H
16 
17 #include "TGo4AnalysisCommand.h"
18 #include "TString.h"
19 
34  public:
35 
37 
38  TGo4ComAddTreeHistogram(const char* histogramname, const char* treename,const char* varexp, const char* cut);
39 
40  virtual ~TGo4ComAddTreeHistogram();
41 
42  virtual Int_t ExeCom();
43 
47  virtual void Set(TGo4RemoteCommand* remcon);
48 
50  void SetHistogramName(const char* name) { fxHistoName = name; }
51 
53  void SetTreeName(const char* name) { fxTreeName = name; }
54 
56  void SetVarexp(const char* exp) { fxVarexp = exp; }
57 
59  void SetCut(const char* cut) { fxCut = cut; }
60 
61  private:
62 
64  TString fxHistoName;
65 
67  TString fxTreeName;
68 
70  TString fxVarexp;
71 
73  TString fxCut;
74 
75  ClassDef(TGo4ComAddTreeHistogram,1)
76 };
77 
78 #endif //TGO4COMADDTREEHISTOGRAM_H
void SetCut(const char *cut)
void SetVarexp(const char *exp)
void SetTreeName(const char *name)
virtual void Set(TGo4RemoteCommand *remcon)
void SetHistogramName(const char *name)