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