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
e69a6fb3
Commit
e69a6fb3
authored
May 11, 2017
by
Daniel Hynds
Browse files
added some more description of alignment
Former-commit-id: 08714f38f1dca963dbce39de9f7359eee5d37d19
parent
38f7ab6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/Alignment.C
View file @
e69a6fb3
...
...
@@ -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
)
{
...
...
branches/trunk/algorithms/Alignment.h
View file @
e69a6fb3
...
...
@@ -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:
...
...
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