26#define HEP_SHORT_NAMES
27#include "CLHEP/Alist/ConstAList.h"
28#include "CLHEP/Alist/CList.h"
29#include "CLHEP/Geometry/Vector3D.h"
30#ifndef ENABLE_BACKWARDS_COMPATIBILITY
47 TWindow(
const TWindow &);
50 TWindow(
const std::string & name);
64 leda_color = leda_black,
65 bool toBeSelfObject =
false);
67 leda_color = leda_black,
68 bool toBeSelfObject =
false);
70 leda_color = leda_black,
71 bool toBeSelfObject =
false);
76 void appendSz(
const TTrack &,
78 leda_color=leda_black);
84 void oneShot(
const TTrackBase &, leda_color = leda_black);
94 void draw(
const TPoint2D &, leda_color = leda_black);
97 std::string
text(
void)
const;
101 void target(
unsigned run,
unsigned farm,
unsigned event);
104 unsigned mode(
unsigned);
108 bool skipAllWindow(
bool);
111 void drawHeader(
void);
112 void drawBase(
const TTrackBase &, leda_color = leda_black);
113 void drawSegment(
const TSegment &, leda_color = leda_black);
114 void drawTrack(
const TTrack &, leda_color = leda_black);
115 void drawLine(
const TMLine &, leda_color = leda_black);
118 bool target(
void)
const;
119 std::string wireName(
const TMLink &)
const;
124 double _xmin, _xmax, _ymin;
125 leda_stack<HepVector3D> _zoomHistory[4];
130 int _coordinateButton;
137 int _segmentLinkButton;
138 int _segmentPropertyButton;
148 bool _segmentProperty;
149 static bool _skipAllWindow;
158 double _xPositionText;
159 double _yPositionText;
160 double _yPositionStep;
164 unsigned _targetEvent;
170#ifdef TRKRECO_NO_INLINE
174#define TWINDOW_INLINE_DEFINE_HERE
177#ifdef TWINDOW_INLINE_DEFINE_HERE
181TWindow::append(
const TTrackBase & a, leda_color
b,
bool self) {
183 _colors.append(
new leda_color(
b));
191 for (
unsigned i = 0; i < a.length(); i++) {
200TWindow::append(
const AList<TTrack> & a, leda_color
b,
bool self) {
201 for (
unsigned i = 0; i < a.length(); i++) {
212 while ((i = _objects.fIndex(a)) != -1) {
214 leda_color *
b = _colors[i];
223 for (
unsigned i = 0; i < a.length(); i++) {
231 for (
unsigned i = 0; i < a.length(); i++) {
239 if (! target())
return;
245 _window.init(_xmin, _xmax, _ymin);
254TWindow::mode(
unsigned a) {
264TWindow::skip(
bool a) {
270TWindow::skipAllWindow(
bool a) {
271 return _skipAllWindow = a;
276TWindow::text(
const std::string &
text) {
282TWindow::text(
void)
const {
HepGeom::Vector3D< double > HepVector3D
m_outputFile open("YYYY/m_txt_dir/LumTau_XXXX.txt", ios_base::app)
A class to represent a track in tracking.
A class to relate TMDCWireHit and TTrack objects.
A class to represent a point in 2D.
A class to relate TMDCWireHit and TTrack objects.
A virtual class for a track class in tracking.
A class to represent a track in tracking.
char * append(const char *str, EvtCyclic3::Index i)