Added AliGenHepMCEventHeader class and put it in STEERBase library. Updated AliGenRea...
[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:
fac5662b 21 enum constants{kPion, kEta};
22 GenFunc GetPt(Int_t param, const char* tname=0) const;
23 GenFunc GetY (Int_t param, const char* tname=0) const;
24 GenFuncIp GetIp(Int_t param, const char* tname=0) const;
25 private:
0ed0a0a2 26// Neutral pions
75e0cc59 27 static Double_t PtPi0(const Double_t *px, const Double_t *dummy);
0ed0a0a2 28 static Double_t PtScal(Double_t pt, Int_t np);
75e0cc59 29 static Double_t YPi0( const Double_t *py, const Double_t *dummy);
65fb704d 30 static Int_t IpPi0(TRandom *ran);
0ed0a0a2 31// Etas
75e0cc59 32 static Double_t PtEta(const Double_t *px, const Double_t *dummy);
33 static Double_t YEta( const Double_t *py, const Double_t *dummy);
65fb704d 34 static Int_t IpEta(TRandom *ran);
0ed0a0a2 35//
762c0d1d 36 ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations
0ed0a0a2 37};
38#endif
39
40
41
42
43
44
45