]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliOmegaDalitz.cxx
Correction.
[u/mrichter/AliRoot.git] / EVGEN / AliOmegaDalitz.cxx
index e8a4dd29fd80182fd80482c1196bcfe6577f8db7..b962bf03507701af3f13d401a09a2f646b51275a 100644 (file)
@@ -97,10 +97,6 @@ void AliOmegaDalitz::Init()
       if ( q <= 4.0 * epsilon )
       {
        AliFatal("Error in calculating Dalitz mass histogram binning!");
-       if ( idecay == 1 ) 
-         fEPMass = 0;
-       else
-         fMPMass = 0;
       }        
 
       kwHelp = (1.0 + q /  (1.0 - delta)) * (1.0 + q / (1.0 - delta))
@@ -108,10 +104,6 @@ void AliOmegaDalitz::Init()
       if ( kwHelp <= 0.0 )
       {
        AliFatal("Error in calculating Dalitz mass histogram binning!");
-       if ( idecay == 1 ) 
-         fEPMass = 0;
-       else
-         fMPMass = 0;
       }        
       krollWada = (2.0 / mLL) * TMath::Exp(1.5 * TMath::Log(kwHelp))
                               * TMath::Sqrt(1.0 - 4.0 * epsilon / q)   
@@ -259,6 +251,7 @@ void AliOmegaDalitz::
 Rot(Double_t pin[3], Double_t pout[3], Double_t costheta, Double_t sintheta,
     Double_t cosphi, Double_t sinphi)
 {
+// Perform rotation
   pout[0] = pin[0]*costheta*cosphi-pin[1]*sinphi+pin[2]*sintheta*cosphi;
   pout[1] = pin[0]*costheta*sinphi+pin[1]*cosphi+pin[2]*sintheta*sinphi;
   pout[2] = -1.0  * pin[0] * sintheta + pin[2] * costheta;