Last change
on this file since 2608 was 2603, checked in by cmv, 21 years ago |
add HistoErr pour gestion des erreurs cmv 3/9/04
|
File size:
1.3 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"
|
---|
[2603] | 10 | #include "histerr.h"
|
---|
[763] | 11 | #include "ntuple.h"
|
---|
| 12 | #include "xntuple.h"
|
---|
| 13 |
|
---|
[920] | 14 | /*!
|
---|
| 15 | \defgroup HiStats HiStats module
|
---|
| 16 | This module contains histograms
|
---|
| 17 | */
|
---|
| 18 |
|
---|
[763] | 19 | int HiStatsInitiator::FgInit = 0;
|
---|
| 20 |
|
---|
[920] | 21 | /*!
|
---|
| 22 | \class SOPHYA::HiStatsInitiator
|
---|
| 23 | \ingroup HiStats
|
---|
| 24 | Histograms initiator
|
---|
| 25 | */
|
---|
[763] | 26 | HiStatsInitiator::HiStatsInitiator()
|
---|
| 27 | : NToolsInitiator()
|
---|
| 28 | {
|
---|
| 29 | FgInit++;
|
---|
| 30 | if (FgInit > 1) return;
|
---|
| 31 |
|
---|
| 32 | // Enregistrement des classes PPersist du modules HiStats
|
---|
| 33 |
|
---|
| 34 | PPRegister(ObjFileIO<Histo>);
|
---|
[809] | 35 | DObjRegister(ObjFileIO<Histo>, Histo);
|
---|
[763] | 36 | PPRegister(ObjFileIO<Histo2D>);
|
---|
[809] | 37 | DObjRegister(ObjFileIO<Histo2D>, Histo2D);
|
---|
[763] | 38 | PPRegister(ObjFileIO<HProf>);
|
---|
[809] | 39 | DObjRegister(ObjFileIO<HProf>, HProf);
|
---|
[2603] | 40 | PPRegister(ObjFileIO<HistoErr>);
|
---|
| 41 | DObjRegister(ObjFileIO<HistoErr>, HistoErr);
|
---|
[763] | 42 |
|
---|
| 43 | PPRegister(ObjFileIO<NTuple>);
|
---|
[809] | 44 | DObjRegister(ObjFileIO<NTuple>, NTuple);
|
---|
[763] | 45 | PPRegister(ObjFileIO<XNTuple>);
|
---|
[809] | 46 | DObjRegister(ObjFileIO<XNTuple>, XNTuple);
|
---|
[763] | 47 |
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | HiStatsInitiator::~HiStatsInitiator()
|
---|
| 51 | {
|
---|
| 52 | FgInit--;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 57 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 58 | static HiStatsInitiator histatsinit;
|
---|
| 59 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.