CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
GenericFunctions/PtRelFcn.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
//---------------------PtRelFcn---------------------------------------------//
4
// //
5
// Class PtRelFcn //
6
// //
7
// This class is a parameterization of ptrel distributions measured at //
8
// CDF. It has 6 parameters, and is normalized. Alternate descriptions, //
9
// in the past, have used 7 parameters but without normalization. //
10
// //
11
// Joe Boudreau, Azizur Rahaman, March 2003 //
12
// //
13
//--------------------------------------------------------------------------//
14
#ifndef PtRelFcn_h
15
#define PtRelFcn_h 1
16
#include "
CLHEP/GenericFunctions/AbsFunction.hh
"
17
#include "
CLHEP/GenericFunctions/Parameter.hh
"
18
#include "
CLHEP/GenericFunctions/LogGamma.hh
"
19
#include "
CLHEP/GenericFunctions/Erf.hh
"
20
21
namespace
Genfun {
22
27
class
PtRelFcn :
public
AbsFunction {
28
29
FUNCTION_OBJECT_DEF
(
PtRelFcn
)
30
31
public:
32
33
// Constructor
34
PtRelFcn
();
35
36
// Copy constructor
37
PtRelFcn(const PtRelFcn &right);
38
39
// Destructor
40
virtual ~PtRelFcn();
41
42
// Retreive function value
43
virtual
double
operator ()(
double
argument) const;
44
virtual
double
operator ()(const
Argument
&
a
)
const
{
return
operator()
(a[0]);}
45
46
// Parameter P0:
47
Parameter
&
P0
();
48
const
Parameter
&
P0
()
const
;
49
50
// Parameter P1:
51
Parameter
&
P1
();
52
const
Parameter
&
P1
()
const
;
53
54
// Parameter P2:
55
Parameter
&
P2
();
56
const
Parameter
&
P2
()
const
;
57
58
// Parameter P3:
59
Parameter
&
P3
();
60
const
Parameter
&
P3
()
const
;
61
62
// Parameter P4:
63
Parameter
&
P4
();
64
const
Parameter
&
P4
()
const
;
65
66
// Parameter P5:
67
Parameter
&
P5
();
68
const
Parameter
&
P5
()
const
;
69
70
private
:
71
72
// It is illegal to assign an adjustable constant
73
const
PtRelFcn
& operator=(
const
PtRelFcn
&right);
74
75
// Here are the parameters:
76
Parameter
_p0,_p1,_p2,_p3,_p4,_p5;
77
LogGamma
_logGamma;
78
Erf
_erf;
79
};
80
}
// namespace Genfun
81
82
#endif
Parameter.hh
Genfun::PtRelFcn::P3
Parameter & P3()
Definition:
PtRelFcn.cc:95
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition:
CLHEP/GenericFunctions/AbsFunction.hh:144
Genfun::PtRelFcn
Definition:
CLHEP/GenericFunctions/PtRelFcn.hh:27
Genfun::PtRelFcn::PtRelFcn
PtRelFcn()
Definition:
PtRelFcn.cc:19
Genfun::Erf
Definition:
CLHEP/GenericFunctions/Erf.hh:20
LogGamma.hh
Erf.hh
a
Definition:
testCategories.cc:125
AbsFunction.hh
Genfun::PtRelFcn::P4
Parameter & P4()
Definition:
PtRelFcn.cc:103
Genfun::Argument
Definition:
CLHEP/GenericFunctions/Argument.hh:17
Genfun::LogGamma
Definition:
CLHEP/GenericFunctions/LogGamma.hh:19
Genfun::PtRelFcn::operator()
virtual double operator()(double argument) const
Definition:
PtRelFcn.cc:42
Genfun::Parameter
Definition:
CLHEP/GenericFunctions/Parameter.hh:35
Genfun::PtRelFcn::P1
Parameter & P1()
Definition:
PtRelFcn.cc:79
Genfun::PtRelFcn::P5
Parameter & P5()
Definition:
PtRelFcn.cc:111
Genfun::PtRelFcn::P2
Parameter & P2()
Definition:
PtRelFcn.cc:87
Genfun::PtRelFcn::P0
Parameter & P0()
Definition:
PtRelFcn.cc:71
Generated on Sat Apr 26 2014 07:58:34 for CLHEP by
1.8.6