Last change
on this file since 809 was 809, checked in by ansari, 25 years ago |
Adaptation modifs TArray<T>,PPersist - Reza 03/04/2000
|
File size:
1.0 KB
|
Rev | Line | |
---|
[763] | 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>);
|
---|
[809] | 24 | DObjRegister(ObjFileIO<Histo>, Histo);
|
---|
[763] | 25 | PPRegister(ObjFileIO<Histo2D>);
|
---|
[809] | 26 | DObjRegister(ObjFileIO<Histo2D>, Histo2D);
|
---|
[763] | 27 | PPRegister(ObjFileIO<HProf>);
|
---|
[809] | 28 | DObjRegister(ObjFileIO<HProf>, HProf);
|
---|
[763] | 29 |
|
---|
| 30 | PPRegister(ObjFileIO<NTuple>);
|
---|
[809] | 31 | DObjRegister(ObjFileIO<NTuple>, NTuple);
|
---|
[763] | 32 | PPRegister(ObjFileIO<XNTuple>);
|
---|
[809] | 33 | DObjRegister(ObjFileIO<XNTuple>, XNTuple);
|
---|
[763] | 34 |
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | HiStatsInitiator::~HiStatsInitiator()
|
---|
| 38 | {
|
---|
| 39 | FgInit--;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 44 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 45 | static HiStatsInitiator histatsinit;
|
---|
| 46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.