1 #ifndef _QG_GRAPHICAL_CUT_HH_
2 #define _QG_GRAPHICAL_CUT_HH_
45 void SetName(
const char *name = 0);
48 void SetProperty(
const std::string& key,
const std::string& value);
Base class for GUI graphical cuts. This class has minimal dependencies on other GUI classes so it is ...
Class for graphical cuts.
static std::list< QGGraphicalCut * > fGraphicalCuts
Static list of existing graphical cuts.
void HandleCanvasEvent(Int_t event, Int_t px, Int_t py, TObject *selected)
Handle mouse events in the canvas.
void Erase()
Erase the graphical cut.
Double_t fXLast
X-coordinate of last selected point.
virtual ~QGGraphicalCut()
Destructor.
void Create()
Create the graphical cut with the mouse.
void CopyNameToClipboard() const
Copy name to clipboard.
void Display()
Display the graphical cut.
Double_t fYLast
Y-coordinate of last selected point.
const char * GetName() const
Get graphical cut name.
void SetName(const char *name=0)
Set graphical cut name.
void SetProperty(const std::string &key, const std::string &value)
Set property (used for opening a session)
QGGraphicalCut()
Default constructor.
void ViewPulses() const
View pulses.
Base class for GUI plots including histograms, scatter plots, pulses, and graphical cuts.