From a823dfb4a37e1d93787155b09a946781f814e8a8 Mon Sep 17 00:00:00 2001 From: dibari Date: Tue, 15 Apr 2008 11:56:29 +0000 Subject: [PATCH] Protection if UserCut not present in OCDB (Sigma=3 as default) --- HMPID/AliHMPIDReconstructor.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/HMPID/AliHMPIDReconstructor.cxx b/HMPID/AliHMPIDReconstructor.cxx index bfc4b12d8aa..e38cd056d5a 100644 --- a/HMPID/AliHMPIDReconstructor.cxx +++ b/HMPID/AliHMPIDReconstructor.cxx @@ -65,6 +65,7 @@ AliHMPIDReconstructor::AliHMPIDReconstructor():AliReconstructor(),fUserCut(0),fD AliDebug(1,Form("UserCut successfully loaded (from OCDB) for chamber %i -> %i ",iCh,fUserCut[iCh])); } } + else {for(Int_t iCh=AliHMPIDParam::kMinCh;iCh<=AliHMPIDParam::kMaxCh;iCh++) fUserCut[iCh] = 3;} } AliCDBEntry *pQthreEnt =AliCDBManager::Instance()->Get("HMPID/Calib/Qthre"); //contains TObjArray of 7 TF1 -- 2.39.3