Commit e69a6fb3 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

added some more description of alignment


Former-commit-id: 08714f38f1dca963dbce39de9f7359eee5d37d19
parent 38f7ab6e
......@@ -16,14 +16,11 @@ Parameters* globalParameters;
int detNum;
void Alignment::initialise(Parameters* par){
// Pick up the global parameters
parameters = par;
if(parameters->alignmentMethod == 1) m_numberOfTracksForAlignment*=10;
}
// During run, just pick up tracks and save them till the end
StatusCode Alignment::run(Clipboard* clipboard){
// Get the tracks
......@@ -52,7 +49,7 @@ StatusCode Alignment::run(Clipboard* clipboard){
// Minimisation functions for Minuit
// ========================================
// METHOD 0
// This method will move the detector in question, refit all of the tracks, and try to minimise the
// track chi2. If there were no clusters from this detector on any tracks then it would do nothing!
void MinimiseTrackChi2(Int_t &npar, Double_t *grad, Double_t &result, Double_t *par, Int_t flag) {
......@@ -97,6 +94,7 @@ void MinimiseTrackChi2(Int_t &npar, Double_t *grad, Double_t &result, Double_t *
}
// METHOD 1
// This method will move the detector in question and try to minimise the (unbiased) residuals. It uses
// the associated cluster container on the track (no refitting of the track)
void MinimiseResiduals(Int_t &npar, Double_t *grad, Double_t &result, Double_t *par, Int_t flag) {
......
......@@ -10,9 +10,6 @@
#include "Cluster.h"
#include "Track.h"
// Fitting function for minuit
void SumDistance2(Int_t &, Double_t *, Double_t &, Double_t *, Int_t );
class Alignment : public Algorithm {
public:
......
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