]> git.uio.no Git - u/mrichter/AliRoot.git/blob - DIME/TDime.h
remove temporary task that was used to troubleshoot the gamma flow anaysis
[u/mrichter/AliRoot.git] / DIME / TDime.h
1 #ifndef TDIME_H
2 #define TDIME_H
3
4
5 //////////////////////////////////////////////////////////////////////////
6 //                                                                      //
7 // TDime                                                                //
8 //                                                                      //
9 // This class implements an interface to the DIME event generator.      //
10 //                                                                      //
11 //////////////////////////////////////////////////////////////////////////
12
13 #ifndef ROOT_TGenerator
14 #include "TGenerator.h"
15 #endif
16 class TObjArray;
17
18 class TDime : public TGenerator {
19 public:
20    
21    TDime();
22    TDime(Double_t efrm);
23    virtual            ~TDime();
24    virtual void        Initialize();
25    virtual void        GenerateEvent();
26    virtual Int_t       ImportParticles(TClonesArray *particles, Option_t *option="");
27    virtual TObjArray*  ImportParticles(Option_t *option="");
28    //Parameters for the generation:
29    virtual void        SetEnergyCMS(Float_t efrm) {fEfrm = efrm;}
30    virtual Float_t     GetEnergyCMS() const {return fEfrm;}
31    virtual void        SetProcess(TString string) {fProcess = string;}
32    virtual void        SetMinPt(Float_t ptmin) {fEcut = ptmin;}
33    virtual void        SetEtaRange(Float_t etaMin, Float_t etaMax) {fRmin = etaMin; fRmax = etaMax;}
34
35    protected:
36    Float_t      fEfrm;     // Energy in the centre of mass (CMS) or lab-frame (LAB)
37    TString      fProcess;  // Process to simulate
38    Float_t      fEcut;     // min meson pt
39    Float_t      fRmin;     // min meson eta
40    Float_t      fRmax;     // max meson eta
41    ClassDef(TDime,1)  //Interface to Dime Event Generator
42 };
43
44 #endif
45
46
47
48
49
50
51