source: trunk/MagicSoft/Mars/manalysis/MMinuitInterface.h@ 2304

Last change on this file since 2304 was 2300, checked in by wittek, 21 years ago
*** empty log message ***
File size: 892 bytes
Line 
1#ifndef MARS_MMinuitInterface
2#define MARS_MMinuitInterface
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef ROOT_TArrayD
9#include <TArrayD.h>
10#endif
11
12
13
14class MMinuitInterface : public MTask
15{
16private:
17
18 UInt_t fNpar;
19 Double_t fMin, fEdm, fErrdef;
20 Int_t fNpari, fNparx, fIstat;
21 Int_t fErrMinimize;
22
23
24public:
25 MMinuitInterface(const char *name=NULL, const char *title=NULL);
26 ~MMinuitInterface();
27
28Bool_t MMinuitInterface::CallMinuit(
29 void (*fcn)(Int_t &, Double_t *, Double_t &, Double_t *, Int_t),
30 UInt_t npar, char name[80][100],
31 Double_t vinit[80], Double_t step[80],
32 Double_t limlo[80], Double_t limup[80], Int_t fix[80],
33 TObject *fObjectFit, TString method, Bool_t nulloutput);
34
35 ClassDef(MMinuitInterface, 1) // Class for interfacing with Minuit
36};
37
38#endif
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Note: See TracBrowser for help on using the repository browser.