10 : TCutG(
"", 3), fPoints(0)
15 : TCutG(graphicalCut), fPoints(graphicalCut.fPoints)
26 SetName(value.c_str());
29 string::size_type delimiter = value.find_first_of(
",");
30 if (delimiter != string::npos) {
31 TString xTString(value.substr(0, delimiter));
32 TString yTString(value.substr(delimiter + 1));
33 if (xTString.IsFloat() && yTString.IsFloat()) {
34 Double_t x = xTString.Atof();
35 Double_t y = yTString.Atof();
52 SetVarX(value.c_str());
55 SetVarY(value.c_str());
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.