Commit 7258df79 authored by CLICdp user's avatar CLICdp user
Browse files

extend number of tracks used for alignment method 1


Former-commit-id: fb9c9114a6c8910b839d3a445c9f8f3976b0e2e3
parent 6c4ef930
......@@ -5,7 +5,7 @@
Alignment::Alignment(bool debugging)
: Algorithm("Alignment"){
debug = debugging;
m_numberOfTracksForAlignment = 400000;
m_numberOfTracksForAlignment = 200000;
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment