]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix in calling of gaussian spread function
authorshahoian <ruben.shahoyan@cern.ch>
Fri, 28 Mar 2014 17:39:10 +0000 (18:39 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Fri, 28 Mar 2014 17:39:10 +0000 (18:39 +0100)
ITS/UPGRADE/AliITSUSimulationPix.cxx

index 67906cc2e24e641670fa22c773ad3c678581b0b5..cb6cc41d1d4893f527a6938e8fc5050ee84535ec 100644 (file)
@@ -479,9 +479,9 @@ Double_t AliITSUSimulationPix::SpreadFunGauss2D(const Double_t *dtIn)
   // The spread function is assumed to be gaussian in 2D
   // Parameters should be: mean0,sigma0
   return GausInt2D(fResponseParam->GetParameter(kG1SigX),  // sigX
-                  fResponseParam->GetParameter(kG1SigZ),  // sigZ
                   dtIn[kCellX1]-fResponseParam->GetParameter(kG1MeanX),    // x1-xmean
                   dtIn[kCellX2]-fResponseParam->GetParameter(kG1MeanX),    // x2-xmean
+                  fResponseParam->GetParameter(kG1SigZ),  // sigZ
                   dtIn[kCellZ1]-fResponseParam->GetParameter(kG1MeanZ),    // z1-zmean
                   dtIn[kCellZ2]-fResponseParam->GetParameter(kG1MeanZ));   // z2-zmean
   //