#ifndef TGO4CONDITIONPAINTER_H #define TGO4CONDITIONPAINTER_H #include "TGo4LabelPainter.h" class TGo4Condition; class TGo4ConditionPainter : public TGo4LabelPainter { public: TGo4ConditionPainter(); TGo4ConditionPainter(const Text_t * name); TGo4ConditionPainter(const Text_t * name, const Text_t * title); virtual ~TGo4ConditionPainter(); /** Display condition with plain root canvas and in go4 viewpanel */ virtual void PaintCondition(Option_t* opt=""); /** Display condition with plain root canvas and in go4 viewpanel */ virtual void UnPaintCondition(Option_t* opt=""); /** Display statistics label for this condition with respect to working histogram */ virtual void PaintLabel(Option_t* opt=""); /** Not inline, because we overwrite this for polygon condition. */ virtual void SetCondition(TGo4Condition* con); protected: /** Condition to be painted.*/ TGo4Condition* fxCondition; ClassDef(TGo4ConditionPainter,6) }; #endif //TGO4CONDITIONPAINTER_H