]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPid.cxx
Fix in sensor size calculation
[u/mrichter/AliRoot.git] / ITS / AliITSPid.cxx
index 95cc318be76568c09895dd65d684d854c12b9a16..8343dbe73934f02650d375c56dab01cec36f0774 100644 (file)
@@ -243,9 +243,14 @@ Int_t      AliITSPid::GetPcode(Float_t q,Float_t pm)
            else{return Proton();}
            } 
        }
-    if ( pm<=0.750 )
-       if ( q>fCutPr->Eval(pm)  )
-           {return Proton();} else {return Wpik(pm,q);};
+    if ( pm<=0.750 ){
+       if ( q>fCutPr->Eval(pm)  ){
+         return Proton();
+       }
+       else {
+         return Wpik(pm,q);
+       }
+    }
     if( pm<=1.10 ){ return Wpikp(pm,q); }
     return fPcode;    
 }