]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenPMDlib.h
Changes needed on Sun with Root v4-03-04
[u/mrichter/AliRoot.git] / EVGEN / AliGenPMDlib.h
CommitLineData
0ed0a0a2 1#ifndef ALIGENPMDLIB_H
2#define ALIGENPMDLIB_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
ac3faee4 8//
9// Library of generators for PMD
10// providing y and pt parametrisation
11// for generated tracks
12//
13
65fb704d 14class TRandom;
0ed0a0a2 15
ac3faee4 16#include "AliGenLib.h"
17
18class AliGenPMDlib :public AliGenLib
0ed0a0a2 19{
20 public:
34f60c01 21 enum constants{kPion, kEta};
0ed0a0a2 22// Neutral pions
23 static Double_t PtPi0(Double_t *px, Double_t *dummy);
24 static Double_t PtScal(Double_t pt, Int_t np);
25 static Double_t YPi0( Double_t *py, Double_t *dummy);
65fb704d 26 static Int_t IpPi0(TRandom *ran);
0ed0a0a2 27// Etas
28 static Double_t PtEta(Double_t *px, Double_t *dummy);
29 static Double_t YEta( Double_t *py, Double_t *dummy);
65fb704d 30 static Int_t IpEta(TRandom *ran);
0ed0a0a2 31//
d5b6b483 32 GenFunc GetPt(Int_t param, const char* tname=0) const;
33 GenFunc GetY (Int_t param, const char* tname=0) const;
34 GenFuncIp GetIp(Int_t param, const char* tname=0) const;
762c0d1d 35 ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations
0ed0a0a2 36};
37#endif
38
39
40
41
42
43
44