31 #ifndef ROOT_TMVA_PDEFoamCell
32 #define ROOT_TMVA_PDEFoamCell
41 class PDEFoamCell :
public TObject {
73 PDEFoamCell(
const PDEFoamCell&);
74 virtual ~PDEFoamCell();
75 void Fill(Int_t, PDEFoamCell*, PDEFoamCell*, PDEFoamCell*);
77 Double_t GetXdiv()
const {
return fXdiv;}
78 Int_t GetBest()
const {
return fBest;}
79 void SetBest(Int_t Best){ fBest =Best;}
80 void SetXdiv(Double_t Xdiv){ fXdiv =Xdiv;}
81 void GetHcub( PDEFoamVect&, PDEFoamVect&)
const;
82 void GetHSize( PDEFoamVect& )
const;
85 Double_t GetVolume()
const {
return fVolume;}
86 Double_t GetIntg()
const {
return fIntegral;}
87 Double_t GetDriv()
const {
return fDrive;}
88 void SetIntg(Double_t Intg){ fIntegral=Intg;}
89 void SetDriv(Double_t Driv){ fDrive =Driv;}
91 Int_t GetStat()
const {
return fStatus;}
92 void SetStat(Int_t Stat){ fStatus=Stat;}
93 PDEFoamCell* GetPare()
const {
return (PDEFoamCell*) fParent.GetObject(); }
94 PDEFoamCell* GetDau0()
const {
return (PDEFoamCell*) fDaught0.GetObject(); }
95 PDEFoamCell* GetDau1()
const {
return (PDEFoamCell*) fDaught1.GetObject(); }
96 void SetDau0(PDEFoamCell* Daug){ fDaught0 = Daug;}
97 void SetDau1(PDEFoamCell* Daug){ fDaught1 = Daug;}
98 void SetPare(PDEFoamCell* Pare){ fParent = Pare;}
99 void SetSerial(Int_t Serial){ fSerial=Serial;}
100 Int_t GetSerial()
const {
return fSerial;}
102 UInt_t GetTreeDepth(UInt_t depth=0);
104 void Print(Option_t *option)
const ;
106 void SetElement(TObject* fobj){ fElement = fobj; }
107 TObject* GetElement()
const {
return fElement; }
109 ClassDef(PDEFoamCell,2)