Option kBJpsi added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Mar 2004 16:25:13 +0000 (16:25 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Mar 2004 16:25:13 +0000 (16:25 +0000)
EVGEN/AliDecayer.h
EVGEN/AliGenMC.cxx
PYTHIA6/AliDecayerPythia.cxx

index 0e80c5bc0a114b7597b61bf51d32fc6e0f208751..e5e76b9ee32dcde9533764917d15d9c79945c145 100644 (file)
@@ -17,7 +17,7 @@ typedef enum
     kBJpsiDiMuon, kBJpsiDiElectron, 
     kBPsiPrimeDiMuon, kBPsiPrimeDiElectron, kPiToMu,
     kKaToMu, kNoDecay,
-    kHadronicD, kOmega, kPhiKK, kAll, kNoDecayHeavy, kHardMuons
+    kHadronicD, kOmega, kPhiKK, kAll, kNoDecayHeavy, kHardMuons, kBJpsi
 } Decay_t;
 #endif
 
index 287ffcbda478a025cea6fe99bd49af6ecc1cf926..a3ff1e849bc36348609928f47b692026d2b9dc78 100644 (file)
@@ -111,6 +111,10 @@ void AliGenMC::Init()
        break;
     case kPhiKK:
        fChildSelect[0]=kKPlus;
+       break;
+    case kBJpsi:
+       fChildSelect[0]=443;
+       break;
     case kOmega:       
     case kAll:
     case kNoDecay:
index 86790e8323f860bd6557648ca4bda86007983e3c..4ac8d197931d437378d7a021587115305e1361a5 100644 (file)
@@ -128,6 +128,7 @@ void AliDecayerPythia::ForceDecay()
     Int_t mult[2];
     Int_t products1[3];
     Int_t mult1[3];
+    printf("Forcedecay %d %d \n", decay, kAll);
     
     switch (decay) 
     {
@@ -236,6 +237,12 @@ void AliDecayerPythia::ForceDecay()
        ForceParticleDecay( 5122,443,1); // Lambda_b
        ForceParticleDecay(  443,11,2);  // J/Psi    
        break;
+    case kBJpsi:
+       ForceParticleDecay(  511,443,1); // B0     
+       ForceParticleDecay(  521,443,1); // B+/-     
+       ForceParticleDecay(  531,443,1); // B_s     
+       ForceParticleDecay( 5122,443,1); // Lambda_b
+       break;
     case kBPsiPrimeDiElectron:
        ForceParticleDecay(  511,30443,1); // B0     
        ForceParticleDecay(  521,30443,1); // B+/-