|
Last change
on this file since 490 was 486, checked in by ercodmgr, 26 years ago |
|
Adapatation a NTupleInterface::GetCelltoString() et ajout trace Label ds PINTuple/3D et Wt ds PINtuple3D - Reza 21/10/99
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*-
|
|---|
| 2 | // Module PI : Peida Interactive PINTuple et PINTupleWdg
|
|---|
| 3 | // Traceur d objet de type NTupleInterface
|
|---|
| 4 |
|
|---|
| 5 | #ifndef PINTUPLE_H
|
|---|
| 6 | #define PINTUPLE_H
|
|---|
| 7 |
|
|---|
| 8 | #include "ntupintf.h"
|
|---|
| 9 | #include "pidrawer.h"
|
|---|
| 10 |
|
|---|
| 11 | class PINTuple : public PIDrawer {
|
|---|
| 12 | public:
|
|---|
| 13 | PINTuple(NTupleInterface* nt, bool ad);
|
|---|
| 14 | virtual ~PINTuple();
|
|---|
| 15 |
|
|---|
| 16 | virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
|
|---|
| 17 | virtual void UpdateLimits();
|
|---|
| 18 |
|
|---|
| 19 | virtual void SelectXY(const char* px, const char* py);
|
|---|
| 20 | virtual void SelectWt(const char* pw=NULL, int nbins=10);
|
|---|
| 21 | virtual void SelectErrBar(const char* erbx=NULL, const char* erby=NULL);
|
|---|
| 22 | virtual void SelectLabel(const char* plabel=NULL);
|
|---|
| 23 |
|
|---|
| 24 | virtual void AppendTextInfo(string& info, double xmin, double ymin, double xmax, double ymax);
|
|---|
| 25 |
|
|---|
| 26 | protected:
|
|---|
| 27 | NTupleInterface* mNT;
|
|---|
| 28 | bool mAdDO;
|
|---|
| 29 | int xK, yK; // Index du nom de variable en X/Y ds le ntuple
|
|---|
| 30 | int xebK, yebK; // Index du nom de variable en ErrBarX/Y ds le ntuple
|
|---|
| 31 | int wK; // Index du nom de variable poids
|
|---|
| 32 | int lK; // Index du nom de variable label (affiche en texte)
|
|---|
| 33 | double wMin, wMax; // Valeurs de poids min/max
|
|---|
| 34 | int nWbins; // Nombre de bins pour le poids (Wt)
|
|---|
| 35 |
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.