]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPHIC/TPHICgen.h
Adding MUON HLT code to the repository.
[u/mrichter/AliRoot.git] / TPHIC / TPHICgen.h
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
17 class TPHICgen : public TGenerator {
18
19 public:
20   TPHICgen();
21   virtual ~TPHICgen();
22
23   void Initialize    ();
24   void GenerateEvent ();
25   void Finish        ();
26
27   // Setters for COMMON /GGINI/
28   void SetIPROC    (Int_t   iproc   );
29   void SetNEVENT   (Int_t   nevent  );
30   void SetILUMF    (Int_t   ilumf   );
31   void SetLUMFIL   (TString lumfil  );
32   void SetEBMN     (Float_t ebmn    );
33   void SetIZ       (Int_t   iz      );
34   void SetIA       (Int_t   ia      );
35   void SetAMAS     (Float_t amas    );
36   void SetAMIN     (Float_t amin    );
37   void SetAMAX     (Float_t amax    );
38   void SetYMIN     (Float_t ymin    );
39   void SetYMAX     (Float_t ymax    );
40   void SetNMAS     (Int_t   nmas    );
41   void SetNY       (Int_t   ny      );
42   void SetKFERM    (Int_t   kferm   );
43   void SetKFONIUM  (Int_t   kfonium );
44   void SetXMRES    (Float_t xmres   );
45   void SetXGTRES   (Float_t xgtres  );
46   void SetXGGRES   (Float_t xggres  );
47   void SetMODDCY   (Int_t   moddcy  );
48   void SetTHETAMIN (Float_t thetamin);
49   void SetKV1      (Int_t   kv1     );
50   void SetKV2      (Int_t   kv2     );
51
52   // Getters for COMMON /GGEVNT/
53   Float_t GetWSQ  () const;
54   Float_t GetYGG  () const;
55   Float_t GetXMG1 () const;
56   Float_t GetXMG2 () const;
57   Float_t GetP2G  (Int_t i) const;
58   Float_t GetPTAG1(Int_t i) const;
59   Float_t GetPTAG2(Int_t i) const;
60   Int_t   GetNGG  () const;
61   Int_t   GetKGG  (Int_t i) const;
62   Float_t GetPGG  (Int_t i, Int_t j) const;
63
64   // Getters for COMMON /GGXS/
65   Float_t GetXSMAX0() const;
66   Float_t GetXSCUR0() const;
67   Float_t GetXSCUR () const;
68   Float_t GetXSTOT () const;
69   Float_t GetXSTOTE() const;
70
71   ClassDef(TPHICgen,1)  //Interface to TPHIC Event Generator
72 };
73
74 #endif