]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 74ec1d92342b1c404b034f86aecb956f73341ca0..4b363c48afc6705fe53696fd72533ae55c287317 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;