TFoam Class Reference

#include <TFoam.h>

Inheritance diagram for TFoam:

TObject TObject List of all members.

Public Member Functions

 TFoam ()
 TFoam (const Char_t *)
virtual ~TFoam ()
 TFoam (const TFoam &)
virtual void Initialize ()
virtual void Initialize (TRandom *, TFoamIntegrand *)
virtual void InitCells ()
virtual Int_t CellFill (Int_t, TFoamCell *)
virtual void Explore (TFoamCell *Cell)
virtual void Carver (Int_t &, Double_t &, Double_t &)
virtual void Varedu (Double_t[], Int_t &, Double_t &, Double_t &)
virtual void MakeAlpha ()
virtual void Grow ()
virtual Long_t PeekMax ()
virtual Int_t Divide (TFoamCell *)
virtual void MakeActiveList ()
virtual void GenerCel2 (TFoamCell *&)
virtual Double_t Eval (Double_t *)
virtual void MakeEvent ()
virtual void GetMCvect (Double_t *)
virtual void GetMCwt (Double_t &)
virtual Double_t GetMCwt ()
virtual Double_t MCgenerate (Double_t *MCvect)
virtual void GetIntegMC (Double_t &, Double_t &)
virtual void GetIntNorm (Double_t &, Double_t &)
virtual void GetWtParams (Double_t, Double_t &, Double_t &, Double_t &)
virtual void Finalize (Double_t &, Double_t &)
virtual TFoamIntegrandGetRho ()
virtual TRandomGetPseRan () const
virtual void SetRhoInt (void *Rho)
virtual void SetRho (TFoamIntegrand *Rho)
virtual void ResetRho (TFoamIntegrand *Rho)
virtual void SetPseRan (TRandom *PseRan)
virtual void ResetPseRan (TRandom *PseRan)
virtual void SetkDim (Int_t kDim)
virtual void SetnCells (Long_t nCells)
virtual void SetnSampl (Long_t nSampl)
virtual void SetnBin (Int_t nBin)
virtual void SetChat (Int_t Chat)
virtual void SetOptRej (Int_t OptRej)
virtual void SetOptDrive (Int_t OptDrive)
virtual void SetEvPerBin (Int_t EvPerBin)
virtual void SetMaxWtRej (Double_t MaxWtRej)
virtual void SetInhiDiv (Int_t, Int_t)
virtual void SetXdivPRD (Int_t, Int_t, Double_t[])
virtual const char * GetVersion () const
virtual Int_t GetTotDim () const
virtual Double_t GetPrimary () const
virtual void GetPrimary (Double_t &prime)
virtual Long_t GetnCalls () const
virtual Long_t GetnEffev () const
virtual void CheckAll (Int_t)
virtual void PrintCells ()
virtual void RootPlot2dim (Char_t *)
virtual void LinkCells (void)
 TFoam ()
 TFoam (const Char_t *)
virtual ~TFoam ()
 TFoam (const TFoam &)
virtual void Initialize ()
virtual void Initialize (TRandom *, TFoamIntegrand *)
virtual void InitCells ()
virtual Int_t CellFill (Int_t, TFoamCell *)
virtual void Explore (TFoamCell *Cell)
virtual void Carver (Int_t &, Double_t &, Double_t &)
virtual void Varedu (Double_t[], Int_t &, Double_t &, Double_t &)
virtual void MakeAlpha ()
virtual void Grow ()
virtual Long_t PeekMax ()
virtual Int_t Divide (TFoamCell *)
virtual void MakeActiveList ()
virtual void GenerCel2 (TFoamCell *&)
virtual Double_t Eval (Double_t *)
virtual void MakeEvent ()
virtual void GetMCvect (Double_t *)
virtual void GetMCwt (Double_t &)
virtual Double_t GetMCwt ()
virtual Double_t MCgenerate (Double_t *MCvect)
virtual void GetIntegMC (Double_t &, Double_t &)
virtual void GetIntNorm (Double_t &, Double_t &)
virtual void GetWtParams (Double_t, Double_t &, Double_t &, Double_t &)
virtual void Finalize (Double_t &, Double_t &)
virtual TFoamIntegrandGetRho ()
virtual TRandomGetPseRan () const
virtual void SetRhoInt (void *Rho)
virtual void SetRho (TFoamIntegrand *Rho)
virtual void ResetRho (TFoamIntegrand *Rho)
virtual void SetPseRan (TRandom *PseRan)
virtual void ResetPseRan (TRandom *PseRan)
virtual void SetkDim (Int_t kDim)
virtual void SetnCells (Long_t nCells)
virtual void SetnSampl (Long_t nSampl)
virtual void SetnBin (Int_t nBin)
virtual void SetChat (Int_t Chat)
virtual void SetOptRej (Int_t OptRej)
virtual void SetOptDrive (Int_t OptDrive)
virtual void SetEvPerBin (Int_t EvPerBin)
virtual void SetMaxWtRej (Double_t MaxWtRej)
virtual void SetInhiDiv (Int_t, Int_t)
virtual void SetXdivPRD (Int_t, Int_t, Double_t[])
virtual const char * GetVersion () const
virtual Int_t GetTotDim () const
virtual Double_t GetPrimary () const
virtual void GetPrimary (Double_t &prime)
virtual Long_t GetnCalls () const
virtual Long_t GetnEffev () const
virtual void CheckAll (Int_t)
virtual void PrintCells ()
virtual void RootPlot2dim (Char_t *)
virtual void LinkCells (void)

