3 /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //------------------------------------------------------------------------
8 // TEpEmGen is an interface class to fortran event generator of
9 // single e+e- pair production in ultraperipheral PbPb collisions
12 // Yuri.Kharlov@cern.ch
14 //------------------------------------------------------------------------
16 #include "TGenerator.h"
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
22 class TEpEmGen : public TGenerator {
28 void Initialize (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax);
29 #if ROOT_VERSION_CODE >= 330500 // Root 5.11/04
30 void GenerateEvent() {TGenerator::GenerateEvent();};
32 void GenerateEvent (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax,
33 Double_t &yElectron, Double_t &yPositron,
34 Double_t &xElectron, Double_t &xPositron,
35 Double_t &phi12, Double_t &weight);
36 Double_t GetXsection();
37 Double_t GetDsection();
39 ClassDef(TEpEmGen,1) //Interface to EpEmGen Event Generator