]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TTherminator/TTherminator.h
Dixed a crash when no proper files/data to display (Mikolaj)
[u/mrichter/AliRoot.git] / TTherminator / TTherminator.h
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"
42 #include "Therminator/Event.h"
43
44 class TTherminator: public TGenerator {
45  public:
46   TTherminator();
47   TTherminator(const TTherminator & therm);
48   virtual ~TTherminator();
49   
50   virtual void        ReadParameters();
51   
52   virtual void        Initialize();
53   
54   virtual void        GenerateEvent();
55   
56   virtual Int_t       ImportParticles(TClonesArray *particles, Option_t *option="");
57   virtual TObjArray*  ImportParticles(Option_t *option="");
58
59  private:
60   int Run();
61   Integrator *fCalka; // Integrator class
62   Event      *fEvent; // The therminator event
63   ParticleDB *fPartDB;// Particle properties database
64   TString     fInputDir; // Name of directory with SHARE input files
65
66   ClassDef(TTherminator,1) // Hijing parametrisation generator
67 };
68
69 #endif