]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenMUONlib.h
Added functions needed for SDD new SDigits/Digits (Add and fSigmaAfterElect).
[u/mrichter/AliRoot.git] / EVGEN / AliGenMUONlib.h
1 #ifndef ALIGENMUONLIB_H
2 #define ALIGENMUONLIB_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 // Library class for particle pt and y distributions used for 
9 // muon spectrometer simulations.
10 // To be used with AliGenParam.
11 //
12 // andreas.morsch@cern.ch
13
14 #include "AliGenLib.h"
15
16 class AliGenMUONlib :
17   public AliGenLib
18 {
19  public:
20     enum constants{kPhi, kOmega, kEta, kJpsi, kUpsilon, kCharm, kBeauty, kPion, kKaon};
21     
22     
23 // pions
24     static Double_t PtPion(Double_t *px, Double_t *dummy);
25     static Double_t PtScal(Double_t pt, Int_t np);
26     static Double_t YPion( Double_t *py, Double_t *dummy);
27     static Int_t    IpPion(TRandom *ran);
28 // kaons
29     static Double_t PtKaon(Double_t *px, Double_t *dummy);
30     static Double_t YKaon( Double_t *py, Double_t *dummy);
31     static Int_t    IpKaon(TRandom *ran);
32 // Phi
33     static Double_t PtPhi( Double_t *px, Double_t *dummy);
34     static Double_t YPhi( Double_t *px, Double_t *dummy);
35     static Int_t    IpPhi(TRandom *ran);
36 // Omega
37     static Double_t PtOmega( Double_t *px, Double_t *dummy);
38     static Double_t YOmega( Double_t *px, Double_t *dummy);
39     static Int_t    IpOmega(TRandom *ran);
40 // Eta
41     static Double_t PtEta( Double_t *px, Double_t *dummy);
42     static Double_t YEta( Double_t *px, Double_t *dummy);
43     static Int_t    IpEta(TRandom *ran);
44 // J/Psi     
45     static Double_t PtJpsi( Double_t *px, Double_t *dummy);
46     static Double_t YJpsi(Double_t *py, Double_t *dummy);
47     static Int_t    IpJpsi(TRandom *ran);
48 // Upsilon    
49     static Double_t PtUpsilon( Double_t *px, Double_t *dummy );
50     static Double_t YUpsilon(Double_t *py, Double_t *dummy);
51     static Int_t    IpUpsilon(TRandom *ran);
52 //
53 // Charm    
54     static Double_t PtCharm( Double_t *px, Double_t *dummy );
55     static Double_t YCharm(Double_t *py, Double_t *dummy);
56     static Int_t    IpCharm(TRandom *ran);
57 //
58 // Beauty
59     static Double_t PtBeauty( Double_t *px, Double_t *dummy );
60     static Double_t YBeauty(Double_t *py, Double_t *dummy);
61     static Int_t    IpBeauty(TRandom *ran);
62 //
63     GenFunc   GetPt(Int_t param, const char* tname=0) const;
64     GenFunc   GetY (Int_t param, const char* tname=0) const;
65     GenFuncIp GetIp(Int_t param, const char* tname=0) const;    
66     ClassDef(AliGenMUONlib,0) // Library providing y and pT parameterisations
67 };
68 #endif
69
70
71
72
73
74
75