Constructor contains default set-up for segmentation.
[u/mrichter/AliRoot.git] / EVGEN / AliDecayerPythia.h
CommitLineData
0d54355a 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 */
5
6/* $Id$ */
7
675e9664 8// Implementation of AliDecayer using Pythia
9// Method forwarding to the AliPythia instance.
10// Author: andreas.morsch@cern.ch
11
0d54355a 12#include "AliDecayer.h"
675e9664 13class AliPythia;
0d54355a 14
15class AliDecayerPythia :
16public AliDecayer
17{
18 public:
0d54355a 19 AliDecayerPythia();
675e9664 20 void Copy(AliDecayerPythia &decayer) const;
21
22//
23 virtual ~AliDecayerPythia();
0d54355a 24 virtual void Init();
25 virtual void Decay(Int_t idpart, TLorentzVector *p);
675e9664 26 virtual Int_t ImportParticles(TClonesArray *particles);
01d608eb 27 virtual void SetForceDecay(Decay_t decay) {fDecay=decay;}
28 virtual void ForceDecay();
29
0d54355a 30 virtual Float_t GetPartialBranchingRatio(Int_t ipart);
675e9664 31
0d54355a 32 private:
33 void DefineParticles();
34 void Lu1Ent(Int_t flag, Int_t idpart,
35 Double_t mom, Double_t theta, Double_t phi);
36 Int_t CountProducts(Int_t channel, Int_t particle);
37 void ForceParticleDecay(Int_t particle, Int_t product, Int_t mult);
38 void ForceHadronicD();
39 void AllowAllDecays();
40 Float_t GetBraPart(Int_t kf);
675e9664 41
42 AliDecayerPythia(const AliDecayerPythia &decayer) {;}
43 virtual AliDecayerPythia &operator=(const AliDecayerPythia &decayer)
44 {decayer.Copy(*this);return(*this);}
0d54355a 45
46
47 private:
675e9664 48 AliPythia* fPythia; // ! Pointer to AliPythia
49 Decay_t fDecay; // Forced decay mode
50 Float_t fBraPart[501]; // Branching ratios
0d54355a 51
52 ClassDef(AliDecayerPythia,1) // AliDecayer implementation using Pythia
53};
54#endif
55
56
57
58
59
60
61