Last change
on this file since 763 was 763, checked in by ansari, 26 years ago |
Reorganisation - Creation du module HiStats (Histos, NTuple, ...) - Reza 2/3/2000
|
File size:
844 bytes
|
Line | |
---|
1 | // Classe d'initialisation du module HiStats
|
---|
2 | // (Histogram and Statistics)
|
---|
3 |
|
---|
4 | #include "machdefs.h"
|
---|
5 | #include "histinit.h"
|
---|
6 |
|
---|
7 | #include "histos.h"
|
---|
8 | #include "histos2.h"
|
---|
9 | #include "hisprof.h"
|
---|
10 | #include "ntuple.h"
|
---|
11 | #include "xntuple.h"
|
---|
12 |
|
---|
13 | int HiStatsInitiator::FgInit = 0;
|
---|
14 |
|
---|
15 | HiStatsInitiator::HiStatsInitiator()
|
---|
16 | : NToolsInitiator()
|
---|
17 | {
|
---|
18 | FgInit++;
|
---|
19 | if (FgInit > 1) return;
|
---|
20 |
|
---|
21 | // Enregistrement des classes PPersist du modules HiStats
|
---|
22 |
|
---|
23 | PPRegister(ObjFileIO<Histo>);
|
---|
24 | PPRegister(ObjFileIO<Histo2D>);
|
---|
25 | PPRegister(ObjFileIO<HProf>);
|
---|
26 |
|
---|
27 | PPRegister(ObjFileIO<NTuple>);
|
---|
28 | PPRegister(ObjFileIO<XNTuple>);
|
---|
29 |
|
---|
30 | }
|
---|
31 |
|
---|
32 | HiStatsInitiator::~HiStatsInitiator()
|
---|
33 | {
|
---|
34 | FgInit--;
|
---|
35 | }
|
---|
36 |
|
---|
37 |
|
---|
38 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
39 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
40 | static HiStatsInitiator histatsinit;
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.