Switch off HF after initialization.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Sep 2007 12:44:54 +0000 (12:44 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Sep 2007 12:44:54 +0000 (12:44 +0000)
PYTHIA6/AliGenPythia.cxx

index b1ef23a..4f329d2 100644 (file)
@@ -348,17 +348,18 @@ void AliGenPythia::Init()
     } else {
        fRL = 0x0;
     }
+ //
+    fPythia->ProcInit(fProcess,fEnergyCMS,fStrucFunc);
+    //  Forward Paramters to the AliPythia object
+    fDecayer->SetForceDecay(fForceDecay);    
+    fDecayer->Init();
 // Switch off Heavy Flavors on request  
     if (fHFoff) {
        fPythia->SetMSTP(58, 3);
        fPythia->SetMSTJ(45, 3);        
        for (Int_t i = 156; i <= 160; i++) fPythia->SetMDME(i, 1, 0);
     }
- //
-    fPythia->ProcInit(fProcess,fEnergyCMS,fStrucFunc);
-    //  Forward Paramters to the AliPythia object
-    fDecayer->SetForceDecay(fForceDecay);    
-    fDecayer->Init();
+
 
 //  Parent and Children Selection
     switch (fProcess)