All coding rule violations except RS3 corrected
[u/mrichter/AliRoot.git] / EVGEN / AliGenPHOSlib.h
1 #ifndef ALIGENPHOSLIB_H
2 #define ALIGENPHOSLIB_H
3 #include <TObject.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
10 class AliGenPHOSlib :
11 public TObject
12 {
13  public:
14 // pions
15     static Double_t PtPion(Double_t *px, Double_t *dummy);
16     static Double_t PtScal(Double_t pt, Int_t np);
17     static Double_t YPion( Double_t *py, Double_t *dummy);
18     static Int_t    IpPion();
19 // kaons
20     static Double_t PtKaon(Double_t *px, Double_t *dummy);
21     static Double_t YKaon( Double_t *py, Double_t *dummy);
22     static Int_t    IpKaon();
23 // etas
24     static Double_t PtEta(Double_t *px, Double_t *dummy);
25     static Double_t YEta( Double_t *py, Double_t *dummy);
26     static Int_t    IpEta();
27 // omegas
28     static Double_t PtOmega(Double_t *px, Double_t *dummy);
29     static Double_t YOmega( Double_t *py, Double_t *dummy);
30     static Int_t    IpOmega();
31 // etaprime
32     static Double_t PtEtaprime(Double_t *px, Double_t *dummy);
33     static Double_t YEtaprime( Double_t *py, Double_t *dummy);
34     static Int_t    IpEtaprime();
35 // phis
36     static Double_t PtPhi(Double_t *px, Double_t *dummy);
37     static Double_t YPhi( Double_t *py, Double_t *dummy);
38     static Int_t    IpPhi();
39 // baryons
40     static Double_t PtBaryon(Double_t *px, Double_t *dummy);
41     static Double_t YBaryon( Double_t *py, Double_t *dummy);
42     static Int_t    IpBaryon();
43     
44     typedef Double_t (*GenFunc)  (Double_t *, Double_t *dummy);
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) // Library providing y and pT parameterisations
50 };
51 #endif
52
53
54
55
56
57
58