Protected Attributes

TString fName
TString fVersion
TString fDate
Int_t fDim
Int_t fNCells
Int_t fRNmax
Int_t fOptDrive
Int_t fChat
Int_t fOptRej
Int_t fNBin
Int_t fNSampl
Int_t fEvPerBin
Int_tfMaskDiv
Int_tfInhiDiv
 [fDim] Dynamic Mask for cell division
Int_t fOptPRD
 [fDim] Flags for inhibiting cell division
TFoamVect ** fXdivPRD
Int_t fNoAct
 Lists of division values encoded in one vector per direction.
Int_t fLastCe
TFoamCell ** fCells
TFoamMaxwtfMCMonit
Double_t fMaxWtRej
TRefArrayfCellsAct
Double_tfPrimAcu
TObjArrayfHistEdg
TObjArrayfHistDbg
TH1DfHistWt
Double_tfMCvect
Double_t fMCwt
Double_tfRvec
TFoamIntegrandfRho
TMethodCallfMethodCall
 Pointer to the user-defined integrand function/distribution.
TRandomfPseRan
 ROOT's pointer to user-defined global distribution function.
Long_t fNCalls
Long_t fNEffev
Double_t fSumWt
Double_t fSumWt2
Double_t fSumOve
Double_t fNevGen
Double_t fWtMax
Double_t fWtMin
Double_t fPrime
Double_t fMCresult
Double_t fMCerror
Double_tfAlpha
Int_tfMaskDiv
Int_tfInhiDiv
 [fDim] Dynamic Mask for cell division
TFoamVect ** fXdivPRD
TFoamCell ** fCells
TFoamMaxwtfMCMonit
TRefArrayfCellsAct
Double_tfPrimAcu
TObjArrayfHistEdg
TObjArrayfHistDbg
TH1DfHistWt
Double_tfMCvect
Double_tfRvec
TFoamIntegrandfRho
TMethodCallfMethodCall
 Pointer to the user-defined integrand function/distribution.
TRandomfPseRan
 ROOT's pointer to user-defined global distribution function.
Double_tfAlpha

Private Member Functions

Double_t Sqr (Double_t x) const
 ClassDef (TFoam, 1)
Double_t Sqr (Double_t x) const
 ClassDef (TFoam, 1)

Detailed Description

Definition at line 29 of file TFoam.h.


Constructor & Destructor Documentation

TFoam::TFoam (  ) 

Definition at line 160 of file TFoam.cxx.

Referenced by G__G__Foam_122_0_2(), and G__G__Foam_122_0_3().

TFoam::TFoam ( const Char_t  ) 

Definition at line 180 of file TFoam.cxx.

References TObject::Error(), fAlpha, fCells, fCellsAct, fChat, fDate, fDim, fEvPerBin, fHistDbg, fHistEdg, fHistWt, fInhiDiv, fLastCe, fMaskDiv, fMaxWtRej, fMCMonit, fMCvect, fMethodCall, fName, fNBin, fNCalls, fNCells, fNEffev, fNoAct, fNSampl, fOptDrive, fOptPRD, fOptRej, fPrimAcu, fPseRan, fRho, fRvec, fVersion, fWtMax, fWtMin, fXdivPRD, gHigh, and gVlow.

TFoam::~TFoam (  )  [virtual]

Definition at line 243 of file TFoam.cxx.

References TObject::Delete(), TObjArray::Delete(), fAlpha, fCells, fCellsAct, fDim, fHistDbg, fHistEdg, fHistWt, fInhiDiv, fMaskDiv, fMCMonit, fMCvect, fNCells, fPrimAcu, fRvec, fXdivPRD, and i.

TFoam::TFoam ( const TFoam  ) 

Definition at line 281 of file TFoam.cxx.

References TObject::Error().

TFoam::TFoam (  ) 

TFoam::TFoam ( const Char_t  ) 

virtual TFoam::~TFoam (  )  [virtual]

TFoam::TFoam ( const TFoam  ) 


Member Function Documentation

void TFoam::Initialize (  )  [virtual]

Definition at line 336 of file TFoam.cxx.

References TH1::AddDirectory(), TH1::AddDirectoryStatus(), BX1F, BX1I, BXCLO, BXOPE, BXTXT, TString::Data(), TObject::Error(), fAlpha, fCells, fChat, fDate, fDim, fEvPerBin, fHistDbg, fHistEdg, fHistWt, fInhiDiv, fMaskDiv, fMaxWtRej, fMCerror, fMCMonit, fMCresult, fMCvect, fMethodCall, fName, fNBin, fNCalls, fNCells, fNevGen, fNSampl, fOptDrive, fOptRej, fPrime, fPseRan, fRho, fRNmax, fRvec, fSumOve, fSumWt, fSumWt2, fVersion, fWtMax, fWtMin, fXdivPRD, TFoamCell::GetDriv(), TFoamCell::GetIntg(), gHigh, Grow(), gVlow, i, InitCells(), kFALSE, MakeActiveList(), and PrintCells().

Referenced by ClassImp(), foam_kanwa(), G__G__Foam_122_0_4(), G__G__Foam_122_0_5(), TFoamSampler::Init(), Initialize(), RooFoamGenerator::RooFoamGenerator(), and run_foam().

