TSpider Class Reference

#include <TSpider.h>

Inheritance diagram for TSpider:

TObject TAttFill TAttLine TObject TAttFill TAttLine List of all members.

Public Member Functions

 TSpider ()
 TSpider (TTree *tree, const char *varexp, const char *selection, Option_t *option="", Long64_t nentries=0, Long64_t firstentry=0)
 ~TSpider ()
void AddSuperposed (TSpider *sp)
void AddVariable (const char *varexp)
void DeleteVariable (const char *varexp)
virtual void Draw (Option_t *options="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Style_t GetAverageLineStyle () const
Color_t GetAverageLineColor () const
Width_t GetAverageLineWidth () const
Color_t GetAverageFillColor () const
Style_t GetAverageFillStyle () const
Bool_t GetDisplayAverage () const
Long64_t GetCurrentEntry () const
Long64_t GetEntriesToProcess (Long64_t firstentry, Long64_t nentries) const
Int_t GetNx () const
Int_t GetNy () const
Bool_t GetSegmentDisplay () const
void GotoEntry (Long64_t e)
void GotoNext ()
void GotoPrevious ()
void GotoFollowing ()
void GotoPreceding ()
virtual void Paint (Option_t *options)
void SetAverageLineStyle (Style_t sty)
void SetAverageLineColor (Color_t col)
void SetAverageLineWidth (Width_t wid)
void SetAverageFillColor (Color_t col)
void SetAverageFillStyle (Style_t sty)
virtual void SetLineStyle (Style_t sty)
virtual void SetLineColor (Color_t col)
virtual void SetLineWidth (Width_t wid)
virtual void SetFillColor (Color_t col)
virtual void SetFillStyle (Style_t sty)
void SetDisplayAverage (Bool_t disp)
void SetVariablesExpression (const char *varexp)
void SetNdivRadial (Int_t div)
void SetNx (UInt_t nx)
void SetNy (UInt_t ny)
void SetSelectionExpression (const char *selexp)
void SetSegmentDisplay (Bool_t seg)
void SetShowRange (Bool_t showrange)
void SuperposeTo (TSpider *sp)
 TSpider ()
 TSpider (TTree *tree, const char *varexp, const char *selection, Option_t *option="", Long64_t nentries=0, Long64_t firstentry=0)
 ~TSpider ()
void AddSuperposed (TSpider *sp)
void AddVariable (const char *varexp)
void DeleteVariable (const char *varexp)
virtual void Draw (Option_t *options="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
Style_t GetAverageLineStyle () const
Color_t GetAverageLineColor () const
Width_t GetAverageLineWidth () const
Color_t GetAverageFillColor () const
Style_t GetAverageFillStyle () const
Bool_t GetDisplayAverage () const
Long64_t GetCurrentEntry () const
Long64_t GetEntriesToProcess (Long64_t firstentry, Long64_t nentries) const
Int_t GetNx () const
Int_t GetNy () const
Bool_t GetSegmentDisplay () const
void GotoEntry (Long64_t e)
void GotoNext ()
void GotoPrevious ()
void GotoFollowing ()
void GotoPreceding ()
virtual void Paint (Option_t *options)
void SetAverageLineStyle (Style_t sty)
void SetAverageLineColor (Color_t col)
void SetAverageLineWidth (Width_t wid)
void SetAverageFillColor (Color_t col)
void SetAverageFillStyle (Style_t sty)
virtual void SetLineStyle (Style_t sty)
virtual void SetLineColor (Color_t col)
virtual void SetLineWidth (Width_t wid)
virtual void SetFillColor (Color_t col)
virtual void SetFillStyle (Style_t sty)
void SetDisplayAverage (Bool_t disp)
void SetVariablesExpression (const char *varexp)
void SetNdivRadial (Int_t div)
void SetNx (UInt_t nx)
void SetNy (UInt_t ny)
void SetSelectionExpression (const char *selexp)
void SetSegmentDisplay (Bool_t seg)
void SetShowRange (Bool_t showrange)
void SuperposeTo (TSpider *sp)

Private Member Functions

Int_t FindTextAlign (Double_t theta)
Double_t FindTextAngle (Double_t theta)
void InitVariables (Long64_t firstentry, Long64_t nentries)
void DrawPoly (Option_t *options)
void DrawPolyAverage (Option_t *options)
void DrawSlices (Option_t *options)
void DrawSlicesAverage (Option_t *options)
void SyncFormulas ()
void InitArrays (Int_t newsize)
void SetCurrentEntries ()
void UpdateView ()
Int_t FindTextAlign (Double_t theta)
Double_t FindTextAngle (Double_t theta)
void InitVariables (Long64_t firstentry, Long64_t nentries)
void DrawPoly (Option_t *options)
void DrawPolyAverage (Option_t *options)
void DrawSlices (Option_t *options)
void DrawSlicesAverage (Option_t *options)
void SyncFormulas ()
void InitArrays (Int_t newsize)
void SetCurrentEntries ()
void UpdateView ()

Private Attributes

UInt_t fNx
UInt_t fNy
UInt_t fNcols
Int_t fArraySize
Long64_t fEntry
Long64_t fNentries
Long64_t fFirstEntry
Long64_tfCurrentEntries
Double_tfAve
 [fNx*fNy] current selected entries;
Double_tfMax
Double_tfMin
TListfSuperposed
TTreefTree
TPolyLinefAveragePoly
TArc ** fAverageSlices
TCanvasfCanvas
 Average slices.
TListfFormulas
 Pointer to the mother pad.
TListfInput
TTreeFormulaManagerfManager
TGraphPolargramfPolargram
TListfPolyList
TTreeFormulafSelect
TSelectorDrawfSelector
Bool_t fAngularLabels
 Selector.
Bool_t fDisplayAverage
Bool_t fForceDim
Bool_t fSegmentDisplay
Bool_t fShowRange
Long64_tfCurrentEntries
Double_tfAve
 [fNx*fNy] current selected entries;
Double_tfMax
Double_tfMin
TListfSuperposed
TTreefTree
TPolyLinefAveragePoly
TArc ** fAverageSlices
TCanvasfCanvas
 Average slices.
TListfFormulas
 Pointer to the mother pad.
TListfInput
TTreeFormulaManagerfManager
TGraphPolargramfPolargram
TListfPolyList
TTreeFormulafSelect
TSelectorDrawfSelector

Detailed Description

Definition at line 52 of file TSpider.h.


Constructor & Destructor Documentation

TSpider::TSpider (  ) 

TSpider::TSpider ( TTree tree,
const char *  varexp,
const char *  selection,
Option_t option = "",
Long64_t  nentries = 0,
Long64_t  firstentry = 0 
)

Definition at line 107 of file TSpider.cxx.

References TSeqCollection::Add(), TList::Add(), TString::Contains(), fAngularLabels, fArraySize, fAveragePoly, fAverageSlices, fCanvas, fCurrentEntries, fDisplayAverage, fEntry, fFirstEntry, fForceDim, fFormulas, fInput, fManager, fNcols, fNentries, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, fSelect, fSelector, fShowRange, fSuperposed, fTree, TTree::GetEstimate(), TROOT::GetListOfCleanups(), gROOT, InitVariables(), kFALSE, kTRUE, Long64_t, NULL, TSelector::SetInputList(), TTree::SetScanField(), SetSelectionExpression(), SetVariablesExpression(), and SyncFormulas().

TSpider::~TSpider (  ) 

Definition at line 168 of file TSpider.cxx.

References TCanvas::cd(), TList::Delete(), fAve, fAverageSlices, fCanvas, fCurrentEntries, fFormulas, fInput, fMax, fMin, fPolyList, fSelect, fSelector, and fSuperposed.

TSpider::TSpider (  ) 

TSpider::TSpider ( TTree tree,
const char *  varexp,
const char *  selection,
Option_t option = "",
Long64_t  nentries = 0,
Long64_t  firstentry = 0 
)

TSpider::~TSpider (  ) 


Member Function Documentation

Int_t TSpider::FindTextAlign ( Double_t  theta  )  [private]

Definition at line 681 of file TSpider.cxx.

References fAngularLabels, TMath::Pi(), and pi.

Referenced by Paint().

Double_t TSpider::FindTextAngle ( Double_t  theta  )  [private]

Definition at line 711 of file TSpider.cxx.

References TMath::Pi(), and pi.

Referenced by Paint().

void TSpider::InitVariables ( Long64_t  firstentry,
Long64_t  nentries 
) [private]

Definition at line 846 of file TSpider.cxx.

References TList::At(), entry, fArraySize, fAve, fForceDim, fFormulas, fManager, fMax, fMin, fNcols, fSelect, fTree, TTree::GetEntryNumber(), TTreeFormula::GetNdata(), TTree::GetTreeNumber(), i, kFALSE, kTRUE, TSeqCollection::LastIndex(), TTree::LoadTree(), Long64_t, ndata, and TTreeFormulaManager::UpdateFormulaLeaves().

Referenced by TSpider().

void TSpider::DrawPoly ( Option_t options  )  [private]

Definition at line 527 of file TSpider.cxx.

References TList::Add(), TList::At(), TMath::Cos(), TPolyLine::Draw(), fFormulas, fMax, fMin, fNcols, fPolyList, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), i, TMath::Pi(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TMath::Sin(), x, and y.

Referenced by Draw(), SetDisplayAverage(), SetNx(), SetNy(), and SetSegmentDisplay().

void TSpider::DrawPolyAverage ( Option_t options  )  [private]

Definition at line 488 of file TSpider.cxx.

References TMath::Cos(), TPolyLine::Draw(), fAve, fAveragePoly, fMax, fMin, fNcols, TMath::Pi(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TMath::Sin(), x, and y.

Referenced by Draw(), SetDisplayAverage(), SetNx(), SetNy(), and SetSegmentDisplay().

void TSpider::DrawSlices ( Option_t options  )  [private]

Definition at line 558 of file TSpider.cxx.

References TList::Add(), TList::At(), TEllipse::Draw(), fFormulas, fMax, fMin, fNcols, fPolyList, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TMath::Pi(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), and TAttLine::SetLineWidth().

Referenced by Draw(), SetDisplayAverage(), SetNx(), SetNy(), and SetSegmentDisplay().

void TSpider::DrawSlicesAverage ( Option_t options  )  [private]

Definition at line 585 of file TSpider.cxx.

References Draw(), fAve, fAverageSlices, fMax, fMin, fNcols, TMath::Pi(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), and TAttLine::SetLineWidth().

Referenced by Draw(), SetDisplayAverage(), SetNx(), SetNy(), and SetSegmentDisplay().

void TSpider::SyncFormulas (  )  [private]

Definition at line 1546 of file TSpider.cxx.

References TTreeFormulaManager::Add(), TList::At(), fForceDim, fFormulas, fManager, fSelect, i, kTRUE, TSeqCollection::LastIndex(), and TTreeFormulaManager::Sync().

Referenced by AddVariable(), DeleteVariable(), and TSpider().

void TSpider::InitArrays ( Int_t  newsize  )  [private]

Definition at line 807 of file TSpider.cxx.

References fArraySize, fAve, fMax, fMin, and i.

Referenced by AddVariable().

void TSpider::SetCurrentEntries (  )  [private]

Definition at line 1087 of file TSpider.cxx.

References TList::At(), entry, fCurrentEntries, fEntry, fForceDim, fFormulas, fManager, fNcols, fPolyList, fSelect, fTree, TTree::GetEntryNumber(), TTreeFormula::GetNdata(), TTree::GetScanField(), TTree::GetTreeNumber(), i, kFALSE, kTRUE, TSeqCollection::LastIndex(), TTree::LoadTree(), Long64_t, ndata, TTreeFormulaManager::UpdateFormulaLeaves(), and UpdateView().

Referenced by Draw(), GotoEntry(), GotoFollowing(), GotoNext(), GotoPreceding(), GotoPrevious(), SetNx(), and SetNy().

void TSpider::UpdateView (  )  [private]

Definition at line 1579 of file TSpider.cxx.

References TList::At(), TMath::Cos(), fCurrentEntries, fFormulas, fMax, fMin, fNcols, fNx, fNy, fPolyList, fSegmentDisplay, fTree, i, TTree::LoadTree(), TMath::Pi(), TMath::Sin(), x, and y.

Referenced by SetCurrentEntries().

void TSpider::AddSuperposed ( TSpider sp  ) 

Definition at line 201 of file TSpider.cxx.

References TList::Add(), and fSuperposed.

Referenced by SuperposeTo().

void TSpider::AddVariable ( const char *  varexp  ) 

Definition at line 211 of file TSpider.cxx.

References TList::AddAfter(), TList::At(), TCanvas::Clear(), TList::Delete(), TObject::Delete(), TPad::Divide(), Draw(), entry, TTreeFormula::EvalInstance(), fAve, fAveragePoly, fAverageSlices, fc, fCanvas, fFirstEntry, fForceDim, fFormulas, fManager, fMax, fMin, fNcols, fNentries, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, fSelect, fTree, TTree::GetEntryNumber(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TTreeFormula::GetNdata(), TFormula::GetNdim(), TTree::GetTreeNumber(), i, InitArrays(), kFALSE, kTRUE, TSeqCollection::LastIndex(), TTree::LoadTree(), Long64_t, ndata, NULL, TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetLineColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), SyncFormulas(), and TTreeFormulaManager::UpdateFormulaLeaves().

Referenced by TSpiderEditor::DoAddVar().

void TSpider::DeleteVariable ( const char *  varexp  ) 

Definition at line 348 of file TSpider.cxx.

References TList::At(), TCanvas::Clear(), TList::Delete(), TObject::Delete(), TPad::Divide(), Draw(), fAve, fAveragePoly, fAverageSlices, fc, fCanvas, fFormulas, fMax, fMin, fNcols, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TObject::GetTitle(), kTRUE, NULL, TList::Remove(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetLineColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), SetSegmentDisplay(), and SyncFormulas().

Referenced by TSpiderEditor::DoDeleteVar().

void TSpider::Draw ( Option_t options = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 449 of file TSpider.cxx.

References TObject::AppendPad(), TCanvas::cd(), TPad::Divide(), TGraphPolargram::Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), fCanvas, fCurrentEntries, fDisplayAverage, fNcols, fNx, fNy, fPolargram, fSegmentDisplay, fTree, gEnv, gPad, TTree::LoadTree(), TCanvas::Selected(), SetCurrentEntries(), TGraphPolargram::SetNdivPolar(), TGraphPolargram::SetNdivRadial(), and TEnv::SetValue().

Referenced by AddVariable(), DeleteVariable(), and DrawSlicesAverage().

Int_t TSpider::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 433 of file TSpider.cxx.

References gPad, and r2.

void TSpider::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 672 of file TSpider.cxx.

References gPad, and kHand.

Style_t TSpider::GetAverageLineStyle (  )  const

Definition at line 617 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, and TAttLine::GetLineStyle().

Referenced by TSpiderEditor::SetModel().

Color_t TSpider::GetAverageLineColor (  )  const

Definition at line 628 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, and TAttLine::GetLineColor().

Referenced by TSpiderEditor::SetModel().

Width_t TSpider::GetAverageLineWidth (  )  const

Definition at line 639 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, and TAttLine::GetLineWidth().

Referenced by TSpiderEditor::SetModel().

Color_t TSpider::GetAverageFillColor (  )  const

Definition at line 650 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, and TAttFill::GetFillColor().

Referenced by TSpiderEditor::SetModel().

Style_t TSpider::GetAverageFillStyle (  )  const

Definition at line 661 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, and TAttFill::GetFillStyle().

Referenced by TSpiderEditor::SetModel().

Bool_t TSpider::GetDisplayAverage (  )  const [inline]

Definition at line 111 of file TSpider.h.

References fDisplayAverage.

Referenced by TSpiderEditor::SetModel().

Long64_t TSpider::GetCurrentEntry (  )  const [inline]

Definition at line 112 of file TSpider.h.

References fEntry.

Referenced by TSpiderEditor::SetModel().

Long64_t TSpider::GetEntriesToProcess ( Long64_t  firstentry,
Long64_t  nentries 
) const

Definition at line 732 of file TSpider.cxx.

References elist, fTree, TTree::GetEntriesFriend(), TTree::GetEntryList(), TEntryList::GetN(), and Long64_t.

Int_t TSpider::GetNx ( void   )  const [inline]

Definition at line 114 of file TSpider.h.

References fNx.

Referenced by TSpiderEditor::SetModel().

Int_t TSpider::GetNy ( void   )  const [inline]

Definition at line 115 of file TSpider.h.

References fNy.

Referenced by TSpiderEditor::SetModel().

Bool_t TSpider::GetSegmentDisplay (  )  const [inline]

Definition at line 116 of file TSpider.h.

References fSegmentDisplay.

Referenced by TSpiderEditor::SetModel().

void TSpider::GotoEntry ( Long64_t  e  ) 

Definition at line 752 of file TSpider.cxx.

References fEntry, fFirstEntry, fNentries, and SetCurrentEntries().

Referenced by TSpiderEditor::DoGotoEntry().

void TSpider::GotoNext (  ) 

Definition at line 763 of file TSpider.cxx.

References fCurrentEntries, fEntry, fFirstEntry, fNentries, fTree, TTree::GetScanField(), and SetCurrentEntries().

Referenced by TSpiderEditor::DoGotoNext().

void TSpider::GotoPrevious (  ) 

Definition at line 774 of file TSpider.cxx.

References fEntry, fFirstEntry, fNentries, fTree, TTree::GetScanField(), and SetCurrentEntries().

Referenced by TSpiderEditor::DoGotoPrevious().

void TSpider::GotoFollowing (  ) 

Definition at line 785 of file TSpider.cxx.

References fEntry, fFirstEntry, fNentries, fTree, TTree::GetScanField(), and SetCurrentEntries().

Referenced by TSpiderEditor::DoGotoFollowing().

void TSpider::GotoPreceding (  ) 

Definition at line 796 of file TSpider.cxx.

References fEntry, fFirstEntry, and SetCurrentEntries().

Referenced by TSpiderEditor::DoGotoPreceding().

void TSpider::Paint ( Option_t options  )  [virtual]

Reimplemented from TObject.

Definition at line 933 of file TSpider.cxx.

References TList::At(), TCanvas::cd(), TString::Contains(), TMath::Cos(), fCanvas, fCurrentEntries, fFormulas, FindTextAlign(), FindTextAngle(), fMax, fMin, fNcols, fNx, fNy, Form(), TPad::GetCanvas(), TAttText::GetTextSize(), TObject::GetTitle(), gPad, TLatex::PaintLatex(), TMath::Pi(), TAttText::SetTextAlign(), TAttText::SetTextSize(), and TMath::Sin().

void TSpider::SetAverageLineStyle ( Style_t  sty  ) 

Definition at line 981 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, fNcols, and SetLineStyle().

Referenced by TSpiderEditor::DoAvLineStyle().

void TSpider::SetAverageLineColor ( Color_t  col  ) 

Definition at line 994 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, fNcols, and SetLineColor().

Referenced by TSpiderEditor::DoAvLineColor().

void TSpider::SetAverageLineWidth ( Width_t  wid  ) 

Definition at line 1007 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, fNcols, and SetLineWidth().

Referenced by TSpiderEditor::DoAvLineWidth().

void TSpider::SetAverageFillColor ( Color_t  col  ) 

Definition at line 1020 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, fNcols, and SetFillColor().

Referenced by TSpiderEditor::DoAvFillColor().

void TSpider::SetAverageFillStyle ( Style_t  sty  ) 

Definition at line 1033 of file TSpider.cxx.

References fAveragePoly, fAverageSlices, fNcols, and SetFillStyle().

Referenced by TSpiderEditor::DoAvFillPattern().

void TSpider::SetLineStyle ( Style_t  sty  )  [virtual]

Reimplemented from TAttLine.

Definition at line 1158 of file TSpider.cxx.

References TList::At(), fNcols, fNx, fNy, fPolyList, fSegmentDisplay, and TAttLine::SetLineStyle().

Referenced by SetAverageLineStyle().

void TSpider::SetLineColor ( Color_t  col  )  [virtual]

Reimplemented from TAttLine.

Definition at line 1175 of file TSpider.cxx.

References TList::At(), fNcols, fNx, fNy, fPolyList, fSegmentDisplay, and TAttLine::SetLineColor().

Referenced by AddVariable(), DeleteVariable(), SetAverageLineColor(), SetNx(), SetNy(), and SetSegmentDisplay().

void TSpider::SetLineWidth ( Width_t  wid  )  [virtual]

Reimplemented from TAttLine.

Definition at line 1192 of file TSpider.cxx.

References TList::At(), fNcols, fNx, fNy, fPolyList, fSegmentDisplay, and TAttLine::SetLineWidth().

Referenced by SetAverageLineWidth().

void TSpider::SetFillColor ( Color_t  col  )  [virtual]

Reimplemented from TAttFill.

Definition at line 1209 of file TSpider.cxx.

References TList::At(), fNcols, fNx, fNy, fPolyList, fSegmentDisplay, and TAttFill::SetFillColor().

Referenced by SetAverageFillColor().

void TSpider::SetFillStyle ( Style_t  sty  )  [virtual]

Reimplemented from TAttFill.

Definition at line 1226 of file TSpider.cxx.

References TList::At(), fNcols, fNx, fNy, fPolyList, fSegmentDisplay, and TAttFill::SetFillStyle().

Referenced by SetAverageFillStyle().

void TSpider::SetDisplayAverage ( Bool_t  disp  ) 

Definition at line 1046 of file TSpider.cxx.

References TObject::AppendPad(), TCanvas::cd(), TGraphPolargram::Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), fAveragePoly, fAverageSlices, fCanvas, fCurrentEntries, fDisplayAverage, fNcols, fNx, fNy, fPolargram, fSegmentDisplay, fTree, gPad, TTree::LoadTree(), TPad::Modified(), NULL, and TCanvas::Update().

Referenced by TSpiderEditor::DoDisplayAverage().

void TSpider::SetVariablesExpression ( const char *  varexp  ) 

Definition at line 1507 of file TSpider.cxx.

References TList::Add(), TObjArray::At(), fFormulas, fNcols, fSelector, fTree, TObjArray::GetEntriesFast(), TTree::GetListOfLeaves(), and TSelectorDraw::SplitNames().

Referenced by TSpider().

void TSpider::SetNdivRadial ( Int_t  div  ) 

Definition at line 1243 of file TSpider.cxx.

References fPolargram, TGraphPolargram::GetNdivRadial(), and TGraphPolargram::SetNdivRadial().

void TSpider::SetNx ( UInt_t  nx  ) 

Definition at line 1253 of file TSpider.cxx.

References TObject::AppendPad(), TList::At(), TCanvas::cd(), TCanvas::Clear(), TList::Delete(), TObject::Delete(), TPad::Divide(), TGraphPolargram::Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), fAveragePoly, fAverageSlices, fc, fCanvas, fCurrentEntries, fDisplayAverage, fEntry, fNcols, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, fTree, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TTree::LoadTree(), NULL, SetCurrentEntries(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetLineColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and TTree::SetScanField().

Referenced by TSpiderEditor::DoSetNx().

void TSpider::SetNy ( UInt_t  ny  ) 

Definition at line 1329 of file TSpider.cxx.

References TObject::AppendPad(), TList::At(), TCanvas::cd(), TCanvas::Clear(), TList::Delete(), TObject::Delete(), TPad::Divide(), TGraphPolargram::Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), fAveragePoly, fAverageSlices, fc, fCanvas, fCurrentEntries, fDisplayAverage, fEntry, fNcols, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, fTree, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TTree::LoadTree(), NULL, SetCurrentEntries(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetLineColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and TTree::SetScanField().

Referenced by TSpiderEditor::DoSetNy().

void TSpider::SetSelectionExpression ( const char *  selexp  ) 

Definition at line 1493 of file TSpider.cxx.

References TList::Add(), fFormulas, fSelect, and fTree.

Referenced by TSpider().

void TSpider::SetSegmentDisplay ( Bool_t  seg  ) 

Definition at line 1405 of file TSpider.cxx.

References TObject::AppendPad(), TList::At(), TCanvas::cd(), TList::Delete(), TObject::Delete(), TGraphPolargram::Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), fAveragePoly, fAverageSlices, fc, fCanvas, fCurrentEntries, fDisplayAverage, fNcols, fNx, fNy, fPolargram, fPolyList, fSegmentDisplay, fTree, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), gPad, TTree::LoadTree(), TPad::Modified(), NULL, TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetLineColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and TCanvas::Update().

