| Last change
 on this file since 1734 was             546, checked in by ercodmgr, 26 years ago | 
        
          | 
Gestion option Stats ds piapp - Reza 3/11/99
 | 
        
          | File size:
            768 bytes | 
      
      
| Rev | Line |  | 
|---|
| [544] | 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
|  | 2 | // Classe traceur d histogramme                 96-99 | 
|---|
|  | 3 | // CEA-DAPNIA      LAL-IN2P3/CNRS | 
|---|
| [165] | 4 | #ifndef PIHISTO_H | 
|---|
|  | 5 | #define PIHISTO_H | 
|---|
|  | 6 |  | 
|---|
|  | 7 | #include "histos.h" | 
|---|
|  | 8 | #include "pidrawer.h" | 
|---|
|  | 9 |  | 
|---|
|  | 10 | class PIHisto : public PIDrawer { | 
|---|
|  | 11 | public: | 
|---|
|  | 12 | PIHisto(Histo* histo, bool ad=false); | 
|---|
|  | 13 | virtual           ~PIHisto(); | 
|---|
| [205] | 14 | virtual void       Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax); | 
|---|
| [165] | 15 | virtual void       UpdateLimits(); | 
|---|
| [546] | 16 | inline  void       SetStats(bool fg=true) { stats = fg; } | 
|---|
| [165] | 17 | inline  Histo*     Histogram() { return(mHisto); } | 
|---|
|  | 18 |  | 
|---|
|  | 19 | protected: | 
|---|
| [544] | 20 | virtual void       DrawStats(PIGraphicUC* g); | 
|---|
| [165] | 21 | Histo* mHisto; | 
|---|
|  | 22 | bool mAdDO; | 
|---|
| [544] | 23 | bool stats;        // true -> indication des stats d'histo | 
|---|
| [165] | 24 | }; | 
|---|
|  | 25 |  | 
|---|
|  | 26 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.