New version from G.Martinez & A.Morsch
[u/mrichter/AliRoot.git] / EVGEN / AliGenPHOSlib.h
CommitLineData
886b6f73 1#ifndef _AliGenPHOSlib_H
2#define _AliGenPHOSlib_H
3#include <TROOT.h>
4#include "GenTypeDefs.h"
5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8/* $Id$ */
9
10class AliGenPHOSlib :
11public TObject
12{
13 public:
14// pions
15 static Double_t PtPion(Double_t *px, Double_t *);
16 static Double_t PtScal(Double_t pt, Int_t np);
17 static Double_t YPion( Double_t *py, Double_t *);
18 static Int_t IpPion();
19// kaons
20 static Double_t PtKaon(Double_t *px, Double_t *);
21 static Double_t YKaon( Double_t *py, Double_t *);
22 static Int_t IpKaon();
23// etas
24 static Double_t PtEta(Double_t *px, Double_t *);
25 static Double_t YEta( Double_t *py, Double_t *);
26 static Int_t IpEta();
27// omegas
28 static Double_t PtOmega(Double_t *px, Double_t *);
29 static Double_t YOmega( Double_t *py, Double_t *);
30 static Int_t IpOmega();
31// etaprime
32 static Double_t PtEtaprime(Double_t *px, Double_t *);
33 static Double_t YEtaprime( Double_t *py, Double_t *);
34 static Int_t IpEtaprime();
35// phis
36 static Double_t PtPhi(Double_t *px, Double_t *);
37 static Double_t YPhi( Double_t *py, Double_t *);
38 static Int_t IpPhi();
39// baryons
40 static Double_t PtBaryon(Double_t *px, Double_t *);
41 static Double_t YBaryon( Double_t *py, Double_t *);
42 static Int_t IpBaryon();
43
44 typedef Double_t (*GenFunc) (Double_t *, Double_t *);
45 typedef Int_t (*GenFuncIp)();
46 static GenFunc GetPt(Param_t param);
47 static GenFunc GetY(Param_t param);
48 static GenFuncIp GetIp(Param_t param);
49 ClassDef(AliGenPHOSlib,1)
50};
51#endif
52
53
54
55
56
57
58