18 #include "TPolyMarker3D.h" 20 #include "TObjString.h" 26 TTreePoint(
const char *alias,
const char * px,
const char * py,
const char *pz, Int_t mColor, Int_t mSize, Int_t mType);
44 TTreeCutAtom(
const char *alias,
const char *expr,
ExprType type, Double_t val0, Double_t val1=0);
45 TString GetSelection();
59 TString MakeSelection();
60 void AddSelectionRange(
const char *alias,
const char*expr, Float_t min, Float_t max);
61 void AddSelection(
const char *alias,
const char*expr);
62 void AddDraw(
const char *alias,
const char * px,
const char * py,
const char *pz, Int_t mColor, Int_t mSize, Int_t mType);
91 TTreePoint::TTreePoint(
const char *alias,
const char * px,
const char * py,
const char *pz, Int_t mColor, Int_t mSize, Int_t mType)
137 sprintf(command,
"(%s==%d)",GetTitle(), TMath::Nint(
fVal0));
141 sprintf(command,
"((%s>%f) &&(%s<%f))",GetTitle(),
fVal0,GetTitle(),
fVal1);
185 for (Int_t i=0; i<
fCutAtoms.GetEntries(); i++){
188 if (res.Length()>0) res+=
"&&";
Double_t fVal1
selection value 1
TObjArray fDraws
array of draw experssions
TObjArray fCutAtoms
array of axpressions
void AddSelection(const char *alias, const char *expr)
ExprType fType
selection type
Double_t fInt0
interval value 0
Double_t fInt1
interval value 1
Double_t fVal0
selection value 0
void AddSelectionRange(const char *alias, const char *expr, Float_t min, Float_t max)