15#ifndef TRGCDCDisplayRphi_FLAG_
16#define TRGCDCDisplayRphi_FLAG_
19#include "trg/cdc/Display.h"
20#include "trg/cdc/DisplayDrawingAreaRphi.h"
22#ifdef TRGCDC_SHORT_NAMES
23#define TCDisplayRphi TRGCDCDisplayRphi
26namespace Belle2_TRGCDC {
27 extern Belle2::TRGCDCDisplayHough* H0;
28 extern Belle2::TRGCDCDisplayHough* H1;
41 class TRGCDCDisplayRphi :
public TRGCDCDisplay {
45 TRGCDCDisplayRphi(
const std::string& name =
"TRGCDCDisplayRphi",
51 virtual ~TRGCDCDisplayRphi();
56 double scale(
void)
const;
62 bool axial(
void)
const;
65 bool stereo(
void)
const;
68 virtual void on_scale_value_changed(
void);
69 virtual void on_positionReset(
void)
override;
70 virtual void on_axial(
void);
71 virtual void on_stereo(
void);
72 virtual void on_wireName(
void)
override;
73 virtual void on_BelleCDC(
void);
78 virtual TRGCDCDisplayDrawingAreaRphi& area(
void);
83 TRGCDCDisplayDrawingAreaRphi _w;
84 Gtk::Adjustment _adjustment;
86 Gtk::CheckButton _buttonAxial;
87 Gtk::CheckButton _buttonStereo;
88 Gtk::CheckButton _buttonBelleCDC;
94 TRGCDCDisplayDrawingAreaRphi&
95 TRGCDCDisplayRphi::area(
void)
102 TRGCDCDisplayRphi::axial(
void)
const
109 TRGCDCDisplayRphi::stereo(
void)
const
116 TRGCDCDisplayRphi::scale(
void)
const
118 return _scaler.get_value();
123 TRGCDCDisplayRphi::scale(
double a)
125 _scaler.set_value(a);
126 return _scaler.get_value();
Abstract base class for different kinds of events.