source: Sophya/trunk/SophyaPI/PIext/nomgfdadapter.h@ 3505

Last change on this file since 3505 was 2975, checked in by ansari, 19 years ago

Ajout flag int lev ds les adaptateurs NObjMgrAdapter::Print(ostream& os, int lev=0) et NamedObjMgr::Print() + modif commande print - Reza 20 Juin 2006

File size: 1.4 KB
Line 
1// This may look like C code, but it is really -*- C++ -*-
2// Adaptateur d objets (pour NamedObjMgr) pour GeneralFitData
3// cmv 27/7/99
4// LAL-IN2P3/CNRS CEA-DAPNIA
5
6#ifndef NOMGFDADAPTER_H_SEEN
7#define NOMGFDADAPTER_H_SEEN
8
9#include "nomgadapter.h"
10#include "generalfit.h"
11
12//-------------------------------------------------------------------------
13// Class Adaptateur d'objet (Pour NamedObjMgr) d'objet GeneralFitData
14//-------------------------------------------------------------------------
15
16class NOMAdapter_GeneralFitData : public NObjMgrAdapter {
17public:
18 NOMAdapter_GeneralFitData(GeneralFitData* o = NULL);
19 virtual ~NOMAdapter_GeneralFitData();
20
21 virtual NObjMgrAdapter* Clone(AnyDataObj* o);
22
23 virtual string GetDataObjType();
24
25 virtual AnyDataObj* CloneDataObj(bool share=false);
26
27 virtual void SavePPF(POutPersist& s, string const & nom);
28
29 virtual void Print(ostream& os, int lev=0);
30 virtual NTupleInterface* GetNTupleInterface(bool& adel);
31
32 virtual GeneralFitData* GetGeneralFitData(bool& adel
33 ,GeneralFitData::FitErrType errtype=GeneralFitData::DefaultError
34 ,double errscale=1.,double errmin=0.
35 ,int i1=0,int i2=-1,int j1=0,int j2=-1);
36 virtual AnyDataObj* FitResidusObj(GeneralFit& mfit);
37 virtual AnyDataObj* FitFunctionObj(GeneralFit& mfit);
38
39protected:
40 GeneralFitData* mG;
41};
42
43
44#endif
Note: See TracBrowser for help on using the repository browser.