Referenced by DeleteVariable(), and TSpiderEditor::DoSetPlotType().

void TSpider::SetShowRange ( Bool_t  showrange  )  [inline]

Definition at line 140 of file TSpider.h.

References fShowRange.

void TSpider::SuperposeTo ( TSpider sp  )  [inline]

Definition at line 141 of file TSpider.h.

References AddSuperposed().

Int_t TSpider::FindTextAlign ( Double_t  theta  )  [private]

Double_t TSpider::FindTextAngle ( Double_t  theta  )  [private]

void TSpider::InitVariables ( Long64_t  firstentry,
Long64_t  nentries 
) [private]

void TSpider::DrawPoly ( Option_t options  )  [private]

void TSpider::DrawPolyAverage ( Option_t options  )  [private]

void TSpider::DrawSlices ( Option_t options  )  [private]

void TSpider::DrawSlicesAverage ( Option_t options  )  [private]

void TSpider::SyncFormulas (  )  [private]

void TSpider::InitArrays ( Int_t  newsize  )  [private]

void TSpider::SetCurrentEntries (  )  [private]

void TSpider::UpdateView (  )  [private]

void TSpider::AddSuperposed ( TSpider sp  ) 

void TSpider::AddVariable ( const char *  varexp  ) 

void TSpider::DeleteVariable ( const char *  varexp  ) 

