]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPHIC/TPHICgen.h
Further fixes to the par file generation
[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/
f893d4a5 28 //PH all these setters can be declared const
29 //PH because they don't change the _object_
30 void SetIPROC (Int_t iproc ) const;
31 void SetNEVENT (Int_t nevent ) const;
32 void SetILUMF (Int_t ilumf ) const;
33 void SetLUMFIL (TString lumfil ) const;
34 void SetEBMN (Float_t ebmn ) const;
35 void SetIZ (Int_t iz ) const;
36 void SetIA (Int_t ia ) const;
37 void SetAMAS (Float_t amas ) const;
38 void SetAMIN (Float_t amin ) const;
39 void SetAMAX (Float_t amax ) const;
40 void SetYMIN (Float_t ymin ) const;
41 void SetYMAX (Float_t ymax ) const;
42 void SetNMAS (Int_t nmas ) const;
43 void SetNY (Int_t ny ) const;
44 void SetKFERM (Int_t kferm ) const;
45 void SetKFONIUM (Int_t kfonium ) const;
46 void SetXMRES (Float_t xmres ) const;
47 void SetXGTRES (Float_t xgtres ) const;
48 void SetXGGRES (Float_t xggres ) const;
49 void SetMODDCY (Int_t moddcy ) const;
50 void SetTHETAMIN (Float_t thetamin) const;
51 void SetKV1 (Int_t kv1 ) const;
52 void SetKV2 (Int_t kv2 ) const;
0b5dd071 53
54 // Getters for COMMON /GGEVNT/
a6778119 55 Float_t GetWSQ () const;
56 Float_t GetYGG () const;
57 Float_t GetXMG1 () const;
58 Float_t GetXMG2 () const;
59 Float_t GetP2G (Int_t i) const;
60 Float_t GetPTAG1(Int_t i) const;
61 Float_t GetPTAG2(Int_t i) const;
62 Int_t GetNGG () const;
63 Int_t GetKGG (Int_t i) const;
64 Float_t GetPGG (Int_t i, Int_t j) const;
0b5dd071 65
66 // Getters for COMMON /GGXS/
a6778119 67 Float_t GetXSMAX0() const;
68 Float_t GetXSCUR0() const;
69 Float_t GetXSCUR () const;
70 Float_t GetXSTOT () const;
71 Float_t GetXSTOTE() const;
0b5dd071 72
73 ClassDef(TPHICgen,1) //Interface to TPHIC Event Generator
74};
75
76#endif