TTreeFormulaManager Class Reference

#include <TTreeFormulaManager.h>

Inheritance diagram for TTreeFormulaManager:

TObject TObject List of all members.

Public Member Functions

 TTreeFormulaManager ()
virtual void Add (TTreeFormula *)
virtual Int_t GetMultiplicity () const
virtual Int_t GetNdata (Bool_t forceLoadDim=kFALSE)
virtual Bool_t Notify ()
virtual void Remove (TTreeFormula *)
virtual Bool_t Sync ()
virtual void UpdateFormulaLeaves ()
 TTreeFormulaManager ()
virtual void Add (TTreeFormula *)
virtual Int_t GetMultiplicity () const
virtual Int_t GetNdata (Bool_t forceLoadDim=kFALSE)
virtual Bool_t Notify ()
virtual void Remove (TTreeFormula *)
virtual Bool_t Sync ()
virtual void UpdateFormulaLeaves ()

Protected Member Functions

virtual void AddVarDims (Int_t virt_dim)
virtual void CancelDimension (Int_t virt_dim)
virtual void EnableMultiVarDims ()
virtual void UpdateUsedSize (Int_t &virt_dim, Int_t vsize)
virtual void AddVarDims (Int_t virt_dim)
virtual void CancelDimension (Int_t virt_dim)
virtual void EnableMultiVarDims ()
virtual void UpdateUsedSize (Int_t &virt_dim, Int_t vsize)

Private Member Functions

 TTreeFormulaManager (const TTreeFormulaManager &)
TTreeFormulaManageroperator= (const TTreeFormulaManager &)
 ~TTreeFormulaManager ()
 TTreeFormulaManager (const TTreeFormulaManager &)
TTreeFormulaManageroperator= (const TTreeFormulaManager &)
 ~TTreeFormulaManager ()

Private Attributes

TObjArray fFormulas
Int_t fMultiplicity
Bool_t fMultiVarDim
Int_t fNdata
Int_t fCumulUsedSizes [kMAXFORMDIM+1]
 Last value calculated by GetNdata.
TArrayIfCumulUsedVarDims
Int_t fUsedSizes [kMAXFORMDIM+1]
TArrayIfVarDims [kMAXFORMDIM+1]
Int_t fVirtUsedSizes [kMAXFORMDIM+1]
Bool_t fNeedSync
TArrayIfCumulUsedVarDims
TArrayIfVarDims [kMAXFORMDIM+1]

Friends

class TTreeFormula

Detailed Description

Definition at line 34 of file TTreeFormulaManager.h.


Constructor & Destructor Documentation

TTreeFormulaManager::TTreeFormulaManager ( const TTreeFormulaManager  )  [private]

TTreeFormulaManager::~TTreeFormulaManager (  )  [private]

Definition at line 53 of file TTreeFormulaManager.cxx.

References fCumulUsedVarDims, fVarDims, kMAXFORMDIM, and l.

TTreeFormulaManager::TTreeFormulaManager (  ) 

TTreeFormulaManager::TTreeFormulaManager ( const TTreeFormulaManager  )  [private]

TTreeFormulaManager::~TTreeFormulaManager (  )  [private]

TTreeFormulaManager::TTreeFormulaManager (  ) 


Member Function Documentation

TTreeFormulaManager& TTreeFormulaManager::operator= ( const TTreeFormulaManager  )  [private]

void TTreeFormulaManager::AddVarDims ( Int_t  virt_dim  )  [protected, virtual]

Definition at line 101 of file TTreeFormulaManager.cxx.

References fVarDims.

Referenced by TTreeFormula::DefineDimensions().

void TTreeFormulaManager::CancelDimension ( Int_t  virt_dim  )  [protected, virtual]

Definition at line 109 of file TTreeFormulaManager.cxx.

References fCumulUsedSizes.

void TTreeFormulaManager::EnableMultiVarDims (  )  [protected, virtual]

Definition at line 119 of file TTreeFormulaManager.cxx.

References fCumulUsedVarDims, fMultiVarDim, and kTRUE.

Referenced by TTreeFormula::DefineDimensions(), and TTreeFormula::RegisterDimensions().

void TTreeFormulaManager::UpdateUsedSize ( Int_t virt_dim,
Int_t  vsize 
) [protected, virtual]

Definition at line 319 of file TTreeFormulaManager.cxx.

References TMath::Abs(), fUsedSizes, and fVirtUsedSizes.

Referenced by TTreeFormula::DefineDimensions().

void TTreeFormulaManager::Add ( TTreeFormula  )  [virtual]