virtual void TSpider::Draw ( Option_t options = ""  )  [virtual]

Reimplemented from TObject.

virtual Int_t TSpider::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

virtual void TSpider::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Style_t TSpider::GetAverageLineStyle (  )  const

Color_t TSpider::GetAverageLineColor (  )  const

Width_t TSpider::GetAverageLineWidth (  )  const

Color_t TSpider::GetAverageFillColor (  )  const

Style_t TSpider::GetAverageFillStyle (  )  const

Bool_t TSpider::GetDisplayAverage (  )  const [inline]

Definition at line 111 of file TSpider.h.

References fDisplayAverage.

Long64_t TSpider::GetCurrentEntry (  )  const [inline]

Definition at line 112 of file TSpider.h.

References fEntry.

Long64_t TSpider::GetEntriesToProcess ( Long64_t  firstentry,
Long64_t  nentries 
) const

Int_t TSpider::GetNx ( void   )  const [inline]

Definition at line 114 of file TSpider.h.

References fNx.

Int_t TSpider::GetNy ( void   )  const [inline]

Definition at line 115 of file TSpider.h.

References fNy.

Bool_t TSpider::GetSegmentDisplay (  )  const [inline]

Definition at line 116 of file TSpider.h.

References fSegmentDisplay.

void TSpider::GotoEntry ( Long64_t  e  ) 

