Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
a7f217e7
Commit
a7f217e7
authored
Nov 20, 2020
by
Lennart Huth
Browse files
inline comment for degrees of freedom
parent
5a22d6be
Changes
1
Show whitespace changes
Inline
Side-by-side
src/objects/StraightLineTrack.cpp
View file @
a7f217e7
...
...
@@ -36,6 +36,8 @@ ROOT::Math::XYPoint StraightLineTrack::getKinkAt(const std::string&) const {
void
StraightLineTrack
::
calculateChi2
()
{
// Get the number of clusters
// We do have a 2-dimensional offset(x_0,y_0) and slope (dx,dy). Each hit provides two measurements.
// ndof_ = 2*num_planes - 4 = 2 * (num_planes -2)
ndof_
=
(
static_cast
<
double
>
(
track_clusters_
.
size
())
-
2.
)
*
2.
;
chi2_
=
0.
;
chi2ndof_
=
0.
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment