From 449138640de251b34a17e39f311881d01ab7446e Mon Sep 17 00:00:00 2001 From: schutz Date: Mon, 8 Mar 2004 16:01:48 +0000 Subject: [PATCH] updating --- PHOS/AnaESD.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/PHOS/AnaESD.C b/PHOS/AnaESD.C index 4ccee1d258c..382c7aecdf3 100644 --- a/PHOS/AnaESD.C +++ b/PHOS/AnaESD.C @@ -35,7 +35,7 @@ #include "AliEMCALRecParticle.h" #include "AliPHOSRecParticle.h" #include "AliKalmanTrack.h" -#include "AliPHOSAliEnFile.h" +#include "AliPHOSGridFile.h" #endif void Match(TParticle * pp, AliESDtrack * cp, Double_t * dist) ; @@ -49,8 +49,10 @@ const TString kVers("V4.01.Rev.00") ; Bool_t Ana(const TString type = "per5", const Int_t run = 1, const Int_t nOfEvt = 1) { Double_t dist[3] ; - // get the LFN file name in the AliEn catalogue ; - AliPHOSAliEnFile lfn ; + // get the LFN file name in the Grid catalogue ; + AliPHOSGridFile lfn ; + if (!lfn.IsConnected()) + return kFALSE ; lfn.SetPath(kYear, kProd, kVers, type) ; lfn.SetRun(run) ; -- 2.39.3