GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ConditionPainter.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TGO4CONDITIONPAINTER_H
15#define TGO4CONDITIONPAINTER_H
16
17#include "TGo4LabelPainter.h"
18
19class TGo4Condition;
20
22 public:
24 TGo4ConditionPainter(const char *name, const char *title = nullptr);
25 virtual ~TGo4ConditionPainter();
26
28 virtual void PaintCondition(Option_t *opt = "");
29
31 virtual void UnPaintCondition(Option_t *opt = "");
32
34 void PaintLabel(Option_t *opt = "") override;
35
37 virtual void SetCondition(TGo4Condition *con);
38
39 protected:
42
43 ClassDefOverride(TGo4ConditionPainter,6)
44};
45
46#endif //TGO4CONDITIONPAINTER_H
TGo4Condition * fxCondition
Condition to be painted.
virtual void UnPaintCondition(Option_t *opt="")
Display condition with plain root canvas and in go4 viewpanel.
void PaintLabel(Option_t *opt="") override
Display statistics label for this condition with respect to working histogram.
virtual void PaintCondition(Option_t *opt="")
Display condition with plain root canvas and in go4 viewpanel.
virtual void SetCondition(TGo4Condition *con)
Not inline, because we overwrite this for polygon condition.
Go4 condition class.