CMS 3D CMS Logo

VVIObjF.h
Go to the documentation of this file.
1 //
2 // VVIObjF.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 VVIObjF_h
16 #define VVIObjF_h 1
17 
18 // ***********************************************************************************************************************
23 // ***********************************************************************************************************************
24 class VVIObjF {
25 public:
26  VVIObjF(float kappa = 0.01, float beta2 = 1., int mode = 0);
27 
28  float fcn(float x) const;
29  void limits(float& xl,
30  float& xu) const;
31 
32 private:
33  // Vavilov distribution parameters (inputs and common block /G116C1/)
34 
35  const int mode_;
36  float t0_;
37  float t1_;
38  float t_;
39  float omega_;
40  float x0_;
41  float a_[155];
42  float b_[155];
43 };
44 
45 #endif
VVIObjF::mode_
const int mode_
returns the limits on the non-zero (mode=0) or normalized region (mode=1)
Definition: VVIObjF.h:35
VVIObjF::t0_
float t0_
Definition: VVIObjF.h:36
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
VVIObjF::omega_
float omega_
Definition: VVIObjF.h:39
VVIObjF::x0_
float x0_
Definition: VVIObjF.h:40
DDAxes::x
HLTEgPhaseIITestSequence_cff.kappa
kappa
Definition: HLTEgPhaseIITestSequence_cff.py:1343
VVIObjF::a_
float a_[155]
Definition: VVIObjF.h:41
VVIObjF::t1_
float t1_
Definition: VVIObjF.h:37
VVIObjF::fcn
float fcn(float x) const
Definition: VVIObjF.cc:141
VVIObjF::b_
float b_[155]
Definition: VVIObjF.h:42
VVIObjF
Definition: VVIObjF.h:24
VVIObjF::t_
float t_
Definition: VVIObjF.h:38
VVIObjF::limits
void limits(float &xl, float &xu) const
density (mode=0) or distribution (mode=1) function
Definition: VVIObjF.cc:192
VVIObjF::VVIObjF
VVIObjF(float kappa=0.01, float beta2=1., int mode=0)
Constructor.
Definition: VVIObjF.cc:41