class description - source file - inheritance tree

class TPaveVar : public TPaveLabel

virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) public:
TPaveVar TPaveVar() TPaveVar TPaveVar(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, const char* label, TTreeViewer* viewer) TPaveVar TPaveVar(const TPaveVar& PaveVar) virtual void ~TPaveVar() TClass* Class() virtual void Copy(TObject& PaveVar) TTreeViewer* GetViewer() virtual TClass* IsA() const virtual void Merge(Option_t* option = AND) virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetViewer(TTreeViewer* viewer) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

TTreeViewer* fViewer Pointer to the TTreeViewer referencing this object public:
static const enum TObject:: kBranchObject

Class Description

  A PaveVar is a TPaveLabel  specialized to process
  variables and cuts inside a TTreeViewer.
   A TPaveVar object is used by the TTreeViewer to represent
     - a TTree variable
     - a selection expression.
   A TPavevar has the same graphical representation as a TPaveLabel.
   One can only resize the left or right borders (not top/bottom).
   The context menu allows merging (and/or) overlapping TPaveVars.

TPaveVar(): TPaveLabel()
*-*-*-*-*-*-*-*-*-*-*PaveVar default constructor*-*-*-*-*-*-*-*-*-*-*-*-*

TPaveVar(Coord_t x1, Coord_t y1,Coord_t x2, Coord_t y2, const char *label, TTreeViewer *viewer) :TPaveLabel(x1,y1,x2,y2,label,"br")
*-*-*-*-*-*-*-*-*-*-*PaveVar normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

*-*-*-*-*-*-*-*-*-*-*PaveVar default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

TPaveVar(const TPaveVar &PaveVar)

void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*Copy this PaveVar to PaveVar*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ================================

void ExecuteEvent(Int_t event, Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
*-*                  =========================================
  This member function is called when a TPaveVar object is clicked.

  If the mouse is clicked inside the box, the box is moved.

  If the mouse is clicked on the 2 edges (L,R), the box is rscaled
  parallel to this edge.

    PA                    T                       PB
     |                                            |
     |                                            |
     |                                            |
    L|                  INSIDE                    |R
     |                                            |
     |                                            |
     |                                            |
     |                                            |
    PD                    B                      PC

void Merge(Option_t *option)
  Merge all TPaveVars overlapping with this TPaveVar on the TTeeeViewer
     option = "AND" all paves are ANDed in a new TPaveVar
     option = "OR"  all paves are ORed in a new TPaveVar

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out

Inline Functions

        TTreeViewer* GetViewer()
                void SetViewer(TTreeViewer* viewer)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)

Author: Rene Brun 08/12/98
Last update: 2.23/12 26/01/2000 09.55.11 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *

ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.