Proper initialization of bounding box for fBoxSet.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector3D.cxx
index 5a1fa4f060c76f17678e0cfe2af07e007bde4769..f79a793ffcc2f5c57acb8f3275302ff9255f8665 100644 (file)
@@ -62,7 +62,9 @@ void TPCSector3D::ComputeBBox()
   fBBox[3] =  o2Seg.GetRLow() + o2Seg.GetNRows()*o2Seg.GetPadHeight();
   fBBox[4] = -0.5;
   fBBox[5] =  250.5;
-  dynamic_cast<TAttBBox&>(fBoxSet) = dynamic_cast<TAttBBox&>(*this);
+  Float_t* b = fBoxSet.AssertBBox();
+  for(Int_t i=0; i<6; ++i) { b[i] = fBBox[i]; }
+
 }
 
 void TPCSector3D::Paint(Option_t* option)