void TFoam::Initialize ( TRandom ,
TFoamIntegrand  
) [virtual]

Definition at line 288 of file TFoam.cxx.

References Initialize(), SetPseRan(), and SetRho().

void TFoam::InitCells (  )  [virtual]

Definition at line 461 of file TFoam.cxx.

References CellFill(), TObject::Error(), Explore(), fCells, fDim, fLastCe, fNCells, i, and TFoamCell::SetSerial().

Referenced by G__G__Foam_122_0_6(), and Initialize().

Int_t TFoam::CellFill ( Int_t  ,
TFoamCell  
) [virtual]

Definition at line 493 of file TFoam.cxx.

References TObject::Error(), fCells, TFoamCell::Fill(), fLastCe, fNCells, fNoAct, TFoamCell::GetDriv(), TFoamCell::GetIntg(), TFoamCell::SetBest(), TFoamCell::SetDriv(), TFoamCell::SetIntg(), and TFoamCell::SetXdiv().

Referenced by Divide(), G__G__Foam_122_0_7(), and InitCells().

void TFoam::Explore ( TFoamCell Cell  )  [virtual]

Definition at line 525 of file TFoam.cxx.

References TFoamCell::CalcVolume(), Carver(), TObject::Error(), Eval(), fAlpha, fDim, fEvPerBin, fHistEdg, fHistWt, fInhiDiv, fMaskDiv, fNBin, fNCalls, fNEffev, fNSampl, fOptDrive, fOptPRD, fXdivPRD, TFoamCell::GetDriv(), TFoamCell::GetHcub(), TFoamCell::GetIntg(), TFoamCell::GetPare(), TFoamCell::GetVolume(), gHigh, gVlow, i, j, k, MakeAlpha(), n, Reset(), TH1D::Reset(), TFoamCell::SetBest(), TFoamCell::SetDriv(), TFoamCell::SetIntg(), TFoamCell::SetPrim(), TFoamCell::SetXdiv(), sqrt(), and Varedu().

Referenced by Divide(), G__G__Foam_122_0_8(), and InitCells().

void TFoam::Carver ( Int_t ,
Double_t ,
Double_t  
) [virtual]

Definition at line 758 of file TFoam.cxx.

References TObject::Error(), fHistDbg, fHistEdg, fMaskDiv, fNBin, gVlow, j, and TMath::Max().

Referenced by Explore(), and G__G__Foam_122_0_9().

virtual void TFoam::Varedu ( Double_t  [],
Int_t ,
Double_t ,
Double_t  
) [virtual]

Referenced by Explore(), and G__G__Foam_122_0_10().

void TFoam::MakeAlpha (  )  [virtual]

Definition at line 858 of file TFoam.cxx.

References fAlpha, fPseRan, fRvec, k, and TRandom::RndmArray().

Referenced by Explore(), G__G__Foam_122_0_11(), and MakeEvent().

void TFoam::Grow (  )  [virtual]

Definition at line 872 of file TFoam.cxx.

References CheckAll(), Divide(), TObject::Error(), fCells, fChat, fLastCe, flush, fNCells, and PeekMax().

Referenced by G__G__Foam_122_0_12(), and Initialize().

Long_t TFoam::PeekMax (  )  [virtual]

Definition at line 907 of file TFoam.cxx.

References TMath::Abs(), fCells, fLastCe, gVlow, and i.

Referenced by G__G__Foam_122_0_13(), and Grow().

Int_t TFoam::Divide ( TFoamCell  )  [virtual]

Definition at line 934 of file TFoam.cxx.

References CellFill(), TObject::Error(), Explore(), fCells, fLastCe, fNCells, fNoAct, TFoamCell::GetBest(), TFoamCell::GetXdiv(), TFoamCell::SetDau0(), TFoamCell::SetDau1(), and TFoamCell::SetStat().

Referenced by G__G__Foam_122_0_14(), and Grow().

void TFoam::MakeActiveList (  )  [virtual]

Definition at line 972 of file TFoam.cxx.

References TRefArray::Add(), TRefArray::At(), TObject::Error(), fCells, fCellsAct, fLastCe, fNoAct, fPrimAcu, fPrime, and n.

Referenced by G__G__Foam_122_0_15(), and Initialize().

void TFoam::GenerCel2 ( TFoamCell *&   )  [virtual]

Definition at line 1098 of file TFoam.cxx.

References TRefArray::At(), fCellsAct, fNoAct, fPrimAcu, fPseRan, hi, hit, random, and TRandom::Rndm().

Referenced by G__G__Foam_122_0_16(), and MakeEvent().

Double_t TFoam::Eval ( Double_t  )  [virtual]

Definition at line 1077 of file TFoam.cxx.

References TFoamIntegrand::Density(), TMethodCall::Execute(), fMethodCall, fRho, result(), and TMethodCall::SetParamPtrs().

Referenced by Explore(), G__G__Foam_122_0_17(), and MakeEvent().

void TFoam::MakeEvent (  )  [virtual]

Definition at line 1134 of file TFoam.cxx.

References Eval(), fAlpha, fHistWt, TFoamMaxwt::Fill(), TH1::Fill(), fMaxWtRej, fMCMonit, fMCvect, fMCwt, fNCalls, fNevGen, fOptRej, fPseRan, fSumOve, fSumWt, fSumWt2, fWtMax, fWtMin, GenerCel2(), TFoamCell::GetHcub(), TFoamCell::GetPrim(), TFoamCell::GetVolume(), j, MakeAlpha(), TMath::Max(), TMath::Min(), random, and TRandom::Rndm().

