KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVIDGridEditorCanvas.h
1
3
4#ifndef __KVIDGridEditorCanvas_H
5#define __KVIDGridEditorCanvas_H
6
7#include "TCanvas.h"
8#include "KVCanvas.h"
9#include "TGFrame.h"
10
23
32
34
35protected:
37 virtual Bool_t HandleKey(Int_t px, Int_t py);
38
39public:
41 KVIDGridEditorCanvas(const char* name, const char* title, Int_t ww, Int_t wh);//:KVCanvas(name,title,ww,wh);
42
43 virtual ~KVIDGridEditorCanvas();
44
46
47 ClassDef(KVIDGridEditorCanvas, 1) //bidouille
48};
49
50#endif
EEventType
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Definition KVCanvas.h:54
Extended version of KVCanvas used by KVIDGridEditor.
Double_t YbinPixel
size of bins in pixels
Int_t NdisYbins
number of displayed bins on X & Y
virtual ~KVIDGridEditorCanvas()
Destructor.
virtual Bool_t HandleKey(Int_t px, Int_t py)
KeyHandler *fKeyHandler; // handler for arrow keys.
Int_t Ylast0
number of bins on y-axis, initial displayed bins
Int_t X0
friend class KeyHandler;
Int_t Xlast0
number of bins on x-axis, initial displayed bins
KVIDGridEditorCanvas()
Default constructor.
Int_t Yl1
last modification to axis limits
TAxis * theYaxis
the axes of the histogram
Int_t Y0
coordinates of initial click in pad pixels
void HandleInput(EEventType event, Int_t px, Int_t py)