| Rev | Line |  | 
|---|
| [1920] | 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
|  | 2 | // Classe  PI2dVecDrawer  : trace de flow chart | 
|---|
|  | 3 | // (c) DAPNIA (CEA)                 LAL (IN2P3/CNRS) | 
|---|
|  | 4 | //                           R. Ansari O.Perdereau  01/2002 | 
|---|
| [2161] | 5 | // | 
|---|
| [1920] | 6 | //=========================================================// | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef PI2DVEC_H_SEEN | 
|---|
|  | 9 | #define PI2DVEC_H_SEEN | 
|---|
|  | 10 | #include "pistdimgapp.h" | 
|---|
|  | 11 | #include "piscdrawwdg.h" | 
|---|
|  | 12 | #include "ntupintf.h" | 
|---|
|  | 13 |  | 
|---|
|  | 14 | class PI2dVecDrawer : public PIDrawer{ | 
|---|
|  | 15 | public: | 
|---|
|  | 16 |  | 
|---|
|  | 17 | PI2dVecDrawer(NTupleInterface* nti,bool autodel); | 
|---|
|  | 18 | virtual           ~PI2dVecDrawer(); | 
|---|
|  | 19 | virtual void      Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax); | 
|---|
|  | 20 | virtual void      UpdateLimits(); | 
|---|
|  | 21 | virtual int       SelectXY(const char* px, const char* py); | 
|---|
|  | 22 | virtual int       SelectVW(const char* px, const char* py); | 
|---|
|  | 23 |  | 
|---|
|  | 24 |  | 
|---|
|  | 25 | protected: | 
|---|
|  | 26 | bool _autodel; | 
|---|
|  | 27 | NTupleInterface* _nti; | 
|---|
|  | 28 |  | 
|---|
|  | 29 | int xK, yK;            // Index du nom de variable en X/Y ds le ntuple | 
|---|
|  | 30 | int vK, wK;          // Index du nom de variable des longueurs des vecteurs ds le ntuple | 
|---|
|  | 31 |  | 
|---|
|  | 32 | }; | 
|---|
|  | 33 |  | 
|---|
|  | 34 | // | 
|---|
|  | 35 | // | 
|---|
|  | 36 | // | 
|---|
|  | 37 |  | 
|---|
|  | 38 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.