Bugfix. Missing brackets. Was causing a FPE during a raw-data reco from P2
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Mar 2008 00:31:12 +0000 (00:31 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Mar 2008 00:31:12 +0000 (00:31 +0000)
HMPID/AliHMPIDCluster.cxx

index ab72920..9d8b46c 100644 (file)
@@ -107,7 +107,7 @@ void AliHMPIDCluster::CoG()
   
   fBox=(maxPadX-minPadX+1)*100+maxPadY-minPadY+1;           // dimension of the box: format Xdim*100+Ydim
   
-  if ( fQRaw != 0 )   fXX/=fQRaw;fYY/=fQRaw;                  //final center of gravity
+  if ( fQRaw != 0 ) {fXX/=fQRaw;fYY/=fQRaw;}                //final center of gravity
    
   if(fDigs->GetEntriesFast()>1&&fgDoCorrSin)CorrSin();       //correct it by sinoid