void TSpider::GotoNext (  ) 

void TSpider::GotoPrevious (  ) 

void TSpider::GotoFollowing (  ) 

void TSpider::GotoPreceding (  ) 

virtual void TSpider::Paint ( Option_t options  )  [virtual]

Reimplemented from TObject.

void TSpider::SetAverageLineStyle ( Style_t  sty  ) 

void TSpider::SetAverageLineColor ( Color_t  col  ) 

void TSpider::SetAverageLineWidth ( Width_t  wid  ) 

void TSpider::SetAverageFillColor ( Color_t  col  ) 

void TSpider::SetAverageFillStyle ( Style_t  sty  ) 

virtual void TSpider::SetLineStyle ( Style_t  sty  )  [virtual]

Reimplemented from TAttLine.

virtual void TSpider::SetLineColor ( Color_t  col  )  [virtual]

Reimplemented from TAttLine.

virtual void TSpider::SetLineWidth ( Width_t  wid  )  [virtual]

Reimplemented from TAttLine.

virtual void TSpider::SetFillColor ( Color_t  col  )  [virtual]

Reimplemented from TAttFill.

virtual void TSpider::SetFillStyle ( Style_t  sty  )  [virtual]

Reimplemented from TAttFill.

void TSpider::SetDisplayAverage ( Bool_t  disp  ) 

