]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TEvtGen/EvtGenModels/EvtPFermi.hh
added a protection before writing out the corr NTuple
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtPFermi.hh
... / ...
CommitLineData
1//-----------------------------------------------------------------------
2// File and Version Information:
3//
4// Copyright Information: See EvtGen/COPYRIGHT
5//
6//
7// Description:
8// DFN model:
9// F(k+) = N (1-x)^a exp((1+a)x) ,x=k+/(mB-mb)
10// the fermi motion distribution according to
11// hep-ph/9905351 v2
12// BLNP model:
13// F(what,Lambda,b) = pow(_b,_b)/(tgamma(_b)*_Lambda)*pow(what/_Lambda,_b-1)*
14// exp(-_b*what/Lambda);
15// the leading order shape function (exp) (hep-ph/0504071)
16// Environment:
17// Software developed for the BaBar Detector at the SLAC B-Factory.
18//
19// Author List:
20// Sven Menke (DFN model)
21// Alexei Volk (BLNP model)
22//-----------------------------------------------------------------------
23
24#ifndef EVTPFERMI_HH
25#define EVTPFERMI_HH
26
27class EvtPFermi {
28
29public:
30
31 // Constructors
32
33 EvtPFermi(const double &a, const double &mB, const double &mb);
34 EvtPFermi(const double &Lambda, const double &b);
35
36 // Destructor
37
38 virtual ~EvtPFermi( );
39
40 // Operators
41
42 // Selectors
43
44 // Modifiers
45
46 // Methods
47
48 double getFPFermi(const double &kplus);
49 double getSFBLNP(const double &what);
50
51protected:
52
53 // Helper functions
54
55private:
56
57 // Friends
58
59 // Data members
60
61 double _a;
62 double _mb;
63 double _mB;
64 double _Lambda;
65 double _b;
66};
67
68
69#endif // EVTPFERMI_HH
70
71