Last change
on this file since 220 was 220, checked in by ansari, 26 years ago |
Creation module DPC/NTools Reza 09/04/99
|
File size:
1.7 KB
|
Line | |
---|
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 |
|
---|
22 | int PeidaOutilsInitiator::FgInit = 0;
|
---|
23 |
|
---|
24 | PeidaOutilsInitiator::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);
|
---|
36 | PPRegister(DVList);
|
---|
37 | PPRegister(Histo);
|
---|
38 | PPRegister(Histo2D);
|
---|
39 | PPRegister(HProf);
|
---|
40 | PPRegister(NTuple);
|
---|
41 | PPRegister(GeneralFitData);
|
---|
42 |
|
---|
43 | PPersistMgr::RegisterClass(RzImage::classId, RzImage::Create);
|
---|
44 | { ImageU2 iu2;
|
---|
45 | PPersistMgr::RegisterClass(iu2.ClassId(), ImageU2::Create); }
|
---|
46 | { ImageI2 ii2;
|
---|
47 | PPersistMgr::RegisterClass(ii2.ClassId(), ImageI2::Create); }
|
---|
48 | { ImageI4 ii4;
|
---|
49 | PPersistMgr::RegisterClass(ii4.ClassId(), ImageI4::Create); }
|
---|
50 | { ImageR4 ir4;
|
---|
51 | PPersistMgr::RegisterClass(ir4.ClassId(), ImageR4::Create); }
|
---|
52 |
|
---|
53 | //PPersistMgr::RegisterClass(Matrix::classId, Matrix::Create);
|
---|
54 |
|
---|
55 | int pnice;
|
---|
56 | char* snice = getenv("PEIDANICE");
|
---|
57 | if (!snice) pnice=8;
|
---|
58 | else pnice = atoi(snice);
|
---|
59 | nice(pnice);
|
---|
60 |
|
---|
61 | // TSidSetupLaSilla(); Old-Eros
|
---|
62 |
|
---|
63 | gTimeZone = new TimeZone;
|
---|
64 |
|
---|
65 | ptabFExp = new TabFExp;
|
---|
66 |
|
---|
67 | }
|
---|
68 |
|
---|
69 | PeidaOutilsInitiator::~PeidaOutilsInitiator()
|
---|
70 | {
|
---|
71 | FgInit--;
|
---|
72 | }
|
---|
73 |
|
---|
74 |
|
---|
75 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
76 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
77 | static PeidaOutilsInitiator poutilsinit;
|
---|
78 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.