Initialization of tree addresses (P.Skowronski)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Nov 2003 15:18:57 +0000 (15:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Nov 2003 15:18:57 +0000 (15:18 +0000)
STEER/AliLoader.h

index d24a316cd5aaca48bf251a45a63c6304d41bcd43..ff10c248a65525b151f64d7ce225d85b92f470ca 100644 (file)
@@ -142,14 +142,22 @@ class AliLoader: public TNamed
       SetTAddrInDet();
       return status;
     }
-    Int_t          LoadRecPoints(Option_t* opt="") const {
-      return GetRecPointsDataLoader()->Load(opt);
+    
+
+    Int_t          LoadRecPoints(Option_t* opt="") {
+      Int_t status = GetRecPointsDataLoader()->Load(opt);
+      SetTAddrInDet();
+      return status;
     }
-    Int_t          LoadTracks(Option_t* opt="") const {
-      return GetTracksDataLoader()->Load(opt);
+    Int_t          LoadTracks(Option_t* opt="") {
+      Int_t status = GetTracksDataLoader()->Load(opt);
+      SetTAddrInDet();
+      return status;
     }
-    Int_t          LoadRecParticles(Option_t* opt="") const {
-      return GetRecParticlesDataLoader()->Load(opt);
+    Int_t          LoadRecParticles(Option_t* opt="") {
+      Int_t status = GetRecParticlesDataLoader()->Load(opt);
+      SetTAddrInDet();
+      return status;
     }
     
     Int_t          LoadSDigitizer(Option_t* opt="") const {