Diana Software
QGGraphicalCutBase.hh
Go to the documentation of this file.
1 #ifndef _QG_GRAPHICAL_CUT_BASE_HH_
2 #define _QG_GRAPHICAL_CUT_BASE_HH_
3 
13 #include <string>
14 #include <TCutG.h>
15 
16 class QGGraphicalCutBase : public TCutG {
17  public:
20 
23 
25  virtual ~QGGraphicalCutBase();
26 
28  void SetProperty(const std::string& key, const std::string& value);
29 
30  protected:
32  Int_t fPoints;
33 
35  Double_t fX0;
36 
38  Double_t fY0;
39 
40  ClassDef(QGGraphicalCutBase, 0)
41 };
42 
43 #endif
Base class for GUI graphical cuts. This class has minimal dependencies on other GUI classes so it is ...
void SetProperty(const std::string &key, const std::string &value)
Set property (used for opening a session)
Double_t fX0
X-coordinate of first point.
Int_t fPoints
Number of points selected by the mouse.
virtual ~QGGraphicalCutBase()
Destructor.
Double_t fY0
Y-coordinate of first point.
QGGraphicalCutBase()
Default constructor.