c9c6bd3b |
1 | #ifndef ROOT_TEpEmGen |
2 | #define ROOT_TEpEmGen |
3 | /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
7 | //------------------------------------------------------------------------ |
8 | // TEpEmGen is an interface class to fortran event generator of |
9 | // single e+e- pair production in ultraperipheral PbPb collisions |
10 | // at 5.5 GeV/c |
11 | //% |
12 | // Yuri.Kharlov@cern.ch |
13 | // 9 October 2002 |
14 | //------------------------------------------------------------------------ |
15 | |
16 | #include "TGenerator.h" |
17 | |
18 | // c++ interface to the f77 program - event generator of |
19 | // e+e- pair production in ultraperipheral ion collisions |
20 | // Author: Yuri Kharlov, 20 September 2002 |
21 | |
22 | class TEpEmGen : public TGenerator { |
23 | |
24 | public: |
25 | TEpEmGen(); |
26 | virtual ~TEpEmGen(); |
27 | |
28 | void Initialize (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax); |
29 | void GenerateEvent (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax, |
30 | Double_t &yElectron, Double_t &yPositron, |
31 | Double_t &xElectron, Double_t &xPositron, |
32 | Double_t &phi12, Double_t &weight); |
33 | Double_t GetXsection(); |
34 | Double_t GetDsection(); |
35 | |
36 | ClassDef(TEpEmGen,1) //Interface to EpEmGen Event Generator |
37 | }; |
38 | |
39 | #endif |