Referenced by ClassImp(), foam_demopers(), foam_kanwa(), G__G__Foam_122_0_18(), RooFoamGenerator::generateEvent(), MCgenerate(), run_foam(), and TFoamSampler::Sample().

void TFoam::GetMCvect ( Double_t  )  [virtual]

Definition at line 1188 of file TFoam.cxx.

References fMCvect, and k.

Referenced by ClassImp(), foam_demopers(), foam_kanwa(), G__G__Foam_122_0_19(), RooFoamGenerator::generateEvent(), MCgenerate(), run_foam(), and TFoamSampler::Sample().

void TFoam::GetMCwt ( Double_t  )  [virtual]

Definition at line 1203 of file TFoam.cxx.

References fMCwt.

Referenced by ClassImp().

Double_t TFoam::GetMCwt (  )  [virtual]

Definition at line 1196 of file TFoam.cxx.

References fMCwt.

Referenced by G__G__Foam_122_0_20(), and G__G__Foam_122_0_21().

Double_t TFoam::MCgenerate ( Double_t MCvect  )  [virtual]

Definition at line 1211 of file TFoam.cxx.

References fMCwt, GetMCvect(), and MakeEvent().

Referenced by G__G__Foam_122_0_22().

void TFoam::GetIntegMC ( Double_t ,
Double_t  
) [virtual]

Definition at line 1221 of file TFoam.cxx.

References fNevGen, fPrime, fSumWt, fSumWt2, and sqrt().

Referenced by ClassImp(), Finalize(), foam_demopers(), foam_kanwa(), G__G__Foam_122_0_23(), GetIntNorm(), and run_foam().

void TFoam::GetIntNorm ( Double_t ,
Double_t  
) [virtual]

Definition at line 1238 of file TFoam.cxx.

References fOptRej, fPrime, and GetIntegMC().

Referenced by Finalize(), and G__G__Foam_122_0_24().

void TFoam::GetWtParams ( Double_t  ,
Double_t ,
Double_t ,
Double_t  
) [virtual]

Definition at line 1258 of file TFoam.cxx.

References fMCMonit, fNevGen, fSumWt, fSumWt2, TFoamMaxwt::GetMCeff(), and sqrt().

Referenced by ClassImp(), Finalize(), and G__G__Foam_122_0_25().

void TFoam::Finalize ( Double_t ,
Double_t  
) [virtual]

Definition at line 1271 of file TFoam.cxx.

References BX1F, BX1I, BX2F, BXCLO, BXOPE, BXTXT, fCells, fChat, fNCalls, fNevGen, fOptRej, fPrime, fSumOve, fSumWt, fWtMax, fWtMin, TFoamCell::GetDriv(), GetIntegMC(), GetIntNorm(), GetWtParams(), and sigma.

Referenced by ClassImp(), foam_demopers(), and G__G__Foam_122_0_26().

virtual TFoamIntegrand* TFoam::GetRho (  )  [inline, virtual]

Definition at line 118 of file TFoam.h.

References fRho.

Referenced by G__G__Foam_122_0_27().

virtual TRandom* TFoam::GetPseRan (  )  const [inline, virtual]

Definition at line 119 of file TFoam.h.

References fPseRan.

Referenced by G__G__Foam_122_0_28(), TFoamSampler::GetRandom(), and TFoamSampler::SetSeed().

void TFoam::SetRhoInt ( void *  Rho  )  [virtual]

Definition at line 1060 of file TFoam.cxx.

References fMethodCall, fRho, gCint, TInterpreter::Getp2f2funcname(), and TMethodCall::InitWithPrototype().

Referenced by foam_kanwa(), and G__G__Foam_122_0_29().

void TFoam::SetRho ( TFoamIntegrand Rho  )  [virtual]

Definition at line 1030 of file TFoam.cxx.

References TObject::Error(), and fRho.

Referenced by ClassImp(), G__G__Foam_122_0_30(), TFoamSampler::Init(), Initialize(), ResetRho(), RooFoamGenerator::RooFoamGenerator(), and run_foam().

void TFoam::ResetRho ( TFoamIntegrand Rho  )  [virtual]

Definition at line 1043 of file TFoam.cxx.

References fRho, TObject::Info(), and SetRho().

Referenced by G__G__Foam_122_0_31().

virtual void TFoam::SetPseRan ( TRandom PseRan  )  [inline, virtual]

Definition at line 123 of file TFoam.h.

References fPseRan.

Referenced by ClassImp(), foam_kanwa(), G__G__Foam_122_0_32(), Initialize(), ResetPseRan(), RooFoamGenerator::RooFoamGenerator(), run_foam(), and TFoamSampler::SetRandom().

void TFoam::ResetPseRan ( TRandom PseRan  )  [virtual]

Definition at line 1015 of file TFoam.cxx.

References fPseRan, TObject::Info(), and SetPseRan().

Referenced by G__G__Foam_122_0_33().

virtual void TFoam::SetkDim ( Int_t  kDim  )  [inline, virtual]

Definition at line 126 of file TFoam.h.

References fDim.

Referenced by ClassImp(), foam_kanwa(), G__G__Foam_122_0_34(), TFoamSampler::Init(), RooFoamGenerator::RooFoamGenerator(), and run_foam().

virtual void TFoam::SetnCells ( Long_t  nCells  )  [inline, virtual]

Definition at line 127 of file TFoam.h.

References fNCells.

Referenced by ClassImp(), foam_kanwa(), G__G__Foam_122_0_35(), TFoamSampler::Init(), RooFoamGenerator::RooFoamGenerator(), and run_foam().

virtual void TFoam::SetnSampl ( Long_t  nSampl  )  [inline, virtual]

Definition at line 128 of file TFoam.h.

References fNSampl.

Referenced by ClassImp(), G__G__Foam_122_0_36(), TFoamSampler::Init(), and RooFoamGenerator::RooFoamGenerator().

virtual void TFoam::SetnBin ( Int_t  nBin  )  [inline, virtual]

Definition at line 129 of file TFoam.h.

References fNBin.

Referenced by ClassImp(), G__G__Foam_122_0_37(), and TFoamSampler::Init().

virtual void TFoam::SetChat ( Int_t  Chat  )  [inline, virtual]

Definition at line 130 of file TFoam.h.

References fChat.

Referenced by ClassImp(), G__G__Foam_122_0_38(), TFoamSampler::Init(), and RooFoamGenerator::RooFoamGenerator().

virtual void TFoam::SetOptRej ( Int_t  OptRej  )  [inline, virtual]

Definition at line 131 of file TFoam.h.

References fOptRej.

Referenced by ClassImp(), G__G__Foam_122_0_39(), and TFoamSampler::Init().

virtual void TFoam::SetOptDrive ( Int_t  OptDrive  )  [inline, virtual]

Definition at line 132 of file TFoam.h.

References fOptDrive.

Referenced by ClassImp(), G__G__Foam_122_0_40(), and TFoamSampler::Init().

virtual void TFoam::SetEvPerBin ( Int_t  EvPerBin  )  [inline, virtual]

Definition at line 133 of file TFoam.h.

References fEvPerBin.

Referenced by ClassImp(), and G__G__Foam_122_0_41().

virtual void TFoam::SetMaxWtRej ( Double_t  MaxWtRej  )  [inline, virtual]

Definition at line 134 of file TFoam.h.

References fMaxWtRej.

Referenced by G__G__Foam_122_0_42(), and TFoamSampler::Init().

void TFoam::SetInhiDiv ( Int_t  ,
Int_t   
) [virtual]

Definition at line 1319 of file TFoam.cxx.

References TObject::Error(), fInhiDiv, and i.

Referenced by G__G__Foam_122_0_43().

void TFoam::SetXdivPRD ( Int_t  ,
Int_t  ,
Double_t  [] 
) [virtual]

Definition at line 1344 of file TFoam.cxx.

References TObject::Error(), fOptPRD, fXdivPRD, and i.

Referenced by G__G__Foam_122_0_44().

virtual const char* TFoam::GetVersion (  )  const [inline, virtual]

Definition at line 138 of file TFoam.h.

References TString::Data(), and fVersion.

Referenced by ClassImp(), and G__G__Foam_122_0_45().

virtual Int_t TFoam::GetTotDim (  )  const [inline, virtual]

Definition at line 139 of file TFoam.h.

References fDim.

Referenced by G__G__Foam_122_0_46().

virtual Double_t TFoam::GetPrimary (  )  const [inline, virtual]

Definition at line 140 of file TFoam.h.

References fPrime.

Referenced by G__G__Foam_122_0_47(), and G__G__Foam_122_0_48().

virtual void TFoam::GetPrimary ( Double_t prime  )  [inline, virtual]

Definition at line 141 of file TFoam.h.

References fPrime.

virtual Long_t TFoam::GetnCalls (  )  const [inline, virtual]

Definition at line 142 of file TFoam.h.

References fNCalls.

Referenced by ClassImp(), and G__G__Foam_122_0_49().

virtual Long_t TFoam::GetnEffev (  )  const [inline, virtual]

Definition at line 143 of file TFoam.h.

References fNEffev.

Referenced by G__G__Foam_122_0_50().

void TFoam::CheckAll ( Int_t   )  [virtual]

Definition at line 1391 of file TFoam.cxx.

References TObject::Error(), errors, fCells, fLastCe, TFoamCell::GetDau0(), TFoamCell::GetDau1(), TFoamCell::GetDriv(), TFoamCell::GetPare(), TFoamCell::GetStat(), TObject::Info(), and TObject::Warning().

Referenced by foam_demopers(), G__G__Foam_122_0_51(), and Grow().

void TFoam::PrintCells (  )  [virtual]

Definition at line 1462 of file TFoam.cxx.

References fCells, fLastCe, and TFoamCell::Print().

Referenced by G__G__Foam_122_0_52(), and Initialize().

void TFoam::RootPlot2dim ( Char_t  )  [virtual]

Definition at line 1478 of file TFoam.cxx.

References fCells, fLastCe, out, outfile, x, x1, x2, and y.

Referenced by G__G__Foam_122_0_53().

void TFoam::LinkCells ( void   )  [virtual]

Definition at line 1535 of file TFoam.cxx.

References TObject::Info().

Referenced by G__G__Foam_122_0_54().

Double_t TFoam::Sqr ( Double_t  x  )  const [inline, private]

Definition at line 151 of file TFoam.h.

TFoam::ClassDef ( TFoam  ,
 
) [private]

