#include <TCutG.h>
Inheritance diagram for TCutG:

Public Member Functions | |
| TCutG () | |
| pointer to an object corresponding to Y | |
| TCutG (const TCutG &cutg) | |
| TCutG (const char *name, Int_t n) | |
| TCutG (const char *name, Int_t n, const Float_t *x, const Float_t *y) | |
| TCutG (const char *name, Int_t n, const Double_t *x, const Double_t *y) | |
| virtual | ~TCutG () |
| virtual Double_t | Area () const |
| virtual void | Center (Double_t &cx, Double_t &cy) const |
| TObject * | GetObjectX () const |
| TObject * | GetObjectY () const |
| const char * | GetVarX () const |
| const char * | GetVarY () const |
| virtual Double_t | IntegralHist (TH2 *h, Option_t *option="") const |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
| virtual void | SetObjectX (TObject *obj) |
| virtual void | SetObjectY (TObject *obj) |
| virtual void | SetVarX (const char *varx) |
| virtual void | SetVarY (const char *vary) |
| TCutG () | |
| pointer to an object corresponding to Y | |
| TCutG (const TCutG &cutg) | |
| TCutG (const char *name, Int_t n) | |
| TCutG (const char *name, Int_t n, const Float_t *x, const Float_t *y) | |
| TCutG (const char *name, Int_t n, const Double_t *x, const Double_t *y) | |
| virtual | ~TCutG () |
| virtual Double_t | Area () const |
| virtual void | Center (Double_t &cx, Double_t &cy) const |
| TObject * | GetObjectX () const |
| TObject * | GetObjectY () const |
| const char * | GetVarX () const |
| const char * | GetVarY () const |
| virtual Double_t | IntegralHist (TH2 *h, Option_t *option="") const |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
| virtual void | SetObjectX (TObject *obj) |
| virtual void | SetObjectY (TObject *obj) |
| virtual void | SetVarX (const char *varx) |
| virtual void | SetVarY (const char *vary) |
Protected Attributes | |
| TString | fVarX |
| TString | fVarY |
| TObject * | fObjectX |
| TObject * | fObjectY |
| pointer to an object corresponding to X | |
| TObject * | fObjectX |
| TObject * | fObjectY |
| pointer to an object corresponding to X | |
Definition at line 29 of file TCutG.h.
| TCutG::TCutG | ( | ) |
pointer to an object corresponding to Y
| TCutG::TCutG | ( | const TCutG & | cutg | ) |
| TCutG::TCutG | ( | const char * | name, | |
| Int_t | n | |||
| ) |
Definition at line 124 of file TCutG.cxx.
References TSeqCollection::Add(), TCollection::FindObject(), fObjectX, fObjectY, fVarX, fVarY, TPaveText::GetLine(), TPaveText::GetLineWith(), TROOT::GetListOfSpecials(), TNamed::GetTitle(), gPad, gROOT, TNamed::SetName(), strlcpy(), and title.
Definition at line 166 of file TCutG.cxx.
References TSeqCollection::Add(), TCollection::FindObject(), fObjectX, fObjectY, fVarX, fVarY, TPaveText::GetLine(), TPaveText::GetLineWith(), TROOT::GetListOfSpecials(), TNamed::GetTitle(), gPad, gROOT, TNamed::SetName(), strlcpy(), and title.
Definition at line 208 of file TCutG.cxx.
References TSeqCollection::Add(), TCollection::FindObject(), fObjectX, fObjectY, fVarX, fVarY, TPaveText::GetLine(), TPaveText::GetLineWith(), TROOT::GetListOfSpecials(), TNamed::GetTitle(), gPad, gROOT, TNamed::SetName(), strlcpy(), and title.
| TCutG::~TCutG | ( | ) | [virtual] |
Definition at line 250 of file TCutG.cxx.
References fObjectX, fObjectY, TROOT::GetListOfSpecials(), gROOT, and TCollection::Remove().
| TCutG::TCutG | ( | ) |
pointer to an object corresponding to Y
| TCutG::TCutG | ( | const TCutG & | cutg | ) |
| TCutG::TCutG | ( | const char * | name, | |
| Int_t | n | |||
| ) |
| virtual TCutG::~TCutG | ( | ) | [virtual] |
| Double_t TCutG::Area | ( | ) | const [virtual] |
Definition at line 260 of file TCutG.cxx.
References a, TGraph::fX, TGraph::fY, TGraph::GetN(), i, and n.
Definition at line 276 of file TCutG.cxx.
References a, TGraph::fX, TGraph::fY, TGraph::GetN(), i, n, and t.
| TObject* TCutG::GetObjectX | ( | ) | const [inline] |
Definition at line 46 of file TCutG.h.
References fObjectX.
Referenced by TTreeFormula::DefinedVariable().
| TObject* TCutG::GetObjectY | ( | ) | const [inline] |
Definition at line 47 of file TCutG.h.
References fObjectY.
Referenced by TTreeFormula::DefinedVariable().
| const char* TCutG::GetVarX | ( | ) | const [inline] |
Definition at line 48 of file TCutG.h.
References TString::Data(), and fVarX.
Referenced by TTreeFormula::DefinedVariable(), and SavePrimitive().
| const char* TCutG::GetVarY | ( | ) | const [inline] |
Definition at line 49 of file TCutG.h.
References TString::Data(), and fVarY.
Referenced by TTreeFormula::DefinedVariable(), and SavePrimitive().
Definition at line 298 of file TCutG.cxx.
References TString::Contains(), TAxis::FindBin(), TGraph::fX, TGraph::fY, TAxis::GetBinCenter(), TAxis::GetBinWidth(), TGraph::GetN(), h, i, TGraph::IsInside(), kFALSE, kTRUE, n, TString::ToLower(), width, x, xmax, xmin, y, ymax, and ymin.
| void TCutG::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TGraph.
Definition at line 346 of file TCutG.cxx.
References xmlio::Class, TROOT::ClassSaved(), TGraph::fNpoints, TGraph::fX, TGraph::fY, TNamed::GetName(), TNamed::GetTitle(), GetVarX(), GetVarY(), gROOT, i, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), and TAttMarker::SaveMarkerAttributes().
| void TCutG::SetObjectX | ( | TObject * | obj | ) | [virtual] |
Definition at line 374 of file TCutG.cxx.
References fObjectX.
Referenced by TTreeFormula::DefinedVariable().
| void TCutG::SetObjectY | ( | TObject * | obj | ) | [virtual] |
Definition at line 383 of file TCutG.cxx.
References fObjectY.
Referenced by TTreeFormula::DefinedVariable().
| void TCutG::SetVarX | ( | const char * | varx | ) | [virtual] |
| void TCutG::SetVarY | ( | const char * | vary | ) | [virtual] |
| virtual Double_t TCutG::Area | ( | ) | const [virtual] |
| TObject* TCutG::GetObjectX | ( | ) | const [inline] |
| TObject* TCutG::GetObjectY | ( | ) | const [inline] |
| const char* TCutG::GetVarX | ( | ) | const [inline] |
| const char* TCutG::GetVarY | ( | ) | const [inline] |
| virtual void TCutG::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TGraph.
| virtual void TCutG::SetObjectX | ( | TObject * | obj | ) | [virtual] |
| virtual void TCutG::SetObjectY | ( | TObject * | obj | ) | [virtual] |
| virtual void TCutG::SetVarX | ( | const char * | varx | ) | [virtual] |
| virtual void TCutG::SetVarY | ( | const char * | vary | ) | [virtual] |
TString TCutG::fVarX [protected] |
TString TCutG::fVarY [protected] |
TObject* TCutG::fObjectX [protected] |
Definition at line 34 of file TCutG.h.
Referenced by GetObjectX(), SetObjectX(), SetVarX(), TCutG(), and ~TCutG().
TObject* TCutG::fObjectY [protected] |
pointer to an object corresponding to X
Definition at line 35 of file TCutG.h.
Referenced by GetObjectY(), SetObjectY(), SetVarY(), TCutG(), and ~TCutG().
TObject* TCutG::fObjectX [protected] |
TObject* TCutG::fObjectY [protected] |
1.5.1