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