From M.Weber: I would like to commit a small change in the AliPIDResponse (see attach...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jul 2012 14:08:50 +0000 (14:08 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jul 2012 14:08:50 +0000 (14:08 +0000)
STEER/STEERBase/AliPIDResponse.cxx

index 2148be2..e51afba 100644 (file)
@@ -243,6 +243,12 @@ Float_t  AliPIDResponse::NumberOfSigmasEMCAL(const AliVTrack *track, AliPID::EPa
   Double_t pt      = -1.; 
   Double_t EovP    = -1.;
   Double_t fClsE   = -1.;
+
+  // initialize eop and shower shape parameters
+  eop = -1.;
+  for(Int_t i = 0; i < 4; i++){
+    showershape[i] = -1.;
+  }
   
   Int_t nMatchClus = -1;
   Int_t charge     = 0;