KaliVeda
Toolkit for HIC analysis
KVIDGridEditorCanvas.h
1 
4 #ifndef __KVIDGridEditorCanvas_H
5 #define __KVIDGridEditorCanvas_H
6 
7 #include "TCanvas.h"
8 #include "KVCanvas.h"
9 #include "TGFrame.h"
10 
23 
25  Int_t X0, Y0;
26  Int_t NdisXbins, NdisYbins;
27  Int_t NXbins, Xfirst0, Xlast0;
28  Int_t NYbins, Yfirst0, Ylast0;
29  TAxis* theXaxis, *theYaxis;
30  Double_t XbinPixel, YbinPixel;
31  Int_t Xf1, Xl1, Yf1, Yl1;
32 
34 
35 protected:
37  Bool_t HandleKey(Int_t px, Int_t py) override;
38  void RunAutoExec();
39 
40 public:
42  KVIDGridEditorCanvas(const char* name, const char* title, Int_t ww, Int_t wh);//:KVCanvas(name,title,ww,wh);
43 
44  virtual ~KVIDGridEditorCanvas();
45 
46  void HandleInput(EEventType event, Int_t px, Int_t py) override;
47 
49 };
50 
51 #endif
EEventType
int Int_t
bool Bool_t
double Double_t
#define ClassDefOverride(name, id)
char name[80]
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Definition: KVCanvas.h:54
Extended version of KVCanvas used by KVIDGridEditor.
virtual ~KVIDGridEditorCanvas()
Destructor.
KVIDGridEditorCanvas()
Default constructor.
void HandleInput(EEventType event, Int_t px, Int_t py) override