Definition at line 74 of file TTreeFormulaManager.cxx.

References TObjArray::Add(), fFormulas, TObjArray::FindObject(), TTreeFormula::fManager, fNeedSync, TObjArray::GetLast(), TTreeFormula::kNeedEntries, kTRUE, TObjArray::Remove(), TObject::SetBit(), and TObject::TestBit().

Referenced by TTreeTableInterface::AddColumn(), TMultiLayerPerceptron::AttachData(), TProofDraw::CompileVariables(), TSelectorDraw::CompileVariables(), TTreeFormula::DefinedVariable(), TTreeFormula::Init(), TTreePlayer::Principal(), TTreePlayer::Query(), TTreePlayer::Scan(), TMultiLayerPerceptron::SetEventWeight(), TTreeTableInterface::SetFormula(), TSPlot::SetTreeSelection(), TTreeTableInterface::SyncFormulas(), and TSpider::SyncFormulas().

virtual Int_t TTreeFormulaManager::GetMultiplicity (  )  const [inline, virtual]

Definition at line 78 of file TTreeFormulaManager.h.

References fMultiplicity.

Referenced by TProofDraw::CompileVariables(), TSelectorDraw::CompileVariables(), TTreeFormula::DefineAlternate(), TTreePlayer::Principal(), TTreePlayer::Query(), and TSPlot::SetTreeSelection().

Int_t TTreeFormulaManager::GetNdata ( Bool_t  forceLoadDim = kFALSE  )  [virtual]

Definition at line 129 of file TTreeFormulaManager.cxx.

References TMath::Abs(), TArrayI::AddAt(), TArrayI::At(), TObject::Error(), fCumulUsedSizes, fCumulUsedVarDims, fFormulas, TTreeFormula::fHasCast, fMultiplicity, TTreeFormula::fMultiplicity, fMultiVarDim, fNdata, fUsedSizes, fVarDims, fVirtUsedSizes, TObjArray::GetLast(), TArray::GetSize(), i, j, k, kMAXFORMDIM, TTreeFormula::LoadCurrentDim(), TArrayI::Set(), size, and TObjArray::UncheckedAt().

Referenced by TTreePlayer::Principal(), TProofDraw::Process(), TSelectorDraw::ProcessFill(), TSelectorDraw::ProcessFillMultiple(), TSelectorDraw::ProcessFillObject(), TTreePlayer::Query(), and TSPlot::SetTreeSelection().

virtual Bool_t TTreeFormulaManager::Notify (  )  [inline, virtual]

Reimplemented from TObject.

Definition at line 80 of file TTreeFormulaManager.h.

References kTRUE, and UpdateFormulaLeaves().

Referenced by TMultiLayerPerceptron::GetEntry().

void TTreeFormulaManager::Remove ( TTreeFormula  )  [virtual]

Definition at line 66 of file TTreeFormulaManager.cxx.

References fFormulas, and TObjArray::Remove().

Referenced by TTreeTableInterface::RemoveColumn(), TMultiLayerPerceptron::SetEventWeight(), TTreeTableInterface::SetFormula(), TTreeTableInterface::SetSelection(), and TTreeFormula::~TTreeFormula().

Bool_t TTreeFormulaManager::Sync (  )  [virtual]

Definition at line 224 of file TTreeFormulaManager.cxx.

References TMath::Abs(), TObject::Error(), fCumulUsedSizes, fFormulas, TTreeFormula::fHasCast, fMultiplicity, fNdata, fNeedSync, fUsedSizes, TObjArray::GetLast(), TTreeFormula::GetMultiplicity(), i, k, kFALSE, kMAXFORMDIM, TTreeFormula::ResetDimensions(), and TObjArray::UncheckedAt().

Referenced by TTreeTableInterface::AddColumn(), TProofDraw::CompileVariables(), TSelectorDraw::CompileVariables(), TTreeFormula::Init(), TTreePlayer::Principal(), TTreePlayer::Query(), TTreeTableInterface::RemoveColumn(), TTreePlayer::Scan(), TTreeTableInterface::SetFormula(), TSPlot::SetTreeSelection(), TTreeTableInterface::SyncFormulas(), and TSpider::SyncFormulas().

void TTreeFormulaManager::UpdateFormulaLeaves (  )  [virtual]

Definition at line 297 of file TTreeFormulaManager.cxx.

References fFormulas, TObjArray::GetLast(), i, size, and TObjArray::UncheckedAt().

