]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenMC.cxx
Converting PWG/TRD to native cmake
[u/mrichter/AliRoot.git] / EVGEN / AliGenMC.cxx
index fab6219b00cf767c2af9e0a3973eac57851771a7..157909959a79b5860e9d042a8933f176d8787e5d 100644 (file)
@@ -129,6 +129,7 @@ void AliGenMC::Init()
        break;
     case kHardMuons:   
     case kBSemiMuonic:
+    case kDSemiMuonic:
     case kSemiMuonic:
     case kDiMuon:
     case kJpsiDiMuon:
@@ -388,7 +389,7 @@ void AliGenMC::Boost()
     Double_t gamma = 1./TMath::Sqrt((1.-beta)*(1.+beta));
     Double_t gb    = gamma * beta;
 
-    printf("\n Boosting particles to lab frame %f %f %f", fDyBoost, beta, gamma);
+    //    printf("\n Boosting particles to lab frame %f %f %f", fDyBoost, beta, gamma);
     
     Int_t i;
     Int_t np = fParticles.GetEntriesFast();
@@ -413,11 +414,10 @@ void AliGenMC::BeamCrossAngle()
   // Applies a boost in the y-direction in order to take into account the 
   // beam crossing angle
 
-  Double_t thetaPr0, phiPr0, pyPr2, pzPr2;
+  Double_t thetaPr0, pyPr2, pzPr2;
   TVector3 beta;
   
   thetaPr0 = fXingAngleY / 2.;
-  phiPr0 = 0;
 
   // Momentum of the CMS system
   pyPr2 = TMath::Sqrt(fEnergyCMS * fEnergyCMS/ 4 - 0.938 * 0.938) * TMath::Sin(thetaPr0);