Save pythia default decay table at first initialization. Reload at each
[u/mrichter/AliRoot.git] / EVGEN / AliDecayerPythia.h
index 0a5d6eaf01aa676f7eaf48b4d3ce54bc6ce41978..115da86adcb10841e923a33d65c8eed147181589 100644 (file)
@@ -38,7 +38,6 @@ public AliDecayer
     Int_t    CountProducts(Int_t channel, Int_t particle);
     void     ForceParticleDecay(Int_t particle, Int_t product, Int_t mult);
     void     ForceHadronicD();    
-    void     AllowAllDecays();
     Float_t  GetBraPart(Int_t kf);
 
     AliDecayerPythia(const AliDecayerPythia &decayer) {;}
@@ -49,8 +48,9 @@ public AliDecayer
  private:
     AliPythia*  fPythia;          //  ! Pointer to AliPythia
     Decay_t     fDecay;           //  Forced decay mode
-    Float_t     fBraPart[501];    //  Branching ratios
-
+    Float_t     fBraPart[501];    //  ! Branching ratios
+    static Bool_t fgInit;         //  ! initialization flag 
+    
     ClassDef(AliDecayerPythia,1)  // AliDecayer implementation using Pythia  
 };
 #endif