]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Alieve/TPCSector2D.cxx
Added preprocessor conditionals to support ROOT > 5.11.2.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2D.cxx
index a6d95c1a187337ab05a8d7965dbdf0d856b96bea..ec1251f0f651de2ccce8b0f1f990e701285e2ce0 100644 (file)
@@ -52,7 +52,11 @@ void TPCSector2D::ComputeBBox()
   const TPCSectorData::SegmentInfo&  iSeg = TPCSectorData::GetInnSeg();
   const TPCSectorData::SegmentInfo& o2Seg = TPCSectorData::GetOut2Seg();
 
+#if ROOT_VERSION_CODE <= ROOT_VERSION(5,11,2)
   bbox_init();
+#else
+  BBoxInit();
+#endif
   Float_t w = o2Seg.GetNMaxPads()*o2Seg.GetPadWidth()/2;
   fBBox[0] = -w;
   fBBox[1] =  w;