Belle II Software  release-08-01-10
DisplayDrawingArea.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 //-----------------------------------------------------------------------------
10 // Description : A class to display CDC trigger objects.
11 //-----------------------------------------------------------------------------
12 
13 #ifdef TRGCDC_DISPLAY
14 
15 #define TRGCDC_SHORT_NAMES
16 
17 #include <iostream>
18 #include <pangomm/init.h>
19 #include "trg/cdc/DisplayDrawingAreaRphi.h"
20 
21 using namespace std;
22 
23 namespace Belle2 {
29  TRGCDCDisplayDrawingArea::TRGCDCDisplayDrawingArea(TRGCDCDisplay& w,
30  int size,
31  double outerR)
32  : _w(w),
33  _scale(double(size) / outerR / 2),
34  _axial(true),
35  _stereo(false),
36  _wireName(false),
37  _oldCDC(false)
38  {
39  }
40 
41  TRGCDCDisplayDrawingArea::~TRGCDCDisplayDrawingArea()
42  {
43  }
44 
46 } // namespace Belle2
47 
48 #endif
Abstract base class for different kinds of events.