GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4ComAddTreeHistogram.h
Go to the documentation of this file.
1 // $Id$
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  Int_t ExeCom() override;
41 
45  void Set(TGo4RemoteCommand *remcon) override;
46 
48  void SetHistogramName(const char *name) { fxHistoName = name; }
49 
51  void SetTreeName(const char *name) { fxTreeName = name; }
52 
54  void SetVarexp(const char *exp) { fxVarexp = exp; }
55 
57  void SetCut(const char *cut) { fxCut = cut; }
58 
59  private:
60 
62  TString fxHistoName;
63 
65  TString fxTreeName;
66 
68  TString fxVarexp;
69 
71  TString fxCut;
72 
73  ClassDefOverride(TGo4ComAddTreeHistogram,1)
74 };
75 
76 #endif //TGO4COMADDTREEHISTOGRAM_H
void SetCut(const char *cut)
void SetVarexp(const char *exp)
void SetTreeName(const char *name)
void Set(TGo4RemoteCommand *remcon) override
void SetHistogramName(const char *name)