Referenced by TSpider::AddVariable(), TTreeTableInterface::InitEntries(), TSpider::InitVariables(), Notify(), TProofDraw::Notify(), TTreePlayer::Principal(), TTreePlayer::Scan(), TSpider::SetCurrentEntries(), and TSPlot::SetTreeSelection().

TTreeFormulaManager& TTreeFormulaManager::operator= ( const TTreeFormulaManager  )  [private]

virtual void TTreeFormulaManager::AddVarDims ( Int_t  virt_dim  )  [protected, virtual]

virtual void TTreeFormulaManager::CancelDimension ( Int_t  virt_dim  )  [protected, virtual]

virtual void TTreeFormulaManager::EnableMultiVarDims (  )  [protected, virtual]

virtual void TTreeFormulaManager::UpdateUsedSize ( Int_t virt_dim,
Int_t  vsize 
) [protected, virtual]

virtual void TTreeFormulaManager::Add ( TTreeFormula  )  [virtual]

virtual Int_t TTreeFormulaManager::GetMultiplicity (  )  const [inline, virtual]

Definition at line 78 of file TTreeFormulaManager.h.

References fMultiplicity.

virtual Int_t TTreeFormulaManager::GetNdata ( Bool_t  forceLoadDim = kFALSE  )  [virtual]

virtual Bool_t TTreeFormulaManager::Notify (  )  [inline, virtual]

Reimplemented from TObject.

Definition at line 80 of file TTreeFormulaManager.h.

References kTRUE, and UpdateFormulaLeaves().

virtual void TTreeFormulaManager::Remove ( TTreeFormula  )  [virtual]

virtual Bool_t TTreeFormulaManager::Sync (  )  [virtual]

virtual void TTreeFormulaManager::UpdateFormulaLeaves (  )  [virtual]


Friends And Related Function Documentation

TTreeFormula [friend]

Definition at line 51 of file TTreeFormulaManager.h.


Member Data Documentation

TObjArray TTreeFormulaManager::fFormulas [private]

Definition at line 36 of file TTreeFormulaManager.h.

Referenced by Add(), GetNdata(), Remove(), Sync(), UpdateFormulaLeaves(), and TTreeFormula::~TTreeFormula().

Int_t TTreeFormulaManager::fMultiplicity [private]

Definition at line 37 of file TTreeFormulaManager.h.

Referenced by GetMultiplicity(), GetNdata(), and Sync().

Bool_t TTreeFormulaManager::fMultiVarDim [private]

Definition at line 38 of file TTreeFormulaManager.h.

Referenced by EnableMultiVarDims(), GetNdata(), and TTreeFormula::GetRealInstance().

Int_t TTreeFormulaManager::fNdata [private]

Definition at line 39 of file TTreeFormulaManager.h.

Referenced by GetNdata(), and Sync().

Int_t TTreeFormulaManager::fCumulUsedSizes [private]

Last value calculated by GetNdata.

Definition at line 42 of file TTreeFormulaManager.h.

Referenced by CancelDimension(), GetNdata(), TTreeFormula::GetRealInstance(), and Sync().

TArrayI* TTreeFormulaManager::fCumulUsedVarDims [private]

Definition at line 43 of file TTreeFormulaManager.h.

Referenced by EnableMultiVarDims(), GetNdata(), TTreeFormula::GetRealInstance(), and ~TTreeFormulaManager().

Int_t TTreeFormulaManager::fUsedSizes [private]

Definition at line 45 of file TTreeFormulaManager.h.

Referenced by GetNdata(), TTreeFormula::GetRealInstance(), Sync(), and UpdateUsedSize().

TArrayI* TTreeFormulaManager::fVarDims[kMAXFORMDIM+1] [private]

Definition at line 46 of file TTreeFormulaManager.h.

Referenced by AddVarDims(), GetNdata(), TTreeFormula::GetRealInstance(), and ~TTreeFormulaManager().

Int_t TTreeFormulaManager::fVirtUsedSizes [private]

Definition at line 47 of file TTreeFormulaManager.h.

Referenced by GetNdata(), and UpdateUsedSize().

Bool_t TTreeFormulaManager::fNeedSync [private]

Definition at line 49 of file TTreeFormulaManager.h.

Referenced by Add(), and Sync().

TArrayI* TTreeFormulaManager::fCumulUsedVarDims [private]

Definition at line 43 of file TTreeFormulaManager.h.

TArrayI* TTreeFormulaManager::fVarDims[kMAXFORMDIM+1] [private]

Definition at line 46 of file TTreeFormulaManager.h.


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