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
16
class
BSTrkParameters
{
17
18
public
:
19
20
// constructor
21
BSTrkParameters
() {}
22
// constructor from values
23
//BSTrkParameters( double z0, double sigz0,
24
// double d0, double sigd0,
25
// double phi0, double pt) {
26
// fz0 = z0;
27
// fsigz0 = sigz0;
28
// fd0 = d0;
29
// fsigd0 = sigd0;
30
// fphi0 = phi0;
31
// fpt = pt;
32
//
33
//};
34
35
BSTrkParameters
(
double
z0
,
double
sigz0
,
36
double
d0
,
double
sigd0
,
37
double
phi0
,
double
pt
,
38
double
d0phi_d0
=0.,
double
d0phi_chi2
=0.) {
39
fz0
=
z0
;
40
fsigz0
=
sigz0
;
41
fd0
=
d0
;
42
fsigd0
=
sigd0
;
43
fphi0
=
phi0
;
44
fpt
=
pt
;
45
fd0phi_d0
=
d0phi_d0
;
46
fd0phi_chi2
=
d0phi_chi2
;
47
fvx
= 0.;
48
fvy
= 0.;
49
};
50
51
//
52
double
z0
()
const
{
return
fz0
; }
53
double
sigz0
()
const
{
return
fsigz0
; }
54
double
d0
()
const
{
return
fd0
; }
55
double
sigd0
()
const
{
return
fsigd0
; }
56
double
phi0
()
const
{
return
fphi0
; }
57
double
pt
()
const
{
return
fpt
; }
58
double
d0phi_chi2
()
const
{
return
fd0phi_chi2
; }
59
double
d0phi_d0
()
const
{
return
fd0phi_d0
; }
60
double
vx
()
const
{
return
fvx
; }
61
double
vy
()
const
{
return
fvy
; }
62
void
setVx
(
double
vx
) {
fvx
=
vx
; }
63
void
setVy
(
double
vy
) {
fvy
=
vy
; }
64
65
private
:
66
double
fz0
;
67
double
fsigz0
;
68
double
fd0
;
69
double
fsigd0
;
70
double
fphi0
;
71
double
fpt
;
72
double
fd0phi_chi2
;
73
double
fd0phi_d0
;
74
double
fvx
;
75
double
fvy
;
76
};
77
78
#endif
BSTrkParameters::sigd0
double sigd0() const
Definition:
BSTrkParameters.h:55
BSTrkParameters::fphi0
double fphi0
Definition:
BSTrkParameters.h:70
BSTrkParameters::vx
double vx() const
Definition:
BSTrkParameters.h:60
BSTrkParameters::BSTrkParameters
BSTrkParameters()
Definition:
BSTrkParameters.h:21
BSTrkParameters::fd0phi_d0
double fd0phi_d0
Definition:
BSTrkParameters.h:73
BSTrkParameters::fd0
double fd0
Definition:
BSTrkParameters.h:68
BSTrkParameters::z0
double z0() const
Definition:
BSTrkParameters.h:52
BSTrkParameters::pt
double pt() const
Definition:
BSTrkParameters.h:57
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:35
BSTrkParameters::vy
double vy() const
Definition:
BSTrkParameters.h:61
BSTrkParameters::phi0
double phi0() const
Definition:
BSTrkParameters.h:56
BSTrkParameters
Definition:
BSTrkParameters.h:16
BSTrkParameters::sigz0
double sigz0() const
Definition:
BSTrkParameters.h:53
BSTrkParameters::fd0phi_chi2
double fd0phi_chi2
Definition:
BSTrkParameters.h:72
BSTrkParameters::setVx
void setVx(double vx)
Definition:
BSTrkParameters.h:62
BSTrkParameters::d0
double d0() const
Definition:
BSTrkParameters.h:54
BSTrkParameters::d0phi_chi2
double d0phi_chi2() const
Definition:
BSTrkParameters.h:58
BSTrkParameters::fpt
double fpt
Definition:
BSTrkParameters.h:71
BSTrkParameters::setVy
void setVy(double vy)
Definition:
BSTrkParameters.h:63
BSTrkParameters::fz0
double fz0
Definition:
BSTrkParameters.h:66
BSTrkParameters::fsigd0
double fsigd0
Definition:
BSTrkParameters.h:69
BSTrkParameters::fvx
double fvx
Definition:
BSTrkParameters.h:74
BSTrkParameters::fsigz0
double fsigz0
Definition:
BSTrkParameters.h:67
BSTrkParameters::d0phi_d0
double d0phi_d0() const
Definition:
BSTrkParameters.h:59
BSTrkParameters::fvy
double fvy
Definition:
BSTrkParameters.h:75
Generated for CMSSW Reference Manual by
1.8.5