void TSpider::SetVariablesExpression ( const char *  varexp  ) 

void TSpider::SetNdivRadial ( Int_t  div  ) 

void TSpider::SetNx ( UInt_t  nx  ) 

void TSpider::SetNy ( UInt_t  ny  ) 

void TSpider::SetSelectionExpression ( const char *  selexp  ) 

void TSpider::SetSegmentDisplay ( Bool_t  seg  ) 

void TSpider::SetShowRange ( Bool_t  showrange  )  [inline]

Definition at line 140 of file TSpider.h.

References fShowRange.

void TSpider::SuperposeTo ( TSpider sp  )  [inline]

Definition at line 141 of file TSpider.h.

References AddSuperposed().


Member Data Documentation

UInt_t TSpider::fNx [private]

Definition at line 54 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), GetNx(), Paint(), SetDisplayAverage(), SetFillColor(), SetFillStyle(), SetLineColor(), SetLineStyle(), SetLineWidth(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), and UpdateView().

UInt_t TSpider::fNy [private]

Definition at line 55 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), GetNy(), Paint(), SetDisplayAverage(), SetFillColor(), SetFillStyle(), SetLineColor(), SetLineStyle(), SetLineWidth(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), and UpdateView().

UInt_t TSpider::fNcols [private]

Definition at line 56 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), InitVariables(), Paint(), SetAverageFillColor(), SetAverageFillStyle(), SetAverageLineColor(), SetAverageLineStyle(), SetAverageLineWidth(), SetCurrentEntries(), SetDisplayAverage(), SetFillColor(), SetFillStyle(), SetLineColor(), SetLineStyle(), SetLineWidth(), SetNx(), SetNy(), SetSegmentDisplay(), SetVariablesExpression(), TSpider(), and UpdateView().

