]>
Commit | Line | Data |
---|---|---|
2e967919 | 1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // TTherminator: global interface class to the Therminator model. // | |
3 | // Initialized global variables and runs the event generation // | |
4 | /////////////////////////////////////////////////////////////////////////////// | |
5 | /****************************************************************************** | |
6 | * T H E R M I N A T O R * | |
7 | * THERMal heavy-IoN generATOR * | |
8 | * version 1.0 * | |
9 | * * | |
10 | * Authors of the model: Wojciech Broniowski, Wojciech.Broniowski@ifj.edu.pl, * | |
11 | * Wojciech Florkowski, Wojciech.Florkowski@ifj.edu.pl * | |
12 | * Authors of the code: Adam Kisiel, kisiel@if.pw.edu.pl * | |
13 | * Tomasz Taluc, ttaluc@if.pw.edu.pl * | |
14 | * Code designers: Adam Kisiel, Tomasz Taluc, Wojciech Broniowski, * | |
15 | * Wojciech Florkowski * | |
16 | * * | |
17 | * For the detailed description of the program and furhter references * | |
18 | * to the description of the model plesase refer to: nucl-th/0504047, * | |
19 | * accessibile at: http://www.arxiv.org/nucl-th/0504047 * | |
20 | * * | |
21 | * Homepage: http://hirg.if.pw.edu.pl/en/therminator/ * | |
22 | * * | |
23 | * This code can be freely used and redistributed. However if you decide to * | |
24 | * make modifications to the code, please contact the authors, especially * | |
25 | * if you plan to publish the results obtained with such modified code. * | |
26 | * Any publication of results obtained using this code must include the * | |
27 | * reference to nucl-th/0504047 and the published version of it, when * | |
28 | * available. * | |
29 | * * | |
30 | *****************************************************************************/ | |
31 | #ifndef TTHERMINATOR_H | |
32 | #define TTHERMINATOR_H | |
33 | ||
34 | #include <TGenerator.h> | |
35 | #include <map> | |
36 | #include <THGlobal.h> | |
37 | #include "ReadPar.h" | |
38 | #include "Parser.h" | |
39 | #include "ParticleDB.h" | |
40 | #include "ParticleType.h" | |
41 | #include "DecayTable.h" | |
599e1f8a | 42 | #include "Therminator/Event.h" |
2e967919 | 43 | |
44 | class TTherminator: public TGenerator { | |
45 | public: | |
46 | TTherminator(); | |
47 | TTherminator(const TTherminator & therm); | |
5c8cdc24 | 48 | TTherminator& operator=(const TTherminator & therm); |
2e967919 | 49 | virtual ~TTherminator(); |
50 | ||
51 | virtual void ReadParameters(); | |
52 | ||
53 | virtual void Initialize(); | |
54 | ||
55 | virtual void GenerateEvent(); | |
56 | ||
57 | virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option=""); | |
58 | virtual TObjArray* ImportParticles(Option_t *option=""); | |
59 | ||
60 | private: | |
61 | int Run(); | |
62 | Integrator *fCalka; // Integrator class | |
63 | Event *fEvent; // The therminator event | |
64 | ParticleDB *fPartDB;// Particle properties database | |
ae89e57a | 65 | TString fInputDir; // Name of directory with SHARE input files |
2e967919 | 66 | |
67 | ClassDef(TTherminator,1) // Hijing parametrisation generator | |
68 | }; | |
69 | ||
70 | #endif |