12 #ifndef ROOT_TTreeDrawArgsParser
13 #define ROOT_TTreeDrawArgsParser
29 class TTreeDrawArgsParser :
public TObject {
47 static Int_t fgMaxDimension;
48 static Int_t fgMaxParameters;
64 Bool_t fParameterGiven[9];
65 Double_t fParameters[9];
72 EOutputType fOutputType;
75 TTreeDrawArgsParser::EOutputType DefineType();
76 Bool_t SplitVariables(TString variables);
77 Bool_t ParseName(TString name);
82 TTreeDrawArgsParser();
83 ~TTreeDrawArgsParser();
85 Bool_t Parse(
const char *varexp,
const char *selection, Option_t *option);
86 Bool_t GetAdd()
const {
return fAdd; }
87 Int_t GetDimension()
const {
return fDimension; }
88 Bool_t GetShouldDraw()
const {
return fShouldDraw; }
89 TString GetExp()
const {
return fExp; }
90 Double_t GetIfSpecified(Int_t num, Double_t def)
const;
91 Int_t GetNoParameters()
const {
return fNoParameters; }
92 Double_t GetParameter(
int num)
const;
93 TString GetProofSelectorName()
const;
94 TString GetObjectName()
const {
return fName; }
95 TString GetObjectTitle()
const;
96 Bool_t GetOptionSame()
const {
return fOptionSame; }
97 TObject *GetOriginal()
const {
return fOriginal; }
98 TString GetSelection()
const {
return fSelection; }
99 TString GetVarExp(Int_t num)
const;
100 TString GetVarExp()
const;
101 Bool_t IsSpecified(
int num)
const;
102 void SetObjectName(
const char *s) { fName = s; }
103 void SetOriginal(TObject *o) { fOriginal = o; }
104 static Int_t GetMaxDimension();
106 ClassDef(TTreeDrawArgsParser,0);