CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VVIObj.h
Go to the documentation of this file.
1 //
2 // VVIObj.h (v1.2)
3 //
4 // Vavilov density and distribution functions
5 //
6 //
7 // Created by Morris Swartz on 1/14/10.
8 // Copyright 2010 __TheJohnsHopkinsUniversity__. All rights reserved.
9 //
10 // V1.1 - make dzero call both fcns with a switch
11 // V1.2 - remove inappriate initializers and add methods to return non-zero/normalized region
12 //
13 
14 #ifndef VVIObj_h
15 #define VVIObj_h 1
16 
17 // ***********************************************************************************************************************
22 // ***********************************************************************************************************************
23 class VVIObj {
24 
25  public:
26 
27  VVIObj(double kappa = 0.01, double beta2 = 1., double mode = 0);
28 
29  double fcn(double x) const;
30  void limits(double& xl, double& xu) const;
31 
32 private:
33 
34  // Vavilov distribution parameters (inputs and common black /G116C1/)
35 
36  const int mode_;
37  double t0_;
38  double t1_;
39  double t_;
40  double omega_;
41  double x0_;
42  double a_[155];
43  double b_[155];
44 };
45 
46 
47 #endif
void limits(double &xl, double &xu) const
density (mode=0) or distribution (mode=1) function
Definition: VVIObj.cc:185
double a_[155]
Definition: VVIObj.h:42
double t1_
Definition: VVIObj.h:38
double b_[155]
Definition: VVIObj.h:43
VVIObj(double kappa=0.01, double beta2=1., double mode=0)
Constructor.
Definition: VVIObj.cc:49
double omega_
Definition: VVIObj.h:40
double x0_
Definition: VVIObj.h:41
double fcn(double x) const
Definition: VVIObj.cc:136
int mode
Definition: AMPTWrapper.h:139
double t0_
Definition: VVIObj.h:37
const int mode_
returns the limits on the non-zero (mode=0) or normalized region (mode=1)
Definition: VVIObj.h:36
Definition: VVIObj.h:23
double t_
Definition: VVIObj.h:39