source: Sophya/trunk/SophyaPI/PIext/piafitting.h@ 361

Last change on this file since 361 was 361, checked in by ercodmgr, 26 years ago

Deplacement des methodes d'ajustement dans nouvelle classe Reza 6/8/99

File size: 1.3 KB
Line 
1// This may look like C code, but it is really -*- C++ -*-
2// Classe d ajustement pour piapp
3// cmv 98-99
4// CEA-DAPNIA LAL-IN2P3/CNRS
5
6#ifndef PIAFITTING_H_SEEN
7#define PIAFITTING_H_SEEN
8
9#include "machdefs.h"
10#include <string>
11#include <vector>
12#if defined(__KCC__)
13using std::string ;
14#include <vector.h>
15#endif
16
17#include "anydataobj.h"
18
19#include "pdlmgr.h"
20#include "dlftypes.h"
21#include "piacmd.h"
22
23class Vector;
24class PIStdImgApp;
25
26class PIAFitter : public CmdExecutor {
27public :
28 PIAFitter(PIACmd* piac, PIStdImgApp* app);
29 virtual ~PIAFitter();
30 virtual int Execute(string& keyw, vector<string>& args);
31
32// Methodes de fit - CMV , deux methodes H1 H2 ou 1 seule ??) ...
33 virtual void Fit12D(string & nom, string& func,
34 string par,string step,string min,string max,string opt);
35
36protected :
37typedef struct DFOptions {
38 int okres, okfun;
39 int polcx,polcy; double xc,yc;
40 double err_e, err_E;
41 double stc2;
42 int nstep;
43 int lp,lpg;
44 int i1,i2,j1,j2;
45} DFOPTIONS ;
46
47 static void DecodeFitsOptions(string par,string step,string min,string max,string opt
48 ,Vector& Par,Vector& Step,Vector& Min,Vector& Max,DFOPTIONS& O);
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.