Adding TPHIC
[u/mrichter/AliRoot.git] / TPHIC / TPHICgen.h
CommitLineData
0b5dd071 1#ifndef ROOT_TPHICGEN
2#define ROOT_TPHICGEN
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// TPHICgen is an interface class to fortran event generator of
9// two-photon processes in ultraperipheral ion collisions
10//%
11// Yuri.Kharlov@cern.ch
12// 15 April 2003
13//------------------------------------------------------------------------
14
15#include "TGenerator.h"
16
17class TPHICgen : public TGenerator {
18
19public:
20 TPHICgen();
21 virtual ~TPHICgen();
22
23 void Initialize ();
24 void GenerateEvent ();
25 void Finish ();
26
27 // Setters for COMMON /GGINI/
28 void SetIPROC (const Int_t iproc );
29 void SetNEVENT (const Int_t nevent );
30 void SetILUMF (const Int_t ilumf );
31 void SetLUMFIL (const TString lumfil );
32 void SetEBMN (const Float_t ebmn );
33 void SetIZ (const Int_t iz );
34 void SetIA (const Int_t ia );
35 void SetAMAS (const Float_t amas );
36 void SetAMIN (const Float_t amin );
37 void SetAMAX (const Float_t amax );
38 void SetYMIN (const Float_t ymin );
39 void SetYMAX (const Float_t ymax );
40 void SetNMAS (const Int_t nmas );
41 void SetNY (const Int_t ny );
42 void SetKFERM (const Int_t kferm );
43 void SetKFONIUM (const Int_t kfonium );
44 void SetXMRES (const Float_t xmres );
45 void SetXGTRES (const Float_t xgtres );
46 void SetXGGRES (const Float_t xggres );
47 void SetMODDCY (const Int_t moddcy );
48 void SetTHETAMIN (const Float_t thetamin);
49 void SetKV1 (const Int_t kv1 );
50 void SetKV2 (const Int_t kv2 );
51
52 // Getters for COMMON /GGEVNT/
53 Float_t GetWSQ () ;
54 Float_t GetYGG () ;
55 Float_t GetXMG1 () ;
56 Float_t GetXMG2 () ;
57 Float_t GetP2G (const Int_t i);
58 Float_t GetPTAG1(const Int_t i);
59 Float_t GetPTAG2(const Int_t i);
60 Int_t GetNGG () ;
61 Int_t GetKGG (const Int_t i);
62 Float_t GetPGG (const Int_t i, const Int_t j);
63
64 // Getters for COMMON /GGXS/
65 Float_t GetXSMAX0() ;
66 Float_t GetXSCUR0() ;
67 Float_t GetXSCUR () ;
68 Float_t GetXSTOT () ;
69 Float_t GetXSTOTE() ;
70
71 ClassDef(TPHICgen,1) //Interface to TPHIC Event Generator
72};
73
74#endif