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