Update timestamps for new AMANDA simulation (17/02/2015)
[u/mrichter/AliRoot.git] / EVGEN / AliGenLcLib.h
CommitLineData
feb24caa 1#ifndef ALIGENLCLIB_H
2#define ALIGENLCLIB_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6// Library class for particle pt and y distributions used for
7// LambdaC simulations.
8// To be used with AliGenParam.
9//
10// Author: Annalisa Mastroserio <Annalisa.Mastroserio@cern.ch>
11
12#include "AliGenLib.h"
13
14class TRandom;
15
16class AliGenLcLib :public AliGenLib {
17
18 public:
19 enum EPartId {kLcPlus=4122,kLcMinus=-4122};
20
21 //Getters
22
23 GenFunc GetPt(Int_t iPID, const char * sForm=0) const;
24 GenFunc GetY (Int_t iPID, const char * sForm=0) const;
25 GenFuncIp GetIp(Int_t iPID, const char * sForm=0) const;
26 private:
27
28
29 static Int_t IpLcPlus(TRandom *ran);
30 static Int_t IpLcMinus(TRandom *ran);
31 static Double_t PtLcFlat(const Double_t *px, const Double_t *dummy);
32 static Double_t PtLcExp (const Double_t *px, const Double_t *dummy);
33 static Double_t YLcFlat (const Double_t *py, const Double_t *dummy);
34
35 ClassDef(AliGenLcLib,0)
36 };
37
38#endif
39
40
41
42
43
44
45