GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
GCanvas Class Reference

#include <GCanvas.h>

Public Member Functions

 GCanvas (Bool_t build=kTRUE)
 GCanvas (const char *name, const char *title="", Int_t form=1)
 GCanvas (const char *name, const char *title, Int_t ww, Int_t wh)
 GCanvas (const char *name, Int_t ww, Int_t wh, Int_t winid)
 GCanvas (const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
virtual ~GCanvas ()
void HandleInput (Int_t event, Int_t x, Int_t y)
void Draw (Option_t *opt="")
Int_t GetNMarkers ()
void SetMarkerMode (bool flag=true)
TF1 * GetLastFit ()
bool HandleArrowKeyPress (Event_t *event, UInt_t *keysym)
bool HandleKeyboardPress (Event_t *event, UInt_t *keysym)
bool HandleMousePress (Int_t event, Int_t x, Int_t y)
bool Process1DArrowKeyPress (Event_t *event, UInt_t *keysym)
bool Process1DKeyboardPress (Event_t *event, UInt_t *keysym)
bool Process1DMousePress (Int_t event, Int_t x, Int_t y)
bool Process2DArrowKeyPress (Event_t *event, UInt_t *keysym)
bool Process2DKeyboardPress (Event_t *event, UInt_t *keysym)
bool Process2DMousePress (Int_t event, Int_t x, Int_t y)

Static Public Member Functions

static GCanvasMakeDefCanvas ()

Private Member Functions

void GCanvasInit ()
void UpdateStatsInfo (int, int)
void AddMarker (int, int, int dim=1)
void RemoveMarker (Option_t *opt="")
void OrderMarkers ()
std::vector< TH1 * > FindHists (int dim=1)
std::vector< TH1 * > FindAllHists ()
bool toggle_control ()
 ClassDef (GCanvas, 2)

Private Attributes

bool fMarkerMode
std::vector< GMarker * > fMarkers
Window_t fCanvasWindowID
TRootCanvas * fRootCanvas
bool control_key

Static Private Attributes

static int lastx = 0
static int lasty = 0

Constructor & Destructor Documentation

GCanvas::GCanvas ( Bool_t  build = kTRUE)
GCanvas::GCanvas ( const char *  name,
const char *  title = "",
Int_t  form = 1 
)
GCanvas::GCanvas ( const char *  name,
const char *  title,
Int_t  ww,
Int_t  wh 
)
GCanvas::GCanvas ( const char *  name,
Int_t  ww,
Int_t  wh,
Int_t  winid 
)
GCanvas::GCanvas ( const char *  name,
const char *  title,
Int_t  wtopx,
Int_t  wtopy,
Int_t  ww,
Int_t  wh 
)
GCanvas::~GCanvas ( )
virtual

Member Function Documentation

void GCanvas::AddMarker ( int  x,
int  y,
int  dim = 1 
)
private
GCanvas::ClassDef ( GCanvas  ,
 
)
private
void GCanvas::Draw ( Option_t *  opt = "")
std::vector< TH1 * > GCanvas::FindAllHists ( )
private
std::vector< TH1 * > GCanvas::FindHists ( int  dim = 1)
private
void GCanvas::GCanvasInit ( )
private
TF1 * GCanvas::GetLastFit ( )
Int_t GCanvas::GetNMarkers ( )
inline
bool GCanvas::HandleArrowKeyPress ( Event_t *  event,
UInt_t *  keysym 
)
void GCanvas::HandleInput ( Int_t  event,
Int_t  x,
Int_t  y 
)
bool GCanvas::HandleKeyboardPress ( Event_t *  event,
UInt_t *  keysym 
)
bool GCanvas::HandleMousePress ( Int_t  event,
Int_t  x,
Int_t  y 
)
GCanvas * GCanvas::MakeDefCanvas ( )
static
void GCanvas::OrderMarkers ( )
private
bool GCanvas::Process1DArrowKeyPress ( Event_t *  event,
UInt_t *  keysym 
)
bool GCanvas::Process1DKeyboardPress ( Event_t *  event,
UInt_t *  keysym 
)
bool GCanvas::Process1DMousePress ( Int_t  event,
Int_t  x,
Int_t  y 
)
bool GCanvas::Process2DArrowKeyPress ( Event_t *  event,
UInt_t *  keysym 
)
bool GCanvas::Process2DKeyboardPress ( Event_t *  event,
UInt_t *  keysym 
)
bool GCanvas::Process2DMousePress ( Int_t  event,
Int_t  x,
Int_t  y 
)
void GCanvas::RemoveMarker ( Option_t *  opt = "")
private
void GCanvas::SetMarkerMode ( bool  flag = true)
inline
bool GCanvas::toggle_control ( )
inlineprivate
void GCanvas::UpdateStatsInfo ( int  ,
int   
)
private

Member Data Documentation

bool GCanvas::control_key
private
Window_t GCanvas::fCanvasWindowID
private
bool GCanvas::fMarkerMode
private
std::vector<GMarker*> GCanvas::fMarkers
private
TRootCanvas* GCanvas::fRootCanvas
private
int GCanvas::lastx = 0
staticprivate
int GCanvas::lasty = 0
staticprivate

The documentation for this class was generated from the following files: