#define ClassDef(name, id)
virtual void MakeActiveList()
Internal subrogram used by Initialize.
virtual void CheckAll(Int_t)
User utility, miscellaneous and debug.
virtual Int_t Divide(TFoamCell *)
Internal subrogram used by Initialize.
virtual void PrintCells()
Prints geometry of ALL cells of the FOAM.
virtual void GetMCvect(Double_t *)
User may get generated MC point/vector with help of this method.
TRandom * fPseRan
ROOT's pointer to user-defined global distribution function.
virtual void InitCells()
Internal subprogram used by Initialize.
virtual void MakeEvent()
User subprogram.
virtual Int_t GetTotDim() const
virtual Long_t PeekMax()
Internal subprogram used by Initialize.
virtual void GenerCel2(TFoamCell *&)
Internal subprogram.
virtual void SetEvPerBin(Int_t EvPerBin)
virtual void Initialize()
Basic initialization of FOAM invoked by the user.
virtual void GetIntNorm(Double_t &, Double_t &)
User subprogram.
Int_t * fInhiDiv
[fDim] Dynamic Mask for cell division
virtual Double_t GetMCwt()
User may get weight MC weight using this method.
virtual void SetnSampl(Long_t nSampl)
virtual void ResetRho(TFoamIntegrand *Rho)
User may optionally reset the distribution using this method Usually it is done when FOAM object is r...
virtual void GetIntegMC(Double_t &, Double_t &)
User subprogram.
virtual void RootPlot2dim(Char_t *)
Debugging tool which plots 2-dimensional cells as rectangles in C++ format readable for root.
virtual void Explore(TFoamCell *Cell)
Internal subprogram used by Initialize.
virtual const char * GetVersion() const
virtual Long_t GetnEffev() const
virtual Double_t Eval(Double_t *)
Internal subprogram.
virtual void SetMaxWtRej(Double_t MaxWtRej)
virtual void MakeAlpha()
Internal subrogram used by Initialize.
virtual void ResetPseRan(TRandom *PseRan)
User may optionally reset random number generator using this method Usually it is done when FOAM obje...
TMethodCall * fMethodCall
Pointer to the user-defined integrand function/distribution.
Double_t Sqr(Double_t x) const
virtual TRandom * GetPseRan() const
Int_t fOptPRD
[fDim] Flags for inhibiting cell division
virtual void SetXdivPRD(Int_t, Int_t, Double_t[])
This should be called before Initialize, after setting kDim It predefines values of the cell division...
virtual void SetInhiDiv(Int_t, Int_t)
This can be called before Initialize, after setting kDim It defines which variables are excluded in t...
virtual void SetChat(Int_t Chat)
virtual void SetOptDrive(Int_t OptDrive)
virtual void SetnCells(Long_t nCells)
virtual Long_t GetnCalls() const
virtual ~TFoam()
Default destructor.
virtual TFoamIntegrand * GetRho()
virtual void GetPrimary(Double_t &prime)
virtual void LinkCells(void)
virtual void SetRho(TFoamIntegrand *Rho)
User may use this method to set the distribution object.
virtual void SetRhoInt(Double_t(*fun)(Int_t, Double_t *))
User may use this method to set the distribution object as a global function pointer (and not as an i...
Int_t fNoAct
Lists of division values encoded in one vector per direction.
virtual void Finalize(Double_t &, Double_t &)
May be called optionally by the user after the MC run.
virtual Double_t GetPrimary() const
virtual Double_t MCgenerate(Double_t *MCvect)
User subprogram which generates MC event and returns MC weight.
virtual void SetOptRej(Int_t OptRej)
virtual Int_t CellFill(Int_t, TFoamCell *)
Internal subprogram used by Initialize.
virtual void SetPseRan(TRandom *PseRan)
virtual void SetnBin(Int_t nBin)
virtual void SetkDim(Int_t kDim)
virtual void GetWtParams(Double_t, Double_t &, Double_t &, Double_t &)
May be called optionally after the MC run.
virtual void Grow()
Internal subrogram used by Initialize.
TFoam()
Default constructor for streamer, user should not use it.
virtual void Varedu(Double_t[], Int_t &, Double_t &, Double_t &)
Internal subrogram used by Initialize.
virtual void Carver(Int_t &, Double_t &, Double_t &)
Internal subrogram used by Initialize.
1-D histogram with a double per channel (see TH1 documentation)}
Method or function calling interface.
Mother of all ROOT objects.
This is the base class for the ROOT Random number generators.
An array of references to TObjects.
const char * Data() const