Fixes for bug #52499: Field polarities inconsistiency
[u/mrichter/AliRoot.git] / STEER / AliTrackResidualsChi2.h
CommitLineData
98937d93 1#ifndef ALITRACKRESIDUALSCHI2_H
2#define ALITRACKRESIDUALSCHI2_H
3
4//************************************************************************
5// AliTrackResidualsChi2: derived class (from AliTrackResiduals) which *
46ae650f 6// implements a MINUIT minimization of the track residuals chi2. *
7// *
98937d93 8// *
9//************************************************************************
10
11#include "AliAlignObj.h"
12#include "AliTrackResiduals.h"
13
14class AliTrackResidualsChi2 : public AliTrackResiduals {
15
16 public:
17 AliTrackResidualsChi2():AliTrackResiduals() { }
46ae650f 18 AliTrackResidualsChi2(Int_t ntracks):AliTrackResiduals(ntracks) { }
98937d93 19 AliTrackResidualsChi2(const AliTrackResidualsChi2 &res):AliTrackResiduals(res) { }
20 AliTrackResidualsChi2& operator= (const AliTrackResidualsChi2& res) { ((AliTrackResiduals *)this)->operator=(res); return *this; }
21 virtual ~AliTrackResidualsChi2() { }
22
23 Bool_t Minimize();
24
25 void Chi2(Int_t & /* npar */, Double_t * /* gin */, Double_t &f, Double_t *par, Int_t /* iflag */);
26
27 protected:
28
29 ClassDef(AliTrackResidualsChi2,1)
30
31};
32
33#endif