source: Sophya/trunk/SophyaLib/NTools/outilsinit.cc@ 394

Last change on this file since 394 was 307, checked in by ansari, 26 years ago

FIO_... + grosses modifs cmv 19/5/99

File size: 1.4 KB
RevLine 
[220]1// Classe d'initialisation du module Outils++
2#include <unistd.h>
3
4#include "outilsinit.h"
5
6#include "matrix.h"
7#include "cvector.h"
8#include "poly.h"
9#include "dvlist.h"
10#include "histos.h"
11#include "histos2.h"
12#include "hisprof.h"
13#include "ntuple.h"
14#include "generaldata.h"
15
16#include "cimage.h"
17
18#include "tabmath.h"
19#include "dates.h"
20#include "datime.h"
21
22int PeidaOutilsInitiator::FgInit = 0;
23
24PeidaOutilsInitiator::PeidaOutilsInitiator()
25 : PeidaInitiator()
26{
27 FgInit++;
28 if (FgInit > 1) return;
29
30// Enregistrement des classes PPersist du modules Outils++
31
32 PPRegister(Matrix);
33 PPRegister(Vector);
34 PPRegister(Poly);
35 PPRegister(Poly2);
[278]36 PPRegister(ObjFileIO<DVList>);
[307]37 //PPRegister(Histo);
38 //PPRegister(Histo2D);
39 //PPRegister(HProf);
[220]40 PPRegister(NTuple);
[307]41 //PPRegister(GeneralFitData);
[220]42
[244]43 PPRegister(RzImage);
44 PPRegister(ImageU2);
45 PPRegister(ImageI2);
46 PPRegister(ImageI4);
47 PPRegister(ImageR4);
[220]48
49 //PPersistMgr::RegisterClass(Matrix::classId, Matrix::Create);
50
51 int pnice;
52 char* snice = getenv("PEIDANICE");
53 if (!snice) pnice=8;
54 else pnice = atoi(snice);
55 nice(pnice);
56
57// TSidSetupLaSilla(); Old-Eros
58
59 gTimeZone = new TimeZone;
60
61 ptabFExp = new TabFExp;
62
63}
64
65PeidaOutilsInitiator::~PeidaOutilsInitiator()
66{
67 FgInit--;
68}
69
70
71// On met un objet initiator en statique, pour les loaders qui savent
72// appeler le constructeur des objets statiques Reza 08/98
73static PeidaOutilsInitiator poutilsinit;
74
Note: See TracBrowser for help on using the repository browser.