89 Error(
"PDEFoamCell",
"Dimension has to be >0" );
110 Error(
"PDEFoamCell",
"COPY CONSTRUCTOR NOT IMPLEMENTED" );
144 cellPosi = 0.0; cellSize=1.0;
148 if( pCell== 0)
break;
151 if(dCell == pCell->
GetDau0() ) {
152 cellSize[
kDiv] *=xDivi;
153 cellPosi[
kDiv] *=xDivi;
154 }
else if( dCell == pCell->
GetDau1() ) {
155 cellSize[
kDiv] *=(1.0-xDivi);
156 cellPosi[
kDiv] =cellPosi[
kDiv]*(1.0-xDivi)+xDivi;
158 Error(
"GetHcub ",
"Something wrong with linked tree \n");
177 if( pCell== 0)
break;
180 if(dCell == pCell->
GetDau0() ) {
181 cellSize[
kDiv]=cellSize[
kDiv]*xDivi;
182 }
else if(dCell == pCell->
GetDau1() ) {
183 cellSize[
kDiv]=cellSize[
kDiv]*(1.0-xDivi);
185 Error(
"GetHSize ",
"Something wrong with linked tree \n");
201 for(k=0; k<
fDim; k++) volu *= cellSize[k];
218 while ((cell=cell->
GetPare()) != 0){
232 UInt_t depth0 = 0, depth1 = 0;
238 return (depth0 > depth1 ? depth0 : depth1);
246 if (!option)
Error(
"Print",
"No option set\n");
248 std::cout <<
" Status= "<<
fStatus <<
",";
249 std::cout <<
" Volume= "<<
fVolume <<
",";
250 std::cout <<
" TrueInteg= " <<
fIntegral <<
",";
251 std::cout <<
" DriveInteg= "<<
fDrive <<
",";
252 std::cout << std::endl;;
253 std::cout <<
" Xdiv= "<<
fXdiv<<
",";
254 std::cout <<
" Best= "<<
fBest<<
",";
258 std::cout << std::endl;;
264 std::cout <<
" Posi= "; cellPosi.
Print(
"1"); std::cout<<
","<< std::endl;;
265 std::cout <<
" Size= "; cellSize.
Print(
"1"); std::cout<<
","<< std::endl;;
PDEFoamCell * GetDau1() const
void GetHSize(PDEFoamVect &) const
Provides size of the cell Size parameters are calculated by analyzing information in all parents cell...
void Print(Option_t *option) const
Printout of the cell geometry parameters for the debug purpose.
void Fill(Int_t, PDEFoamCell *, PDEFoamCell *, PDEFoamCell *)
Fills in certain data into newly allocated cell.
void Print(Option_t *option) const
Printout of all vector components.
virtual ~PDEFoamCell()
Destructor.
PDEFoamCell * GetPare() const
UInt_t GetTreeDepth(UInt_t depth=0)
Get depth of cell tree, starting at this cell.
void CalcVolume()
Calculates volume of the cell using size params which are calculated.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
UInt_t GetDepth()
Get depth of cell in binary tree, where the root cell has depth 1.
PDEFoamCell()
Default constructor for streamer.
PDEFoamCell * GetDau0() const
Mother of all ROOT objects.
void GetHcub(PDEFoamVect &, PDEFoamVect &) const
Provides size and position of the cell These parameter are calculated by analyzing information in all...