Int_t TSpider::fArraySize [private]

Definition at line 57 of file TSpider.h.

Referenced by InitArrays(), InitVariables(), and TSpider().

Long64_t TSpider::fEntry [private]

Definition at line 58 of file TSpider.h.

Referenced by GetCurrentEntry(), GotoEntry(), GotoFollowing(), GotoNext(), GotoPreceding(), GotoPrevious(), SetCurrentEntries(), SetNx(), SetNy(), and TSpider().

Long64_t TSpider::fNentries [private]

Definition at line 59 of file TSpider.h.

Referenced by AddVariable(), GotoEntry(), GotoFollowing(), GotoNext(), GotoPrevious(), and TSpider().

Long64_t TSpider::fFirstEntry [private]

Definition at line 60 of file TSpider.h.

Referenced by AddVariable(), GotoEntry(), GotoFollowing(), GotoNext(), GotoPreceding(), GotoPrevious(), and TSpider().

Long64_t* TSpider::fCurrentEntries [private]

Definition at line 61 of file TSpider.h.

Referenced by Draw(), GotoNext(), Paint(), SetCurrentEntries(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), UpdateView(), and ~TSpider().

Double_t* TSpider::fAve [private]

[fNx*fNy] current selected entries;

Definition at line 62 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPolyAverage(), DrawSlicesAverage(), InitArrays(), InitVariables(), and ~TSpider().