virtual void TFoam::Initialize (  )  [virtual]

virtual void TFoam::Initialize ( TRandom ,
TFoamIntegrand  
) [virtual]

virtual void TFoam::InitCells (  )  [virtual]

virtual Int_t TFoam::CellFill ( Int_t  ,
TFoamCell  
) [virtual]

virtual void TFoam::Explore ( TFoamCell Cell  )  [virtual]

virtual void TFoam::Carver ( Int_t ,
Double_t ,
Double_t  
) [virtual]

virtual void TFoam::Varedu ( Double_t  [],
Int_t ,
Double_t ,
Double_t  
) [virtual]

virtual void TFoam::MakeAlpha (  )  [virtual]

virtual void TFoam::Grow (  )  [virtual]

virtual Long_t TFoam::PeekMax (  )  [virtual]

virtual Int_t TFoam::Divide ( TFoamCell  )  [virtual]

virtual void TFoam::MakeActiveList (  )  [virtual]

virtual void TFoam::GenerCel2 ( TFoamCell *&   )  [virtual]

virtual Double_t TFoam::Eval ( Double_t  )  [virtual]

virtual void TFoam::MakeEvent (  )  [virtual]

virtual void TFoam::GetMCvect ( Double_t  )  [virtual]

virtual void TFoam::GetMCwt ( Double_t  )  [virtual]

virtual Double_t TFoam::GetMCwt (  )  [virtual]

virtual Double_t TFoam::MCgenerate ( Double_t MCvect  )  [virtual]

virtual void TFoam::GetIntegMC ( Double_t ,
Double_t  
) [virtual]

virtual void TFoam::GetIntNorm ( Double_t ,
Double_t  
) [virtual]

virtual void TFoam::GetWtParams ( Double_t  ,
Double_t ,
Double_t ,
Double_t  
) [virtual]

virtual void TFoam::Finalize ( Double_t ,
Double_t  
) [virtual]

virtual TFoamIntegrand* TFoam::GetRho (  )  [inline, virtual]

Definition at line 118 of file TFoam.h.

References fRho.

virtual TRandom* TFoam::GetPseRan (  )  const [inline, virtual]

Definition at line 119 of file TFoam.h.

References fPseRan.

virtual void TFoam::SetRhoInt ( void *  Rho  )  [virtual]

virtual void TFoam::SetRho ( TFoamIntegrand Rho  )  [virtual]

virtual void TFoam::ResetRho ( TFoamIntegrand Rho  )  [virtual]

virtual void TFoam::SetPseRan ( TRandom PseRan  )  [inline, virtual]

Definition at line 123 of file TFoam.h.

References fPseRan.

virtual void TFoam::ResetPseRan ( TRandom PseRan  )  [virtual]

virtual void TFoam::SetkDim ( Int_t  kDim  )  [inline, virtual]

Definition at line 126 of file TFoam.h.

References fDim.

virtual void TFoam::SetnCells ( Long_t  nCells  )  [inline, virtual]

Definition at line 127 of file TFoam.h.

References fNCells.

virtual void TFoam::SetnSampl ( Long_t  nSampl  )  [inline, virtual]

Definition at line 128 of file TFoam.h.

References fNSampl.

virtual void TFoam::SetnBin ( Int_t  nBin  )  [inline, virtual]

Definition at line 129 of file TFoam.h.

References fNBin.

virtual void TFoam::SetChat ( Int_t  Chat  )  [inline, virtual]

Definition at line 130 of file TFoam.h.

References fChat.

virtual void TFoam::SetOptRej ( Int_t  OptRej  )  [inline, virtual]

Definition at line 131 of file TFoam.h.

References fOptRej.

virtual void TFoam::SetOptDrive ( Int_t  OptDrive  )  [inline, virtual]

Definition at line 132 of file TFoam.h.

References fOptDrive.

virtual void TFoam::SetEvPerBin ( Int_t  EvPerBin  )  [inline, virtual]

Definition at line 133 of file TFoam.h.

References fEvPerBin.

virtual void TFoam::SetMaxWtRej ( Double_t  MaxWtRej  )  [inline, virtual]

Definition at line 134 of file TFoam.h.

References fMaxWtRej.

virtual void TFoam::SetInhiDiv ( Int_t  ,
Int_t   
) [virtual]

virtual void TFoam::SetXdivPRD ( Int_t  ,
Int_t  ,
Double_t  [] 
) [virtual]

virtual const char* TFoam::GetVersion (  )  const [inline, virtual]

Definition at line 138 of file TFoam.h.

References TString::Data(), and fVersion.

virtual Int_t TFoam::GetTotDim (  )  const [inline, virtual]

Definition at line 139 of file TFoam.h.

References fDim.

virtual Double_t TFoam::GetPrimary (  )  const [inline, virtual]

Definition at line 140 of file TFoam.h.

References fPrime.

virtual void TFoam::GetPrimary ( Double_t prime  )  [inline, virtual]

Definition at line 141 of file TFoam.h.

References fPrime.

virtual Long_t TFoam::GetnCalls (  )  const [inline, virtual]

Definition at line 142 of file TFoam.h.

References fNCalls.

virtual Long_t TFoam::GetnEffev (  )  const [inline, virtual]

Definition at line 143 of file TFoam.h.

References fNEffev.

virtual void TFoam::CheckAll ( Int_t   )  [virtual]

