1 #ifndef ALIDECAYERPYTHIA_H
2 #define ALIDECAYERPYTHIA_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 // Implementation of AliDecayer using Pythia
9 // Method forwarding to the AliPythia instance.
10 // Author: andreas.morsch@cern.ch
12 #include "AliDecayer.h"
16 class AliDecayerPythia :
21 void Copy(AliDecayerPythia &decayer) const;
24 virtual ~AliDecayerPythia(){;}
27 virtual void Decay(Int_t idpart, TLorentzVector *p);
28 virtual Int_t ImportParticles(TClonesArray *particles);
29 virtual void SetForceDecay(Decay_t decay) {fDecay=decay;}
30 virtual void ForceDecay();
32 virtual Float_t GetPartialBranchingRatio(Int_t ipart);
35 void DefineParticles();
36 void Lu1Ent(Int_t flag, Int_t idpart,
37 Double_t mom, Double_t theta, Double_t phi);
38 Int_t CountProducts(Int_t channel, Int_t particle);
39 void ForceParticleDecay(Int_t particle, Int_t product, Int_t mult);
40 void ForceHadronicD();
41 Float_t GetBraPart(Int_t kf);
43 AliDecayerPythia(const AliDecayerPythia &decayer) {;}
44 virtual AliDecayerPythia &operator=(const AliDecayerPythia &decayer)
45 {decayer.Copy(*this);return(*this);}
49 AliPythia* fPythia; // ! Pointer to AliPythia
50 Decay_t fDecay; // Forced decay mode
51 Float_t fBraPart[501]; // ! Branching ratios
52 static Bool_t fgInit; // ! initialization flag
54 ClassDef(AliDecayerPythia,1) // AliDecayer implementation using Pythia