Double_t* TSpider::fMax [private]

Definition at line 63 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), InitArrays(), InitVariables(), Paint(), UpdateView(), and ~TSpider().

Double_t* TSpider::fMin [private]

Definition at line 64 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPoly(), DrawPolyAverage(), DrawSlices(), DrawSlicesAverage(), InitArrays(), InitVariables(), Paint(), UpdateView(), and ~TSpider().

TList* TSpider::fSuperposed [private]

Definition at line 65 of file TSpider.h.

Referenced by AddSuperposed(), TSpider(), and ~TSpider().

TTree* TSpider::fTree [private]

Definition at line 66 of file TSpider.h.

Referenced by AddVariable(), Draw(), GetEntriesToProcess(), GotoFollowing(), GotoNext(), GotoPrevious(), InitVariables(), SetCurrentEntries(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), SetSelectionExpression(), SetVariablesExpression(), TSpider(), and UpdateView().

TPolyLine* TSpider::fAveragePoly [private]

Definition at line 67 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPolyAverage(), GetAverageFillColor(), GetAverageFillStyle(), GetAverageLineColor(), GetAverageLineStyle(), GetAverageLineWidth(), SetAverageFillColor(), SetAverageFillStyle(), SetAverageLineColor(), SetAverageLineStyle(), SetAverageLineWidth(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), and TSpider().

TArc** TSpider::fAverageSlices [private]

