Base for a Graphical condition 2D. More...
#include <GCondition.h>
Public Member Functions | |
TCutG * | AddWindow (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Option_t *opt="+") |
Add a window to the list of conditions. More... | |
virtual void | Browse (TBrowser *) |
Browser means Draw. More... | |
virtual void | Copy (TObject &o) const |
virtual void | Delete (Option_t *option="") |
delete all object from fListOfConditions More... | |
void | Draw (Option_t *option="") |
virtual void | Enable () |
toggle on/off the cut. if off returns always passed More... | |
virtual Short_t | Export (const char *what="*", const char *to="MyCuts", Option_t *opt="") const |
GCond2D () | |
GCond2D (const char *name, const char *title) | |
GCond2D (const GCond2D &p) | |
const TObjArray & | GetListOfConditions () |
to get one by one the individual list of conditions More... | |
virtual Bool_t | HasPassed () const |
return true if last condition has been passed. Set to false at the beginning of IsPassed More... | |
virtual Bool_t | HasPassed (UInt_t i) const |
virtual Short_t | Import (const char *what="*", const char *from="gpad", Option_t *opt="+") |
Import 2D conditions. More... | |
virtual Bool_t | IsAnti () const |
virtual Bool_t | IsEnable () const |
virtual Bool_t | IsPassed (Double_t, Double_t) const |
returns true if the condition is passed with success More... | |
virtual void | Print (Option_t *option="") const |
overwritte print method ... should be to gw log system More... | |
virtual void | SetVarName (const Char_t *var_name, const Char_t *which_var="X") |
Set var name. More... | |
virtual void | UseAsAnti (Bool_t r=false) |
to change gate into an anti gate More... | |
virtual void | WindowGCreator (const char *c_name="") |
prepare current canvas to draw a TCutG. More... | |
virtual | ~GCond2D () |
Static Public Attributes | |
static const Style_t | gAnticStyle = 3005 |
static const Style_t | gCoincStyle = 3004 |
Protected Attributes | |
Bool_t | fEnable |
Bool_t | fExpectedResult |
Bool_t | fHasPassed |
std::vector< Bool_t > | fHasPassed_ |
TObjArray | fListOfConditions |
Base for a Graphical condition 2D.
List of TCutG. they are not owned by this and thus not deleted, but can be removed of this. As any graphical ROOT cut, they are stored in the ListOfSpecials objects. For security, it is better to try and avoid having two different cuts with the same name.
Definition at line 233 of file GCondition.h.