Bug corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Oct 2013 08:38:12 +0000 (08:38 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Oct 2013 08:38:12 +0000 (08:38 +0000)
Giacomo Volpe <Giacomo.Volpe@cern.ch>

STEER/STEERBase/AliHMPIDPIDResponse.cxx

index 74ec1d9..4b363c4 100644 (file)
@@ -255,7 +255,7 @@ Double_t AliHMPIDPIDResponse::ExpectedSigma(const AliVTrack *vTrk, Double_t nmea
       TVector2 pos; pos = TracePhot(xRa,yRa,thRa,phRa,thetaCerTh,phi);
       if(!IsInside(pos.X(),pos.Y())) continue;
       if(IsInDead(pos.X(),pos.Y()))  continue;
-      Double_t sigma2 = Sigma2(thRa,thRa,thetaCerTh,phi); //photon candidate sigma^2
+      Double_t sigma2 = Sigma2(thRa,phRa,thetaCerTh,phi); //photon candidate sigma^2
       
       if(sigma2!=0) {
         invSigma += 1./sigma2;