Definition at line 68 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawSlicesAverage(), GetAverageFillColor(), GetAverageFillStyle(), GetAverageLineColor(), GetAverageLineStyle(), GetAverageLineWidth(), SetAverageFillColor(), SetAverageFillStyle(), SetAverageLineColor(), SetAverageLineStyle(), SetAverageLineWidth(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), and ~TSpider().

TCanvas* TSpider::fCanvas [private]

Average slices.

Definition at line 69 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), Paint(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), and ~TSpider().

TList* TSpider::fFormulas [private]

Pointer to the mother pad.

Definition at line 70 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPoly(), DrawSlices(), InitVariables(), Paint(), SetCurrentEntries(), SetSelectionExpression(), SetVariablesExpression(), SyncFormulas(), TSpider(), UpdateView(), and ~TSpider().

TList* TSpider::fInput [private]

Definition at line 71 of file TSpider.h.

Referenced by TSpider(), and ~TSpider().

TTreeFormulaManager* TSpider::fManager [private]

Definition at line 72 of file TSpider.h.

Referenced by AddVariable(), InitVariables(), SetCurrentEntries(), SyncFormulas(), and TSpider().

TGraphPolargram* TSpider::fPolargram [private]

Definition at line 73 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), SetDisplayAverage(), SetNdivRadial(), SetNx(), SetNy(), SetSegmentDisplay(), and TSpider().

TList* TSpider::fPolyList [private]

Definition at line 74 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), DrawPoly(), DrawSlices(), SetCurrentEntries(), SetFillColor(), SetFillStyle(), SetLineColor(), SetLineStyle(), SetLineWidth(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), UpdateView(), and ~TSpider().

TTreeFormula* TSpider::fSelect [private]

Definition at line 75 of file TSpider.h.

Referenced by AddVariable(), InitVariables(), SetCurrentEntries(), SetSelectionExpression(), SyncFormulas(), TSpider(), and ~TSpider().

TSelectorDraw* TSpider::fSelector [private]

Definition at line 76 of file TSpider.h.

Referenced by SetVariablesExpression(), TSpider(), and ~TSpider().

Bool_t TSpider::fAngularLabels [private]

Selector.

Definition at line 77 of file TSpider.h.

Referenced by FindTextAlign(), and TSpider().

Bool_t TSpider::fDisplayAverage [private]

Definition at line 78 of file TSpider.h.

Referenced by Draw(), GetDisplayAverage(), SetDisplayAverage(), SetNx(), SetNy(), SetSegmentDisplay(), and TSpider().

Bool_t TSpider::fForceDim [private]

Definition at line 79 of file TSpider.h.

Referenced by AddVariable(), InitVariables(), SetCurrentEntries(), SyncFormulas(), and TSpider().

Bool_t TSpider::fSegmentDisplay [private]

Definition at line 80 of file TSpider.h.

Referenced by AddVariable(), DeleteVariable(), Draw(), GetSegmentDisplay(), SetDisplayAverage(), SetFillColor(), SetFillStyle(), SetLineColor(), SetLineStyle(), SetLineWidth(), SetNx(), SetNy(), SetSegmentDisplay(), TSpider(), and UpdateView().

Bool_t TSpider::fShowRange [private]

Definition at line 81 of file TSpider.h.

Referenced by SetShowRange(), and TSpider().

Long64_t* TSpider::fCurrentEntries [private]

Definition at line 61 of file TSpider.h.

Double_t* TSpider::fAve [private]

[fNx*fNy] current selected entries;

Definition at line 62 of file TSpider.h.

Double_t* TSpider::fMax [private]

Definition at line 63 of file TSpider.h.

Double_t* TSpider::fMin [private]

Definition at line 64 of file TSpider.h.

TList* TSpider::fSuperposed [private]

Definition at line 65 of file TSpider.h.

TTree* TSpider::fTree [private]

Definition at line 66 of file TSpider.h.

TPolyLine* TSpider::fAveragePoly [private]

Definition at line 67 of file TSpider.h.

TArc** TSpider::fAverageSlices [private]

Definition at line 68 of file TSpider.h.

TCanvas* TSpider::fCanvas [private]

Average slices.

Definition at line 69 of file TSpider.h.

TList* TSpider::fFormulas [private]

Pointer to the mother pad.

Definition at line 70 of file TSpider.h.

TList* TSpider::fInput [private]

Definition at line 71 of file TSpider.h.

TTreeFormulaManager* TSpider::fManager [private]

Definition at line 72 of file TSpider.h.

TGraphPolargram* TSpider::fPolargram [private]

Definition at line 73 of file TSpider.h.

TList* TSpider::fPolyList [private]

Definition at line 74 of file TSpider.h.

TTreeFormula* TSpider::fSelect [private]

Definition at line 75 of file TSpider.h.

TSelectorDraw* TSpider::fSelector [private]

Definition at line 76 of file TSpider.h.


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