From 155426e7e800dd3fd1baed46388c38f662ac45a2 Mon Sep 17 00:00:00 2001 From: hristov Date: Thu, 27 Nov 2003 15:18:57 +0000 Subject: [PATCH] Initialization of tree addresses (P.Skowronski) --- STEER/AliLoader.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/STEER/AliLoader.h b/STEER/AliLoader.h index d24a316cd5a..ff10c248a65 100644 --- a/STEER/AliLoader.h +++ b/STEER/AliLoader.h @@ -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 { -- 2.31.1