AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackReconstructor.cxx File Reference
#include "AliMUONTrackReconstructor.h"
#include "AliMUONConstants.h"
#include "AliMUONVCluster.h"
#include "AliMUONVClusterServer.h"
#include "AliMUONVClusterStore.h"
#include "AliMUONTrack.h"
#include "AliMUONTrackParam.h"
#include "AliMUONTrackExtrap.h"
#include "AliMUONRecoParam.h"
#include "AliMUONGeometryTransformer.h"
#include "AliMpArea.h"
#include "AliLog.h"
#include <TMinuit.h>
#include <Riostream.h>
#include <TMath.h>
#include <TMatrixD.h>
#include <TClonesArray.h>
Include dependency graph for AliMUONTrackReconstructor.cxx:

Go to the source code of this file.

Functions

void TrackChi2 (Int_t &nParam, Double_t *gradient, Double_t &chi2, Double_t *param, Int_t flag)
 

Function Documentation

void TrackChi2 ( Int_t &  nParam,
Double_t *  gradient,
Double_t &  chi2,
Double_t *  param,
Int_t  flag 
)

Return the "Chi2" to be minimized with Minuit for track fitting. Assumes that the trackParamAtCluster are sorted according to increasing Z. Track parameters at each cluster are updated accordingly. Vertex is used according to the flag "trackBeingFitted->GetFitWithVertex()". Multiple Coulomb scattering is taken into account according to the flag "trackBeingFitted->GetFitWithMCS()".

Definition at line 1266 of file AliMUONTrackReconstructor.cxx.

Referenced by AliMUONTrackReconstructor::Fit().