From 66e0d878867b5a1ee0cef9d8313fd867a25d64e2 Mon Sep 17 00:00:00 2001 From: mtadel Date: Fri, 2 Jun 2006 18:15:56 +0000 Subject: [PATCH] Proper initialization of bounding box for fBoxSet. --- EVE/Alieve/TPCSector3D.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EVE/Alieve/TPCSector3D.cxx b/EVE/Alieve/TPCSector3D.cxx index 5a1fa4f060c..f79a793ffcc 100644 --- a/EVE/Alieve/TPCSector3D.cxx +++ b/EVE/Alieve/TPCSector3D.cxx @@ -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(fBoxSet) = dynamic_cast(*this); + Float_t* b = fBoxSet.AssertBBox(); + for(Int_t i=0; i<6; ++i) { b[i] = fBBox[i]; } + } void TPCSector3D::Paint(Option_t* option) -- 2.39.3