forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AliGenPMDlib.h
45 lines (33 loc) · 1.14 KB
/
AliGenPMDlib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef ALIGENPMDLIB_H
#define ALIGENPMDLIB_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
//
// Library of generators for PMD
// providing y and pt parametrisation
// for generated tracks
//
class TRandom;
#include "AliGenLib.h"
class AliGenPMDlib :public AliGenLib
{
public:
enum constants{kPion, kEta};
GenFunc GetPt(Int_t param, const char* tname=0) const;
GenFunc GetY (Int_t param, const char* tname=0) const;
GenFuncIp GetIp(Int_t param, const char* tname=0) const;
private:
// Neutral pions
static Double_t PtPi0(const Double_t *px, const Double_t *dummy);
static Double_t PtScal(Double_t pt, Int_t np);
static Double_t YPi0( const Double_t *py, const Double_t *dummy);
static Int_t IpPi0(TRandom *ran);
// Etas
static Double_t PtEta(const Double_t *px, const Double_t *dummy);
static Double_t YEta( const Double_t *py, const Double_t *dummy);
static Int_t IpEta(TRandom *ran);
//
ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations
};
#endif