X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EVGEN%2FAliOmegaDalitz.cxx;h=7d59b45e6c05cbb0ad2873f8179bead075c1dc5a;hp=dcf7944c445d3a6a6628bdf3dea6bb71931e4431;hb=787342d6495a9e0bc314ed69c310cf7a4961f4a0;hpb=b8f95537b65b90e8a97193ff3cfa25673c5ada42 diff --git a/EVGEN/AliOmegaDalitz.cxx b/EVGEN/AliOmegaDalitz.cxx index dcf7944c445..7d59b45e6c0 100644 --- a/EVGEN/AliOmegaDalitz.cxx +++ b/EVGEN/AliOmegaDalitz.cxx @@ -138,7 +138,6 @@ void AliOmegaDalitz::Decay(Int_t idlepton, TLorentzVector* pparent) Double_t pmass, lmass, omass, lpmass; Double_t e1, p1, e3, p3; - Double_t betaSquare, lambda; Double_t costheta, sintheta, cosphi, sinphi, phi; // Get the particle masses @@ -162,8 +161,8 @@ void AliOmegaDalitz::Decay(Int_t idlepton, TLorentzVector* pparent) // lepton pair kinematics in virtual photon rest frame e1 = lpmass / 2.; p1 = TMath::Sqrt((e1 + lmass) * (e1 - lmass)); - betaSquare = 1.0 - 4.0 * (lmass * lmass) / (lpmass * lpmass); - lambda = betaSquare / (2.0 - betaSquare); + // betaSquare = 1.0 - 4.0 * (lmass * lmass) / (lpmass * lpmass); + // lambda = betaSquare / (2.0 - betaSquare); costheta = (2.0 * gRandom->Rndm()) - 1.; sintheta = TMath::Sqrt((1. + costheta) * (1. - costheta)); phi = 2.0 * TMath::ACos(-1.) * gRandom->Rndm();