CMS 3D CMS Logo

VVIObj.h
Go to the documentation of this file.
1 //
2 // VVIObj.h (v2.0)
3 //
4 // Vavilov density and distribution functions
5 //
6 //
7 // Created by Morris Swartz on 1/14/10.
8 // 2010 __TheJohnsHopkinsUniversity__.
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 // V2.0 - restructuring and speed improvements by V. Innocente
13 //
14 
15 #ifndef VVIObj_h
16 #define VVIObj_h 1
17 
18 // ***********************************************************************************************************************
23 // ***********************************************************************************************************************
24 class VVIObj {
25 public:
26  VVIObj(double kappa = 0.01, double beta2 = 1., int mode = 0);
27 
28  double fcn(double x) const;
29  void limits(double& xl,
30  double& xu) const;
31 
32 private:
33  // Vavilov distribution parameters (inputs and common block /G116C1/)
34 
35  const int mode_;
36  double t0_;
37  double t1_;
38  double t_;
39  double omega_;
40  double x0_;
41  double a_[155];
42  double b_[155];
43 };
44 
45 #endif
void limits(double &xl, double &xu) const
density (mode=0) or distribution (mode=1) function
Definition: VVIObj.cc:186
double a_[155]
Definition: VVIObj.h:41
double t1_
Definition: VVIObj.h:37
double b_[155]
Definition: VVIObj.h:42
double omega_
Definition: VVIObj.h:39
VVIObj(double kappa=0.01, double beta2=1., int mode=0)
Constructor.
Definition: VVIObj.cc:42
double x0_
Definition: VVIObj.h:40
double t0_
Definition: VVIObj.h:36
double fcn(double x) const
Definition: VVIObj.cc:137
const int mode_
returns the limits on the non-zero (mode=0) or normalized region (mode=1)
Definition: VVIObj.h:35
Definition: VVIObj.h:24
double t_
Definition: VVIObj.h:38