CMS 3D CMS Logo

BSTrkParameters.h
Go to the documentation of this file.
1 #ifndef BeamSpotProducer_BSTrkParameters_h
2 #define BeamSpotProducer_BSTrkParameters_h
3 
16 public:
17  // constructor
19  // constructor from values
20  //BSTrkParameters( double z0, double sigz0,
21  // double d0, double sigd0,
22  // double phi0, double pt) {
23  // fz0 = z0;
24  // fsigz0 = sigz0;
25  // fd0 = d0;
26  // fsigd0 = sigd0;
27  // fphi0 = phi0;
28  // fpt = pt;
29  //
30  //};
31 
33  double sigz0,
34  double d0,
35  double sigd0,
36  double phi0,
37  double pt,
38  double d0phi_d0 = 0.,
39  double d0phi_chi2 = 0.) {
40  fz0 = z0;
41  fsigz0 = sigz0;
42  fd0 = d0;
43  fsigd0 = sigd0;
44  fphi0 = phi0;
45  fpt = pt;
48  fvx = 0.;
49  fvy = 0.;
50  };
51 
52  //
53  double z0() const { return fz0; }
54  double sigz0() const { return fsigz0; }
55  double d0() const { return fd0; }
56  double sigd0() const { return fsigd0; }
57  double phi0() const { return fphi0; }
58  double pt() const { return fpt; }
59  double d0phi_chi2() const { return fd0phi_chi2; }
60  double d0phi_d0() const { return fd0phi_d0; }
61  double vx() const { return fvx; }
62  double vy() const { return fvy; }
63  void setVx(double vx) { fvx = vx; }
64  void setVy(double vy) { fvy = vy; }
65 
66 private:
67  double fz0;
68  double fsigz0;
69  double fd0;
70  double fsigd0;
71  double fphi0;
72  double fpt;
73  double fd0phi_chi2;
74  double fd0phi_d0;
75  double fvx;
76  double fvy;
77 };
78 
79 #endif
BSTrkParameters::setVy
void setVy(double vy)
Definition: BSTrkParameters.h:64
BSTrkParameters::d0
double d0() const
Definition: BSTrkParameters.h:55
BSTrkParameters::fz0
double fz0
Definition: BSTrkParameters.h:67
BSTrkParameters::setVx
void setVx(double vx)
Definition: BSTrkParameters.h:63
BSTrkParameters::vy
double vy() const
Definition: BSTrkParameters.h:62
BSTrkParameters::fphi0
double fphi0
Definition: BSTrkParameters.h:71
BSTrkParameters::fpt
double fpt
Definition: BSTrkParameters.h:72
BSTrkParameters::sigz0
double sigz0() const
Definition: BSTrkParameters.h:54
BSTrkParameters::BSTrkParameters
BSTrkParameters()
Definition: BSTrkParameters.h:18
BSTrkParameters::fvy
double fvy
Definition: BSTrkParameters.h:76
BSTrkParameters::vx
double vx() const
Definition: BSTrkParameters.h:61
BSTrkParameters::d0phi_chi2
double d0phi_chi2() const
Definition: BSTrkParameters.h:59
BSTrkParameters::phi0
double phi0() const
Definition: BSTrkParameters.h:57
BSTrkParameters::pt
double pt() const
Definition: BSTrkParameters.h:58
BSTrkParameters::fd0
double fd0
Definition: BSTrkParameters.h:69
BSTrkParameters
Definition: BSTrkParameters.h:15
BSTrkParameters::sigd0
double sigd0() const
Definition: BSTrkParameters.h:56
BSTrkParameters::d0phi_d0
double d0phi_d0() const
Definition: BSTrkParameters.h:60
BSTrkParameters::fsigz0
double fsigz0
Definition: BSTrkParameters.h:68
BSTrkParameters::fd0phi_d0
double fd0phi_d0
Definition: BSTrkParameters.h:74
BSTrkParameters::BSTrkParameters
BSTrkParameters(double z0, double sigz0, double d0, double sigd0, double phi0, double pt, double d0phi_d0=0., double d0phi_chi2=0.)
Definition: BSTrkParameters.h:32
BSTrkParameters::fvx
double fvx
Definition: BSTrkParameters.h:75
BSTrkParameters::fd0phi_chi2
double fd0phi_chi2
Definition: BSTrkParameters.h:73
BSTrkParameters::z0
double z0() const
Definition: BSTrkParameters.h:53
BSTrkParameters::fsigd0
double fsigd0
Definition: BSTrkParameters.h:70