]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationV01.cxx
The operator[] is replaced by At() or AddAt() in case of TObjArray.
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationV01.cxx
index 2f0d7dcff8d51f84e413681745761bbc9c150a74..c22dce0fba10ee62a57c66fa11be1d58606534ff 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.20  2001/07/20 10:03:14  morsch
+Changes needed to work with Root 3.01 (substitute lhs [] operator). (Jiri Chudoba)
+
 Revision 1.19  2001/05/16 14:57:17  alibrary
 New files for folders and Stack
 
@@ -670,7 +673,8 @@ void AliMUONSegmentationV01::SetCorrFunc(Int_t isec, TF1* func)
 TF1* AliMUONSegmentationV01::CorrFunc(Int_t isec) const
 { 
 // Get correction function
-    return (TF1*) (*fCorrA)[isec];
+  //PH    return (TF1*) (*fCorrA)[isec];
+    return (TF1*) fCorrA->At(isec);
 }
 
 AliMUONSegmentationV01& AliMUONSegmentationV01::operator