]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliDecayerPythia.h
* EVGEN/AliGenEMCocktail.cxx (& .h) is the class that generates the cocktail follow...
[u/mrichter/AliRoot.git] / PYTHIA6 / AliDecayerPythia.h
index 3673f12971faf82a633e243f85225d73090d4248..8869a0597b9f0f858f7d79bf30ac749ffe085f17 100644 (file)
@@ -28,9 +28,11 @@ public AliDecayer
     virtual void    SetForceDecay(Int_t decay)
       {SetForceDecay((Decay_t) decay);}
     virtual void    ForceDecay();
-    
+    virtual void    HeavyFlavourOff() {fHeavyFlavour = kFALSE;}
+    virtual void    DecayLongLivedParticles()  {fLongLived    = kTRUE;}
     virtual Float_t GetPartialBranchingRatio(Int_t ipart);
     virtual Float_t GetLifetime(Int_t kf);
+    virtual void    SwitchOffBDecay();
     virtual void    WriteDecayTable();
     virtual void    ReadDecayTable();
     
@@ -40,11 +42,13 @@ public AliDecayer
                    Double_t mom, Double_t theta, Double_t phi);
     Int_t    CountProducts(Int_t channel, Int_t particle);
     void     ForceParticleDecay(Int_t particle, Int_t product, Int_t mult);
-    void     ForceParticleDecay(Int_t particle, Int_t* products, Int_t* mult, Int_t npart);
+    void     ForceParticleDecay(Int_t particle, Int_t* products, Int_t* mult, Int_t npart, Bool_t flag = 0);
     void     ForceHadronicD(Int_t optUser4Bodies=1);
-    void     ForceOmega();    
+    void     ForceOmega();
+    void     ForceLambda();
+    void     SwitchOffHeavyFlavour();
     Float_t  GetBraPart(Int_t kf);
-    void  Copy(TObject &decayer) const;
+    void     Copy(TObject &decayer) const;
 
     AliDecayerPythia &operator=(const AliDecayerPythia &decayer) 
     {decayer.Copy(*this);return(*this);}
@@ -52,11 +56,13 @@ public AliDecayer
     
  private:
     AliPythia*  fPythia;          //! Pointer to AliPythia
-    Decay_t     fDecay;           // Forced decay mode
+    Decay_t     fDecay;           //  Forced decay mode
     Float_t     fBraPart[501];    //! Branching ratios
+    Bool_t      fHeavyFlavour;    //! Flag for heavy flavors
+    Bool_t      fLongLived;       //! Flag for long lived particle decay
     static Bool_t fgInit;         //! initialization flag 
     
-    ClassDef(AliDecayerPythia,2)  // AliDecayer implementation using Pythia  
+    ClassDef(AliDecayerPythia, 3) // AliDecayer implementation using Pythia  
 };
 #endif