virtual void TFoam::PrintCells (  )  [virtual]

virtual void TFoam::RootPlot2dim ( Char_t  )  [virtual]

virtual void TFoam::LinkCells ( void   )  [virtual]

Double_t TFoam::Sqr ( Double_t  x  )  const [inline, private]

Definition at line 151 of file TFoam.h.

TFoam::ClassDef ( TFoam  ,
 
) [private]


Member Data Documentation

TString TFoam::fName [protected]

Definition at line 33 of file TFoam.h.

Referenced by Initialize(), and TFoam().

TString TFoam::fVersion [protected]

Definition at line 34 of file TFoam.h.

Referenced by GetVersion(), Initialize(), and TFoam().

TString TFoam::fDate [protected]

Definition at line 35 of file TFoam.h.

Referenced by Initialize(), and TFoam().

Int_t TFoam::fDim [protected]

Definition at line 36 of file TFoam.h.

Referenced by Explore(), GetTotDim(), InitCells(), Initialize(), SetkDim(), TFoam(), and ~TFoam().

Int_t TFoam::fNCells [protected]

Definition at line 37 of file TFoam.h.

Referenced by CellFill(), Divide(), Grow(), InitCells(), Initialize(), SetnCells(), TFoam(), and ~TFoam().

Int_t TFoam::fRNmax [protected]

Definition at line 38 of file TFoam.h.

Referenced by Initialize().

Int_t TFoam::fOptDrive [protected]

Definition at line 40 of file TFoam.h.

Referenced by Explore(), Initialize(), SetOptDrive(), and TFoam().

Int_t TFoam::fChat [protected]

Definition at line 41 of file TFoam.h.

Referenced by Finalize(), Grow(), Initialize(), SetChat(), and TFoam().

Int_t TFoam::fOptRej [protected]

Definition at line 42 of file TFoam.h.

Referenced by Finalize(), GetIntNorm(), Initialize(), MakeEvent(), SetOptRej(), and TFoam().

Int_t TFoam::fNBin [protected]

Definition at line 44 of file TFoam.h.

Referenced by Carver(), Explore(), Initialize(), SetnBin(), and TFoam().

Int_t TFoam::fNSampl [protected]

Definition at line 45 of file TFoam.h.

Referenced by Explore(), Initialize(), SetnSampl(), and TFoam().

Int_t TFoam::fEvPerBin [protected]

Definition at line 46 of file TFoam.h.

Referenced by Explore(), Initialize(), SetEvPerBin(), and TFoam().

Int_t* TFoam::fMaskDiv [protected]

Definition at line 48 of file TFoam.h.

Referenced by Carver(), Explore(), Initialize(), TFoam(), and ~TFoam().

Int_t* TFoam::fInhiDiv [protected]

[fDim] Dynamic Mask for cell division

Definition at line 49 of file TFoam.h.

Referenced by Explore(), Initialize(), SetInhiDiv(), TFoam(), and ~TFoam().

Int_t TFoam::fOptPRD [protected]

[fDim] Flags for inhibiting cell division

Definition at line 50 of file TFoam.h.

Referenced by Explore(), SetXdivPRD(), and TFoam().

TFoamVect** TFoam::fXdivPRD [protected]

Definition at line 51 of file TFoam.h.

Referenced by Explore(), Initialize(), SetXdivPRD(), TFoam(), and ~TFoam().

Int_t TFoam::fNoAct [protected]

Lists of division values encoded in one vector per direction.

Definition at line 53 of file TFoam.h.

Referenced by CellFill(), Divide(), GenerCel2(), MakeActiveList(), and TFoam().

Int_t TFoam::fLastCe [protected]

Definition at line 54 of file TFoam.h.

Referenced by CellFill(), CheckAll(), Divide(), Grow(), InitCells(), MakeActiveList(), PeekMax(), PrintCells(), RootPlot2dim(), and TFoam().

TFoamCell** TFoam::fCells [protected]

Definition at line 55 of file TFoam.h.

Referenced by CellFill(), CheckAll(), Divide(), Finalize(), Grow(), InitCells(), Initialize(), MakeActiveList(), PeekMax(), PrintCells(), RootPlot2dim(), TFoam(), and ~TFoam().

TFoamMaxwt* TFoam::fMCMonit [protected]

Definition at line 57 of file TFoam.h.

Referenced by GetWtParams(), Initialize(), MakeEvent(), TFoam(), and ~TFoam().

Double_t TFoam::fMaxWtRej [protected]

Definition at line 58 of file TFoam.h.

Referenced by Initialize(), MakeEvent(), SetMaxWtRej(), and TFoam().

TRefArray* TFoam::fCellsAct [protected]

Definition at line 59 of file TFoam.h.

Referenced by GenerCel2(), MakeActiveList(), TFoam(), and ~TFoam().

Double_t* TFoam::fPrimAcu [protected]

Definition at line 60 of file TFoam.h.

Referenced by GenerCel2(), MakeActiveList(), TFoam(), and ~TFoam().

TObjArray* TFoam::fHistEdg [protected]

Definition at line 61 of file TFoam.h.

Referenced by Carver(), Explore(), Initialize(), TFoam(), and ~TFoam().

TObjArray* TFoam::fHistDbg [protected]

Definition at line 62 of file TFoam.h.

Referenced by Carver(), Initialize(), TFoam(), and ~TFoam().

TH1D* TFoam::fHistWt [protected]

