]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEPEMGEN/TEpEmGen.h
bug fixed
[u/mrichter/AliRoot.git] / TEPEMGEN / TEpEmGen.h
CommitLineData
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
22class TEpEmGen : public TGenerator {
23
24public:
25 TEpEmGen();
26 virtual ~TEpEmGen();
27
28 void Initialize (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax);
aef20f4d 29#if ROOT_VERSION_CODE >= 330500 // Root 5.11/04
30 void GenerateEvent() {TGenerator::GenerateEvent();};
31#endif
c9c6bd3b 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();
38
39 ClassDef(TEpEmGen,1) //Interface to EpEmGen Event Generator
40};
41
42#endif