source: Sophya/trunk/SophyaPI/PIext/pintuple.h@ 333

Last change on this file since 333 was 333, checked in by ercodmgr, 26 years ago

Trace de NTuple en 2D avec Marker de taille proportionnelle a Weight
Introduction des repertoires dans la gestion d'objets NameObjMgr
Reorganisation NamedObjMgr et Services2NObjMgr, ajout de commandes , ...
Reza 12/7/99

File size: 969 bytes
Line 
1#ifndef PINTUPLE_H
2#define PINTUPLE_H
3
4#include "ntupintf.h"
5#include "pidrawer.h"
6
7class PINTuple : public PIDrawer {
8public:
9 PINTuple(NTupleInterface* nt, bool ad);
10 virtual ~PINTuple();
11
12 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
13 virtual void UpdateLimits();
14
15 void SelectXY(const char* px, const char* py);
16 void SelectWt(const char* pw=NULL, int nbins=10);
17 void SelectErrBar(const char* erbx=NULL, const char* erby=NULL);
18
19
20protected:
21 NTupleInterface* mNT;
22 bool mAdDO;
23 int xK, yK; // Index du nom de variable en X/Y ds le ntuple
24 int xebK, yebK; // Index du nom de variable en ErrBarX/Y ds le ntuple
25 int wK; // Index du nom de variable poids
26 double wMin, wMax; // Valeurs de poids min/max
27 int nWbins; // Nombre de bins pour le poids (Wt)
28
29};
30
31#endif
32
33
34
35
Note: See TracBrowser for help on using the repository browser.