Definition at line 63 of file TFoam.h.

Referenced by Explore(), Initialize(), MakeEvent(), TFoam(), and ~TFoam().

Double_t* TFoam::fMCvect [protected]

Definition at line 65 of file TFoam.h.

Referenced by GetMCvect(), Initialize(), MakeEvent(), TFoam(), and ~TFoam().

Double_t TFoam::fMCwt [protected]

Definition at line 66 of file TFoam.h.

Referenced by GetMCwt(), MakeEvent(), and MCgenerate().

Double_t* TFoam::fRvec [protected]

Definition at line 67 of file TFoam.h.

Referenced by Initialize(), MakeAlpha(), TFoam(), and ~TFoam().

TFoamIntegrand* TFoam::fRho [protected]

Definition at line 69 of file TFoam.h.

Referenced by Eval(), GetRho(), Initialize(), ResetRho(), SetRho(), SetRhoInt(), and TFoam().

TMethodCall* TFoam::fMethodCall [protected]

Pointer to the user-defined integrand function/distribution.

Definition at line 70 of file TFoam.h.

Referenced by Eval(), Initialize(), SetRhoInt(), and TFoam().

TRandom* TFoam::fPseRan [protected]

ROOT's pointer to user-defined global distribution function.

Definition at line 71 of file TFoam.h.

Referenced by GenerCel2(), GetPseRan(), Initialize(), MakeAlpha(), MakeEvent(), ResetPseRan(), SetPseRan(), and TFoam().

Long_t TFoam::fNCalls [protected]

Definition at line 73 of file TFoam.h.

Referenced by Explore(), Finalize(), GetnCalls(), Initialize(), MakeEvent(), and TFoam().

Long_t TFoam::fNEffev [protected]

Definition at line 74 of file TFoam.h.

Referenced by Explore(), GetnEffev(), and TFoam().

Double_t TFoam::fSumWt [protected]

Definition at line 75 of file TFoam.h.

Referenced by Finalize(), GetIntegMC(), GetWtParams(), Initialize(), and MakeEvent().

Double_t TFoam::fSumWt2 [protected]

Definition at line 75 of file TFoam.h.

Referenced by GetIntegMC(), GetWtParams(), Initialize(), and MakeEvent().

Double_t TFoam::fSumOve [protected]

Definition at line 76 of file TFoam.h.

Referenced by Finalize(), Initialize(), and MakeEvent().

Double_t TFoam::fNevGen [protected]

Definition at line 77 of file TFoam.h.

Referenced by Finalize(), GetIntegMC(), GetWtParams(), Initialize(), and MakeEvent().

Double_t TFoam::fWtMax [protected]

Definition at line 78 of file TFoam.h.

Referenced by Finalize(), Initialize(), MakeEvent(), and TFoam().

Double_t TFoam::fWtMin [protected]

Definition at line 78 of file TFoam.h.

Referenced by Finalize(), Initialize(), MakeEvent(), and TFoam().

Double_t TFoam::fPrime [protected]

Definition at line 79 of file TFoam.h.

Referenced by Finalize(), GetIntegMC(), GetIntNorm(), GetPrimary(), Initialize(), and MakeActiveList().

Double_t TFoam::fMCresult [protected]

Definition at line 80 of file TFoam.h.

Referenced by Initialize().

Double_t TFoam::fMCerror [protected]

Definition at line 81 of file TFoam.h.

Referenced by Initialize().

Double_t* TFoam::fAlpha [protected]

Definition at line 83 of file TFoam.h.

Referenced by Explore(), Initialize(), MakeAlpha(), MakeEvent(), TFoam(), and ~TFoam().

Int_t* TFoam::fMaskDiv [protected]

Definition at line 48 of file TFoam.h.

Int_t* TFoam::fInhiDiv [protected]

[fDim] Dynamic Mask for cell division

Definition at line 49 of file TFoam.h.

TFoamVect** TFoam::fXdivPRD [protected]

Definition at line 51 of file TFoam.h.

TFoamCell** TFoam::fCells [protected]

Definition at line 55 of file TFoam.h.

TFoamMaxwt* TFoam::fMCMonit [protected]

Definition at line 57 of file TFoam.h.

TRefArray* TFoam::fCellsAct [protected]

Definition at line 59 of file TFoam.h.

Double_t* TFoam::fPrimAcu [protected]

Definition at line 60 of file TFoam.h.

TObjArray* TFoam::fHistEdg [protected]

Definition at line 61 of file TFoam.h.

TObjArray* TFoam::fHistDbg [protected]

Definition at line 62 of file TFoam.h.

TH1D* TFoam::fHistWt [protected]

Definition at line 63 of file TFoam.h.

Double_t* TFoam::fMCvect [protected]

Definition at line 65 of file TFoam.h.

Double_t* TFoam::fRvec [protected]

Definition at line 67 of file TFoam.h.

TFoamIntegrand* TFoam::fRho [protected]

Definition at line 69 of file TFoam.h.

TMethodCall* TFoam::fMethodCall [protected]

Pointer to the user-defined integrand function/distribution.

Definition at line 70 of file TFoam.h.

TRandom* TFoam::fPseRan [protected]

ROOT's pointer to user-defined global distribution function.

Definition at line 71 of file TFoam.h.

Double_t* TFoam::fAlpha [protected]

Definition at line 83 of file TFoam.h.


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