2 Copyright : The FASTMC and SPHMC Collaboration
3 Author : Ionut Cristian Arsene
4 Affiliation : Oslo University, Norway & Institute for Space Sciences, Bucharest, Romania
5 e-mail : i.c.arsene@fys.uio.no
8 This class is using the particle and decays lists provided by the
9 THERMINATOR (Computer Physics Communications 174 669 (2006)) and
10 SHARE (Computer Physics Communications 167 229 (2005)) collaborations.
18 const Int_t kMaxDaughters = 3;
19 const Int_t kNonsensePDG = 1000000000;
23 DecayChannel(); // default constructor
24 DecayChannel(const DecayChannel ©); // copy constructor
25 DecayChannel(Int_t mother, Double_t branching, Int_t nDaughters, Int_t *daughters); // explicit constructor
26 ~DecayChannel() {}; // destructor
28 void SetMotherPDG(Int_t value) {fMotherPDG = value;}
29 void SetBranching(Double_t value) {fBranchingRatio = value;}
30 void SetDaughters(Int_t *values, Int_t n);
31 void AddDaughter(Int_t pdg);
32 Int_t GetMotherPDG() {return fMotherPDG;}
33 Double_t GetBranching() {return fBranchingRatio;}
34 Int_t GetNDaughters() {return fNDaughters;}
35 Int_t* GetDaughters() {return fDaughtersPDG;}
36 Int_t GetDaughterPDG(Int_t i); // i --> must be the zero-based index of daughter
40 Double_t fBranchingRatio;
42 Int_t fDaughtersPDG[kMaxDaughters];