Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
7258df79
Commit
7258df79
authored
May 09, 2017
by
CLICdp user
Browse files
extend number of tracks used for alignment method 1
Former-commit-id: fb9c9114a6c8910b839d3a445c9f8f3976b0e2e3
parent
6c4ef930
Changes
1
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/Alignment.C
View file @
7258df79
...
...
@@ -5,7 +5,7 @@
Alignment
::
Alignment
(
bool
debugging
)
:
Algorithm
(
"Alignment"
){
debug
=
debugging
;
m_numberOfTracksForAlignment
=
4
00000
;
m_numberOfTracksForAlignment
=
2
00000
;
nIterations
=
5
;
}
...
...
@@ -20,6 +20,8 @@ void Alignment::initialise(Parameters* par){
// Pick up the global parameters
parameters
=
par
;
if
(
parameters
->
alignmentMethod
==
1
)
m_numberOfTracksForAlignment
*=
10
;
}
StatusCode
Alignment
::
run
(
Clipboard
*
clipboard
){
...
...
@@ -148,7 +150,7 @@ void MinimiseResiduals(Int_t &npar, Double_t *grad, Double_t &result, Double_t *
void
Alignment
::
finalise
(){
// If not enough tracks were produced, do nothing
if
(
m_alignmenttracks
.
size
()
<
m_numberOfTracksForAlignment
)
return
;
//
if(m_alignmenttracks.size() < m_numberOfTracksForAlignment) return;
// Make the fitting object
TVirtualFitter
*
residualFitter
=
TVirtualFitter
::
Fitter
(
0
,
50
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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