]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVGEN/AliGenPHOSlib.h
Don't delete the TParticle.
[u/mrichter/AliRoot.git] / EVGEN / AliGenPHOSlib.h
... / ...
CommitLineData
1#ifndef ALIGENPHOSLIB_H
2#define ALIGENPHOSLIB_H
3#include "AliGenLib.h"
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9class TRandom;
10
11class AliGenPHOSlib :
12public AliGenLib
13{
14 public:
15 enum constants{kPion, kKaon, kEta, kOmega, kEtaPrime, kPhi, kBaryon};
16// pions
17 static Double_t PtPion(Double_t *px, Double_t *dummy);
18 static Double_t PtScal(Double_t pt, Int_t np);
19 static Double_t YPion( Double_t *py, Double_t *dummy);
20 static Int_t IpPion(TRandom* ran);
21// kaons
22 static Double_t PtKaon(Double_t *px, Double_t *dummy);
23 static Double_t YKaon( Double_t *py, Double_t *dummy);
24 static Int_t IpKaon(TRandom* ran);
25// etas
26 static Double_t PtEta(Double_t *px, Double_t *dummy);
27 static Double_t YEta( Double_t *py, Double_t *dummy);
28 static Int_t IpEta(TRandom *ran);
29// omegas
30 static Double_t PtOmega(Double_t *px, Double_t *dummy);
31 static Double_t YOmega( Double_t *py, Double_t *dummy);
32 static Int_t IpOmega(TRandom *ran);
33// etaprime
34 static Double_t PtEtaprime(Double_t *px, Double_t *dummy);
35 static Double_t YEtaprime( Double_t *py, Double_t *dummy);
36 static Int_t IpEtaprime(TRandom* ran);
37// phis
38 static Double_t PtPhi(Double_t *px, Double_t *dummy);
39 static Double_t YPhi( Double_t *py, Double_t *dummy);
40 static Int_t IpPhi(TRandom* ran);
41// baryons
42 static Double_t PtBaryon(Double_t *px, Double_t *dummy);
43 static Double_t YBaryon( Double_t *py, Double_t *dummy);
44 static Int_t IpBaryon(TRandom *ran);
45
46 GenFunc GetPt(Int_t param, const char* tname=0);
47 GenFunc GetY (Int_t param, const char* tname=0);
48 GenFuncIp GetIp(Int_t param, const char* tname=0);
49 ClassDef(AliGenPHOSlib,0) // Library providing y and pT parameterisations
50};
51#endif
52
53
54
55
56
57
58