Fixing error on gcc 4.5.1
[u/mrichter/AliRoot.git] / TTherminator / Therminator / DecayChannel.h
CommitLineData
2e967919 1/******************************************************************************
2 * T H E R M I N A T O R *
3 * THERMal heavy-IoN generATOR *
4 * version 1.0 *
5 * *
6 * Authors of the model: Wojciech Broniowski, Wojciech.Broniowski@ifj.edu.pl, *
7 * Wojciech Florkowski, Wojciech.Florkowski@ifj.edu.pl *
8 * Authors of the code: Adam Kisiel, kisiel@if.pw.edu.pl *
9 * Tomasz Taluc, ttaluc@if.pw.edu.pl *
10 * Code designers: Adam Kisiel, Tomasz Taluc, Wojciech Broniowski, *
11 * Wojciech Florkowski *
12 * *
13 * For the detailed description of the program and furhter references *
14 * to the description of the model plesase refer to: nucl-th/0504047, *
15 * accessibile at: http://www.arxiv.org/nucl-th/0504047 *
16 * *
17 * Homepage: http://hirg.if.pw.edu.pl/en/therminator/ *
18 * *
19 * This code can be freely used and redistributed. However if you decide to *
20 * make modifications to the code, please contact the authors, especially *
21 * if you plan to publish the results obtained with such modified code. *
22 * Any publication of results obtained using this code must include the *
23 * reference to nucl-th/0504047 and the published version of it, when *
24 * available. *
25 * *
26 *****************************************************************************/
27
28#ifndef _BFPW_DECAY_CHANNEL_
29#define _BFPW_DECAY_CHANNEL_
30#include "ParticleType.h"
31
32class DecayChannel
33{
34 public:
35 DecayChannel();
36 DecayChannel(double aBranchRatio, int aPartType1, int aPartType2, int aPartType3 = -1);
37 DecayChannel(const DecayChannel& aChannel);
38 ~DecayChannel();
39
40 int GetParticle1() const;
41 int GetParticle2() const;
42 int GetParticle3() const;
43 double GetBranchingRatio() const;
44 int Is3Particle() const;
45
46 void SetParticle1(int aPartType1);
47 void SetParticle2(int aPartType2);
48 void SetParticle3(int aPartType3);
49 void SetBranchingRatio(double aRatio);
50
51 protected:
52 int mParticleType1;
53 int mParticleType2;
54 int mParticleType3;
55 double mBranchRatio;
56
57};
58
59#endif