TCutG Class Reference

#include <TCutG.h>

Inheritance diagram for TCutG:

TGraph TGraph TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed List of all members.

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
TObjectGetObjectX () const
TObjectGetObjectY () 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
TObjectGetObjectX () const
TObjectGetObjectY () 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
TObjectfObjectX
TObjectfObjectY
 pointer to an object corresponding to X
TObjectfObjectX
TObjectfObjectY
 pointer to an object corresponding to X

Detailed Description

Definition at line 29 of file TCutG.h.


Constructor & Destructor Documentation

TCutG::TCutG (  ) 

pointer to an object corresponding to Y

TCutG::TCutG ( const TCutG cutg  ) 

Definition at line 111 of file TCutG.cxx.

References fObjectX, fObjectY, fVarX, and fVarY.

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.

TCutG::TCutG ( const char *  name,
Int_t  n,
const Float_t x,
const Float_t y 
)

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.

TCutG::TCutG ( const char *  name,
Int_t  n,
const Double_t x,
const Double_t y 
)

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 
)

TCutG::TCutG ( const char *  name,
Int_t  n,
const Float_t x,
const Float_t y 
)

TCutG::TCutG ( const char *  name,
Int_t  n,
const Double_t x,
const Double_t y 
)

virtual TCutG::~TCutG (  )  [virtual]


Member Function Documentation

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.

void TCutG::Center ( Double_t cx,
Double_t cy 
) const [virtual]

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().

Double_t TCutG::IntegralHist ( TH2 h,
Option_t option = "" 
) const [virtual]

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]

Definition at line 392 of file TCutG.cxx.

References fObjectX, and fVarX.

Referenced by stress7().

void TCutG::SetVarY ( const char *  vary  )  [virtual]

Definition at line 403 of file TCutG.cxx.

References fObjectY, and fVarY.

Referenced by stress7().

virtual Double_t TCutG::Area (  )  const [virtual]

virtual void TCutG::Center ( Double_t cx,
Double_t cy 
) const [virtual]

TObject* TCutG::GetObjectX (  )  const [inline]

Definition at line 46 of file TCutG.h.

References fObjectX.

TObject* TCutG::GetObjectY (  )  const [inline]

Definition at line 47 of file TCutG.h.

References fObjectY.

const char* TCutG::GetVarX (  )  const [inline]

Definition at line 48 of file TCutG.h.

References TString::Data(), and fVarX.

const char* TCutG::GetVarY (  )  const [inline]

Definition at line 49 of file TCutG.h.

References TString::Data(), and fVarY.

virtual Double_t TCutG::IntegralHist ( TH2 h,
Option_t option = "" 
) const [virtual]

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]


Member Data Documentation

TString TCutG::fVarX [protected]

Definition at line 32 of file TCutG.h.

Referenced by GetVarX(), SetVarX(), and TCutG().

TString TCutG::fVarY [protected]

Definition at line 33 of file TCutG.h.

Referenced by GetVarY(), SetVarY(), and TCutG().

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]

Definition at line 34 of file TCutG.h.

TObject* TCutG::fObjectY [protected]

pointer to an object corresponding to X

Definition at line 35 of file TCutG.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1