~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/SciFiStraightPRTrack.hh

merging in changes in merge branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    /** Get the x position of the track at z=0 */
59
59
    double get_x0() const { return _x0; }
60
60
 
 
61
    /** Get the global x position of the track at z=0 */
 
62
    double get_global_x0() const { return _global_x0; }
 
63
 
61
64
    /** Set the x position of the track at z=0 */
62
65
    void set_x0(double x0) { _x0 = x0; }
63
66
 
 
67
    /** Set the global x position of the track at z=0 */
 
68
    void set_global_x0(double global_x0) { _global_x0 = global_x0; }
 
69
 
64
70
    /** Get the gradient of the line in x-z */
65
71
    double get_mx() const { return _mx; }
66
72
 
 
73
    /** Get the gradient of the line in global x-z */
 
74
    double get_global_mx() const { return _global_mx; }
 
75
 
67
76
    /** Set the gradient of the line in x-z */
68
77
    void set_mx(double mx) { _mx = mx; }
69
78
 
 
79
    /** Set the gradient of the line in global x-z */
 
80
    void set_global_mx(double global_mx) { _global_mx = global_mx; }
 
81
 
70
82
    /** Get the chi_2 of the line fit in x-z */
71
83
    double get_x_chisq() const { return _x_chisq; }
72
84
 
76
88
    /** Get the y position of the track at z=0 */
77
89
    double get_y0() const { return _y0; }
78
90
 
 
91
    /** Get the global y position of the track at z=0 */
 
92
    double get_global_y0() const { return _global_y0; }
 
93
 
79
94
    /** Set the y position of the track at z=0 */
80
95
    void set_y0(double y0) { _y0 = y0; }
81
96
 
 
97
    /** Set the global y position of the track at z=0 */
 
98
    void set_global_y0(double global_y0) { _global_y0 = global_y0; }
 
99
 
82
100
    /** Get the gradient of the line in y-z */
83
101
    double get_my() const { return _my; }
84
102
 
 
103
    /** Get the gradient of the line in global y-z */
 
104
    double get_global_my() const { return _global_my; }
 
105
 
85
106
    /** Set the gradient of the line in y-z */
86
107
    void set_my(double my) { _my = my; }
87
108
 
 
109
    /** Set the gradient of the line in global y-z */
 
110
    void set_global_my(double global_my) { _global_my = global_my; }
 
111
 
88
112
    /** Get the chi_2 of the line fit in y-z */
89
113
    double get_y_chisq() const { return _y_chisq; }
90
114
 
111
135
    double _y0;
112
136
    double _my;
113
137
    double _y_chisq;
 
138
    double _global_x0;
 
139
    double _global_mx;
 
140
    double _global_y0;
 
141
    double _global_my;
114
142
 
115
143
    MAUS_VERSIONED_CLASS_DEF(SciFiStraightPRTrack)
116
144
};