Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoVertex
BeamSpotProducer
interface
BSTrkParameters.h
Go to the documentation of this file.
1
#ifndef BeamSpotProducer_BSTrkParameters_h
2
#define BeamSpotProducer_BSTrkParameters_h
3
17
class
BSTrkParameters
{
18
19
public
:
20
21
// constructor
22
BSTrkParameters
() {}
23
// constructor from values
24
//BSTrkParameters( double z0, double sigz0,
25
// double d0, double sigd0,
26
// double phi0, double pt) {
27
// fz0 = z0;
28
// fsigz0 = sigz0;
29
// fd0 = d0;
30
// fsigd0 = sigd0;
31
// fphi0 = phi0;
32
// fpt = pt;
33
//
34
//};
35
36
BSTrkParameters
(
double
z0
,
double
sigz0
,
37
double
d0
,
double
sigd0
,
38
double
phi0
,
double
pt
,
39
double
d0phi_d0
=0.,
double
d0phi_chi2
=0.) {
40
fz0
=
z0
;
41
fsigz0
=
sigz0
;
42
fd0
=
d0
;
43
fsigd0
=
sigd0
;
44
fphi0
=
phi0
;
45
fpt
=
pt
;
46
fd0phi_d0
=
d0phi_d0
;
47
fd0phi_chi2
=
d0phi_chi2
;
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::sigd0
double sigd0() const
Definition:
BSTrkParameters.h:56
BSTrkParameters::fphi0
double fphi0
Definition:
BSTrkParameters.h:71
BSTrkParameters::vx
double vx() const
Definition:
BSTrkParameters.h:61
BSTrkParameters::BSTrkParameters
BSTrkParameters()
Definition:
BSTrkParameters.h:22
BSTrkParameters::fd0phi_d0
double fd0phi_d0
Definition:
BSTrkParameters.h:74
BSTrkParameters::fd0
double fd0
Definition:
BSTrkParameters.h:69
BSTrkParameters::z0
double z0() const
Definition:
BSTrkParameters.h:53
BSTrkParameters::pt
double pt() const
Definition:
BSTrkParameters.h:58
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:36
BSTrkParameters::vy
double vy() const
Definition:
BSTrkParameters.h:62
BSTrkParameters::phi0
double phi0() const
Definition:
BSTrkParameters.h:57
BSTrkParameters
Definition:
BSTrkParameters.h:17
BSTrkParameters::sigz0
double sigz0() const
Definition:
BSTrkParameters.h:54
BSTrkParameters::fd0phi_chi2
double fd0phi_chi2
Definition:
BSTrkParameters.h:73
BSTrkParameters::setVx
void setVx(double vx)
Definition:
BSTrkParameters.h:63
BSTrkParameters::d0
double d0() const
Definition:
BSTrkParameters.h:55
BSTrkParameters::d0phi_chi2
double d0phi_chi2() const
Definition:
BSTrkParameters.h:59
BSTrkParameters::fpt
double fpt
Definition:
BSTrkParameters.h:72
BSTrkParameters::setVy
void setVy(double vy)
Definition:
BSTrkParameters.h:64
BSTrkParameters::fz0
double fz0
Definition:
BSTrkParameters.h:67
BSTrkParameters::fsigd0
double fsigd0
Definition:
BSTrkParameters.h:70
BSTrkParameters::fvx
double fvx
Definition:
BSTrkParameters.h:75
BSTrkParameters::fsigz0
double fsigz0
Definition:
BSTrkParameters.h:68
BSTrkParameters::d0phi_d0
double d0phi_d0() const
Definition:
BSTrkParameters.h:60
BSTrkParameters::fvy
double fvy
Definition:
BSTrkParameters.h:76
Generated for CMSSW Reference Manual by
1.8.5