Logo ROOT  
Reference Guide
TEveTrackPropagatorEditor.cxx
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
13 #include "TEveTrackPropagator.h"
14 
15 #include "TEveGValuators.h"
16 #include "TEveManager.h"
17 
18 #include "TGLabel.h"
19 #include "TG3DLine.h"
20 #include "TGButton.h"
21 #include "TGComboBox.h"
22 #include "TAttMarkerEditor.h"
23 
24 /** \class TEveTrackPropagatorSubEditor
25 \ingroup TEve
26 Sub-editor for TEveTrackPropagator class.
27 */
28 
30 
31 ////////////////////////////////////////////////////////////////////////////////
32 /// Constructor.
33 
35  TGVerticalFrame(p),
36  fM (0),
37 
38  fMaxR(0), fMaxZ(0), fMaxOrbits(0), fMaxAng(0), fDelta(0),
39 
40  fRefsCont(0), fPMFrame(0),
41  fFitDaughters(0), fFitReferences(0),
42  fFitDecay(0),
43  fFitCluster2Ds(0), fFitLineSegments(0),
44  fRnrDaughters(0), fRnrReferences(0),
45  fRnrDecay(0), fRnrCluster2Ds(0),
46  fRnrFV(0),
47  fPMAtt(0), fFVAtt(0),
48  fProjTrackBreaking(0), fRnrPTBMarkers(0), fPTBAtt(0)
49 {
50  Int_t labelW = 51;
51 
52  // --- Limits
53  fMaxR = new TEveGValuator(this, "Max R:", 90, 0);
54  fMaxR->SetLabelWidth(labelW);
55  fMaxR->SetNELength(6);
56  fMaxR->Build();
58  fMaxR->SetToolTip("Maximum radius to which the tracks will be drawn.");
59  fMaxR->Connect("ValueSet(Double_t)", "TEveTrackPropagatorSubEditor", this, "DoMaxR()");
60  AddFrame(fMaxR, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
61 
62  fMaxZ = new TEveGValuator(this, "Max Z:", 90, 0);
63  fMaxZ->SetLabelWidth(labelW);
64  fMaxZ->SetNELength(6);
65  fMaxZ->Build();
67  fMaxZ->SetToolTip("Maximum z-coordinate to which the tracks will be drawn.");
68  fMaxZ->Connect("ValueSet(Double_t)", "TEveTrackPropagatorSubEditor", this, "DoMaxZ()");
69  AddFrame(fMaxZ, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
70 
71  fMaxOrbits = new TEveGValuator(this, "Orbits:", 90, 0);
72  fMaxOrbits->SetLabelWidth(labelW);
74  fMaxOrbits->Build();
76  fMaxOrbits->SetToolTip("Maximal angular path of tracks' orbits (1 ~ 2Pi).");
77  fMaxOrbits->Connect("ValueSet(Double_t)", "TEveTrackPropagatorSubEditor", this, "DoMaxOrbits()");
78  AddFrame(fMaxOrbits, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
79 
80  fMaxAng = new TEveGValuator(this, "Angle:", 90, 0);
81  fMaxAng->SetLabelWidth(labelW);
82  fMaxAng->SetNELength(6);
83  fMaxAng->Build();
85  fMaxAng->SetToolTip("Maximal angular step between two helix points.");
86  fMaxAng->Connect("ValueSet(Double_t)", "TEveTrackPropagatorSubEditor", this, "DoMaxAng()");
87  AddFrame(fMaxAng, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
88 
89  fDelta = new TEveGValuator(this, "Delta:", 90, 0);
90  fDelta->SetLabelWidth(labelW);
91  fDelta->SetNELength(6);
92  fDelta->Build();
94  fDelta->SetToolTip("Maximal error at the mid-point of the line connecting to helix points.");
95  fDelta->Connect("ValueSet(Double_t)", "TEveTrackPropagatorSubEditor", this, "DoDelta()");
96  AddFrame(fDelta, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
97 }
98 
99 ////////////////////////////////////////////////////////////////////////////////
100 /// Create a frame containing track-reference controls under parent frame p.
101 
103 {
104  fRefsCont = new TGCompositeFrame(p, 80, 20, kVerticalFrame);
106  // Rendering control.
107  {
108  TGGroupFrame* fitPM = new TGGroupFrame(fPMFrame, "PathMarks:", kLHintsTop | kLHintsCenterX);
111 
112  TGMatrixLayout *ml = new TGMatrixLayout(fitPM, 0,1,6);
113  fitPM->SetLayoutManager(ml);
114 
115  fFitDaughters = new TGCheckButton(fitPM, "Fit Daughters", TEvePathMark::kDaughter);
116  fFitReferences = new TGCheckButton(fitPM, "Fit Refs", TEvePathMark::kReference);
117  fFitDecay = new TGCheckButton(fitPM, "Fit Decay", TEvePathMark::kDecay);
118  fFitCluster2Ds = new TGCheckButton(fitPM, "Fit 2D Clusters", TEvePathMark::kCluster2D);
119  fFitLineSegments = new TGCheckButton(fitPM, "Fit Line Segments", TEvePathMark::kLineSegment);
120 
121  fitPM->AddFrame(fFitDaughters);
122  fitPM->AddFrame(fFitReferences);
123  fitPM->AddFrame(fFitDecay);
124  fitPM->AddFrame(fFitCluster2Ds);
125  fitPM->AddFrame(fFitLineSegments);
126 
127  fFitDecay ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoFitPM()");
128  fFitReferences ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoFitPM()");
129  fFitDaughters ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoFitPM()");
130  fFitCluster2Ds ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoFitPM()");
131  fFitLineSegments->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoFitPM()");
132  }
133  // Kinematics fitting.
134  {
135  TGGroupFrame* rnrPM = new TGGroupFrame(fPMFrame, "PathMarks:", kLHintsTop | kLHintsCenterX);
138 
139  TGMatrixLayout *ml = new TGMatrixLayout(rnrPM, 0, 1, 6);
140  rnrPM->SetLayoutManager(ml);
141 
142  fRnrDaughters = new TGCheckButton(rnrPM, "Rnr Daughters", TEvePathMark::kDaughter);
143  fRnrReferences = new TGCheckButton(rnrPM, "Rnr Refs", TEvePathMark::kReference);
144  fRnrDecay = new TGCheckButton(rnrPM, "Rnr Decay", TEvePathMark::kDecay);
145  fRnrCluster2Ds = new TGCheckButton(rnrPM, "Rnr 2D Clusters", TEvePathMark::kCluster2D);
146 
147  rnrPM->AddFrame(fRnrDaughters);
148  rnrPM->AddFrame(fRnrReferences);
149  rnrPM->AddFrame(fRnrDecay);
150  rnrPM->AddFrame(fRnrCluster2Ds);
151 
152  fRnrDecay ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrPM()");
153  fRnrReferences->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrPM()");
154  fRnrDaughters ->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrPM()");
155  fRnrCluster2Ds->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrPM()");
156 
157  fRefsCont->AddFrame(fPMFrame, new TGLayoutHints(kLHintsTop, 1, 1, 1, 1));
158  }
159  // Marker attributes.
160  {
163  TGFrame *f = el->fFrame; fPMAtt->RemoveFrame(f);
164  f->DestroyWindow(); delete f;
165  fRefsCont->AddFrame(fPMAtt, new TGLayoutHints(kLHintsTop, 1, 1, 3, 1));
166  }
167  // First vertex.
168  {
171  vf->AddFrame(new TGLabel(vf, "FirstVertex"),
172  new TGLayoutHints(kLHintsLeft, 1, 1, 0, 0));
173  vf->AddFrame(new TGHorizontal3DLine(vf),
174  new TGLayoutHints(kLHintsExpandX, 5, 5, 7, 5));
175  fRefsCont->AddFrame(vf, new TGLayoutHints(kLHintsTop, 0, 0, 4, 0));
176 
177  fRnrFV = new TGCheckButton(fRefsCont, "Rnr");
178  fRnrFV->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrFV()");
179  fRefsCont->AddFrame(fRnrFV, new TGLayoutHints(kLHintsTop, 5, 1, 2, 0));
180  {
183  TGFrame *f = el->fFrame; fFVAtt->RemoveFrame(f);
184  f->DestroyWindow(); delete f;
185  fRefsCont->AddFrame(fFVAtt, new TGLayoutHints(kLHintsTop, 1, 1, 3, 1));
186  }
187  }
188  // Break-points of projected tracks
189  {
192  vf->AddFrame(new TGLabel(vf, "BreakPoints"),
193  new TGLayoutHints(kLHintsLeft, 1, 1, 0, 0));
194  vf->AddFrame(new TGHorizontal3DLine(vf),
195  new TGLayoutHints(kLHintsExpandX, 5, 5, 7, 5));
196  fRefsCont->AddFrame(vf, new TGLayoutHints(kLHintsTop, 0, 0, 4, 0));
197 
198  {
199  UInt_t labelW = 40;
200  UInt_t labelH = 20;
202  // label
203  TGCompositeFrame *labfr = new TGHorizontalFrame(hf, labelW, labelH, kFixedSize);
204  TGLabel* label = new TGLabel(labfr, "Mode:");
205  labfr->AddFrame(label, new TGLayoutHints(kLHintsLeft | kLHintsBottom));
206  hf->AddFrame(labfr, new TGLayoutHints(kLHintsLeft));
207  // combo
208  fProjTrackBreaking = new TGComboBox(hf);
212  fProjTrackBreaking->Connect("Selected(Int_t)", "TEveTrackPropagatorSubEditor", this, "DoModePTB(UChar_t)");
213  fProjTrackBreaking->Resize(140, labelH);
215  fRefsCont->AddFrame(hf, new TGLayoutHints(kLHintsTop, 4, 1, 1, 1));
216  }
217 
218  fRnrPTBMarkers = new TGCheckButton(fRefsCont, "Rnr");
219  fRnrPTBMarkers->Connect("Clicked()","TEveTrackPropagatorSubEditor", this, "DoRnrPTB()");
221  {
224  TGFrame *f = el->fFrame; fPTBAtt->RemoveFrame(f);
225  f->DestroyWindow(); delete f;
226  fRefsCont->AddFrame(fPTBAtt, new TGLayoutHints(kLHintsTop, 1, 1, 3, 1));
227  }
228  }
229 
231 }
232 
233 ////////////////////////////////////////////////////////////////////////////////
234 /// Set model object.
235 
237 {
238  fM = m;
239 
240  fMaxR->SetValue(fM->fMaxR);
241  fMaxZ->SetValue(fM->fMaxZ);
244  fDelta->SetValue(fM->GetDelta());
245 
246  if(fM->fEditPathMarks)
247  {
253 
259 
260  fPMAtt->SetModel(&fM->fPMAtt);
261  }
262  else
263  {
265  }
266 
268  fFVAtt->SetModel(&fM->fFVAtt);
269 
273 }
274 
275 ////////////////////////////////////////////////////////////////////////////////
276 /// Emit "Changed()" signal.
277 
279 {
280  Emit("Changed()");
281 }
282 
283 ////////////////////////////////////////////////////////////////////////////////
284 /// Slot for MaxR.
285 
287 {
288  fM->SetMaxR(fMaxR->GetValue());
289  Changed();
290 }
291 
292 ////////////////////////////////////////////////////////////////////////////////
293 /// Slot for MaxZ.
294 
296 {
297  fM->SetMaxZ(fMaxZ->GetValue());
298  Changed();
299 }
300 
301 ////////////////////////////////////////////////////////////////////////////////
302 /// Slot for MaxOrbits.
303 
305 {
307  Changed();
308 }
309 
310 ////////////////////////////////////////////////////////////////////////////////
311 /// Slot for MaxAng.
312 
314 {
316  Changed();
317 }
318 
319 ////////////////////////////////////////////////////////////////////////////////
320 /// Slot for Delta.
321 
323 {
324  fM->SetDelta(fDelta->GetValue());
325  Changed();
326 }
327 
328 ////////////////////////////////////////////////////////////////////////////////
329 /// Slot for FitPM.
330 
332 {
333  TGButton* b = (TGButton *) gTQSender;
335  Bool_t on = b->IsOn();
336 
337  switch(type)
338  {
340  fM->SetFitDaughters(on);
341  break;
343  fM->SetFitReferences(on);
344  break;
346  fM->SetFitDecay(on);
347  break;
349  fM->SetFitCluster2Ds(on);
350  break;
352  fM->SetFitLineSegments(on);
353  break;
354 
355  default:
356  break;
357  }
358  Changed();
359 }
360 
361 ////////////////////////////////////////////////////////////////////////////////
362 /// Slot for RnrPM.
363 
365 {
366  TGButton * b = (TGButton *) gTQSender;
368  Bool_t on = b->IsOn();
369  switch(type){
371  fM->SetRnrDaughters(on);
372  break;
374  fM->SetRnrReferences(on);
375  break;
377  fM->SetRnrDecay(on);
378  break;
380  fM->SetRnrCluster2Ds(on);
381  break;
382  default:
383  break;
384  }
385  Changed();
386 }
387 
388 ////////////////////////////////////////////////////////////////////////////////
389 /// Slot for RnrFV.
390 
392 {
393  fM->SetRnrFV(fRnrFV->IsOn());
394  Changed();
395 }
396 
397 ////////////////////////////////////////////////////////////////////////////////
398 /// Slot for PTBMode.
399 
401 {
402  fM->SetProjTrackBreaking(mode);
403  Changed();
404 }
405 
406 ////////////////////////////////////////////////////////////////////////////////
407 /// Slot for RnrPTBMarkers.
408 
410 {
412  Changed();
413 }
414 
415 /** \class TEveTrackPropagatorEditor
416 \ingroup TEve
417 GUI editor for TEveTrackPropagator.
418 It's only a wrapper around a TEveTrackPropagatorSubEditor that holds actual
419 widgets.
420 */
421 
423 
424 ////////////////////////////////////////////////////////////////////////////////
425 /// Constructor.
426 
428  Int_t width, Int_t height,
429  UInt_t options, Pixel_t back) :
430  TGedFrame(p, width, height, options | kVerticalFrame, back),
431  fM(0),
432  fRSSubEditor(0)
433 {
434  MakeTitle("RenderStyle");
435 
437  fRSSubEditor->Connect("Changed()", "TEveTrackPropagatorEditor", this, "Update()");
439 
440  TGVerticalFrame* refsFrame = CreateEditorTabSubFrame("Refs");
441  {
443  (refsFrame, 145, 10, kHorizontalFrame | kLHintsExpandX | kFixedWidth | kOwnBackground);
444  cf->AddFrame(new TGLabel(cf, "PathMarks"),
445  new TGLayoutHints(kLHintsLeft, 1, 1, 0, 0));
446  cf->AddFrame(new TGHorizontal3DLine(cf),
447  new TGLayoutHints(kLHintsExpandX, 5, 5, 7, 7));
448  refsFrame->AddFrame(cf, new TGLayoutHints(kLHintsTop, 0, 0, 2, 0));
449  }
450 
451  // path marks
452  fRSSubEditor->CreateRefsContainer(refsFrame);
455 
456  fRSSubEditor->Connect("Changed()", "TEveTrackPropagatorEditor", this, "Update()");
457 }
458 
459 ////////////////////////////////////////////////////////////////////////////////
460 /// Set model object.
461 
463 {
464  fM = dynamic_cast<TEveTrackPropagator*>(obj);
466 }
TGComboBox.h
TEveTrackPropagatorSubEditor::fRnrCluster2Ds
TGButton * fRnrCluster2Ds
Definition: TEveTrackPropagatorEditor.h:62
TEveTrackPropagator::SetRnrFV
void SetRnrFV(Bool_t x)
Set first-vertex rendering and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1217
TEveTrackPropagatorSubEditor
Sub-editor for TEveTrackPropagator class.
Definition: TEveTrackPropagatorEditor.h:34
m
auto * m
Definition: textangle.C:8
TEveTrackPropagator::SetRnrReferences
void SetRnrReferences(Bool_t x)
Set track-reference rendering and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1208
TEveTrackPropagator::fRnrCluster2Ds
Bool_t fRnrCluster2Ds
Definition: TEveTrackPropagator.h:205
TEveTrackPropagatorSubEditor::fRnrFV
TGButton * fRnrFV
Definition: TEveTrackPropagatorEditor.h:63
TEveTrackPropagatorSubEditor::DoMaxZ
void DoMaxZ()
Slot for MaxZ.
Definition: TEveTrackPropagatorEditor.cxx:295
TGWindow
ROOT GUI Window base class.
Definition: TGWindow.h:23
kLHintsCenterX
@ kLHintsCenterX
Definition: TGLayout.h:25
kFixedWidth
@ kFixedWidth
Definition: GuiTypes.h:387
TGCompositeFrame::GetList
virtual TList * GetList() const
Definition: TGFrame.h:310
TEveTrackPropagatorSubEditor::fRnrReferences
TGButton * fRnrReferences
Definition: TEveTrackPropagatorEditor.h:60
TEveTrackPropagator::SetProjTrackBreaking
void SetProjTrackBreaking(UChar_t x)
Set projection break-point mode and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1226
TEveTrackPropagatorSubEditor::fFVAtt
TAttMarkerEditor * fFVAtt
Definition: TEveTrackPropagatorEditor.h:66
f
#define f(i)
Definition: RSha256.hxx:104
TGedFrame::CreateEditorTabSubFrame
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
Definition: TGedFrame.cxx:122
TEveTrackPropagator::kPTB_UseLastPointPos
@ kPTB_UseLastPointPos
Definition: TEveTrackPropagator.h:129
TEveTrackPropagator::SetRnrDaughters
void SetRnrDaughters(Bool_t x)
Set daughter rendering and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1199
TEveTrackPropagatorSubEditor::SetModel
void SetModel(TEveTrackPropagator *m)
Set model object.
Definition: TEveTrackPropagatorEditor.cxx:236
TGHorizontal3DLine
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
Definition: TG3DLine.h:18
TEveTrackPropagator::SetFitDecay
void SetFitDecay(Bool_t x)
Set decay fitting and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1154
TGGroupFrame::SetTitlePos
virtual void SetTitlePos(ETitlePos pos=kLeft)
Definition: TGFrame.h:564
kButtonDown
@ kButtonDown
Definition: TGButton.h:54
kLHintsTop
@ kLHintsTop
Definition: TGLayout.h:27
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
TEveTrackPropagatorSubEditor::fFitLineSegments
TGButton * fFitLineSegments
Definition: TEveTrackPropagatorEditor.h:58
TEveTrackPropagator::fRnrReferences
Bool_t fRnrReferences
Definition: TEveTrackPropagator.h:203
ClassImp
#define ClassImp(name)
Definition: Rtypes.h:364
TEveTrackPropagatorSubEditor::fFitDaughters
TGButton * fFitDaughters
Definition: TEveTrackPropagatorEditor.h:54
TGComboBox::AddEntry
virtual void AddEntry(TGString *s, Int_t id)
Definition: TGComboBox.h:86
TEveTrackPropagator::fRnrFV
Bool_t fRnrFV
Definition: TEveTrackPropagator.h:206
TEveTrackPropagatorEditor::fRSSubEditor
TEveTrackPropagatorSubEditor * fRSSubEditor
Definition: TEveTrackPropagatorEditor.h:112
kVerticalFrame
@ kVerticalFrame
Definition: GuiTypes.h:381
TEveTrackPropagator::fRnrDecay
Bool_t fRnrDecay
Definition: TEveTrackPropagator.h:204
TEveTrackPropagatorSubEditor::fRefsCont
TGCompositeFrame * fRefsCont
Definition: TEveTrackPropagatorEditor.h:51
TEveGValuator
Composite GUI element for single value selection (supports label, number-entry and slider).
Definition: TEveGValuators.h:58
TEveTrackPropagator::kPTB_UseFirstPointPos
@ kPTB_UseFirstPointPos
Definition: TEveTrackPropagator.h:129
TGNumberFormat::kNESRealThree
@ kNESRealThree
Fixed fraction real, three digit.
Definition: TGNumberEntry.h:28
TEvePathMarkT::kDecay
@ kDecay
Definition: TEvePathMark.h:25
TAttMarkerEditor
Implements GUI for editing marker attributes.
Definition: TAttMarkerEditor.h:24
TEveTrackPropagatorSubEditor::fRnrPTBMarkers
TGButton * fRnrPTBMarkers
Definition: TEveTrackPropagatorEditor.h:69
kLHintsLeft
@ kLHintsLeft
Definition: TGLayout.h:24
TGLabel
This class handles GUI labels.
Definition: TGLabel.h:24
kButtonUp
@ kButtonUp
Definition: TGButton.h:53
TEveTrackPropagatorSubEditor::fRnrDecay
TGButton * fRnrDecay
Definition: TEveTrackPropagatorEditor.h:61
TEveTrackPropagatorSubEditor::fProjTrackBreaking
TGComboBox * fProjTrackBreaking
Definition: TEveTrackPropagatorEditor.h:68
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
gTQSender
R__EXTERN void * gTQSender
Definition: TQObject.h:44
TEveTrackPropagator.h
TEveTrackPropagatorSubEditor::DoFitPM
void DoFitPM()
Slot for FitPM.
Definition: TEveTrackPropagatorEditor.cxx:331
TEveTrackPropagatorSubEditor::fPMFrame
TGCompositeFrame * fPMFrame
Definition: TEveTrackPropagatorEditor.h:52
TEveTrackPropagator::fPTBAtt
TMarker fPTBAtt
Definition: TEveTrackPropagator.h:213
TEveTrackPropagatorSubEditor::fMaxZ
TEveGValuator * fMaxZ
Definition: TEveTrackPropagatorEditor.h:46
TEveManager::GetEditor
TEveGedEditor * GetEditor() const
Returns main object editor.
Definition: TEveManager.cxx:274
TGComboBox::Select
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
Definition: TGComboBox.cxx:456
TEvePathMarkT::kReference
@ kReference
Definition: TEvePathMark.h:25
TEveTrackPropagatorSubEditor::DoRnrPM
void DoRnrPM()
Slot for RnrPM.
Definition: TEveTrackPropagatorEditor.cxx:364
TEveGValuator::GetValue
Float_t GetValue() const
Definition: TEveGValuators.h:80
TEveTrackPropagatorEditor.h
TGVerticalFrame::TGVerticalFrame
TGVerticalFrame(const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Definition: TGFrame.h:377
TEveTrackPropagator::fFitDecay
Bool_t fFitDecay
Definition: TEveTrackPropagator.h:199
TEveTrackPropagator::SetRnrDecay
void SetRnrDecay(Bool_t x)
Set decay rendering and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1181
TGButton::IsOn
virtual Bool_t IsOn() const
Definition: TGButton.h:119
TGHorizontalFrame
A composite frame that layout their children in horizontal way.
Definition: TGFrame.h:386
TGedFrame::SetGedEditor
virtual void SetGedEditor(TGedEditor *ed)
Definition: TGedFrame.h:80
TEveTrackPropagatorSubEditor::fMaxOrbits
TEveGValuator * fMaxOrbits
Definition: TEveTrackPropagatorEditor.h:47
TEveTrackPropagator::fFitDaughters
Bool_t fFitDaughters
Definition: TEveTrackPropagator.h:197
TEveTrackPropagator::fFitReferences
Bool_t fFitReferences
Definition: TEveTrackPropagator.h:198
TGFrame
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition: TGFrame.h:80
TEveTrackPropagatorEditor::SetModel
virtual void SetModel(TObject *obj)
Set model object.
Definition: TEveTrackPropagatorEditor.cxx:462
TEveTrackPropagatorSubEditor::DoRnrFV
void DoRnrFV()
Slot for RnrFV.
Definition: TEveTrackPropagatorEditor.cxx:391
TEveTrackPropagatorSubEditor::DoRnrPTB
void DoRnrPTB()
Slot for RnrPTBMarkers.
Definition: TEveTrackPropagatorEditor.cxx:409
TEvePathMarkT::kLineSegment
@ kLineSegment
Definition: TEvePathMark.h:25
gEve
R__EXTERN TEveManager * gEve
Definition: TEveManager.h:243
TEveGValuators.h
kOwnBackground
@ kOwnBackground
Definition: GuiTypes.h:391
TEveTrackPropagatorSubEditor::fRnrDaughters
TGButton * fRnrDaughters
Definition: TEveTrackPropagatorEditor.h:59
b
#define b(i)
Definition: RSha256.hxx:100
TEveTrackPropagator::SetMaxOrbs
void SetMaxOrbs(Double_t x)
Set maximum number of orbits and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1081
bool
TEveTrackPropagatorSubEditor::fMaxAng
TEveGValuator * fMaxAng
Definition: TEveTrackPropagatorEditor.h:48
TEvePathMarkT::kDaughter
@ kDaughter
Definition: TEvePathMark.h:25
TEveTrackPropagator::SetMaxZ
void SetMaxZ(Double_t x)
Set maximum z and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1072
TEveGValuator::Build
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
Definition: TEveGValuators.cxx:74
TGFrameElement::fFrame
TGFrame * fFrame
Definition: TGLayout.h:112
TEveTrackPropagator::fgEditorMaxR
static Double_t fgEditorMaxR
Definition: TEveTrackPropagator.h:345
TEveTrackPropagatorSubEditor::fFitCluster2Ds
TGButton * fFitCluster2Ds
Definition: TEveTrackPropagatorEditor.h:57
TEveGValuator::SetLimits
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
Definition: TEveGValuators.cxx:151
kLHintsBottom
@ kLHintsBottom
Definition: TGLayout.h:29
TList::First
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
Definition: TList.cxx:659
TEveTrackPropagatorSubEditor::DoDelta
void DoDelta()
Slot for Delta.
Definition: TEveTrackPropagatorEditor.cxx:322
TGCheckButton
Selects different options.
Definition: TGButton.h:264
TGNumberFormat::kNESRealOne
@ kNESRealOne
Fixed fraction real, one digit.
Definition: TGNumberEntry.h:26
TGMatrixLayout
This layout managers does not make use of TGLayoutHints.
Definition: TGLayout.h:269
TEveTrackPropagatorEditor::TEveTrackPropagatorEditor
TEveTrackPropagatorEditor(const TEveTrackPropagatorEditor &)
TEveTrackPropagator::kPTB_Break
@ kPTB_Break
Definition: TEveTrackPropagator.h:129
TG3DLine.h
TEveTrackPropagator::fMaxOrbs
Double_t fMaxOrbs
Definition: TEveTrackPropagator.h:193
TEveTrackPropagatorSubEditor::Changed
void Changed()
Emit "Changed()" signal.
Definition: TEveTrackPropagatorEditor.cxx:278
TEveTrackPropagatorSubEditor::fMaxR
TEveGValuator * fMaxR
Definition: TEveTrackPropagatorEditor.h:45
TGVerticalFrame
A composite frame that layout their children in vertical way.
Definition: TGFrame.h:375
TGFrame::Resize
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
Definition: TGFrame.cxx:605
TEveTrackPropagator::fProjTrackBreaking
UChar_t fProjTrackBreaking
Definition: TEveTrackPropagator.h:211
TEvePathMarkT::kCluster2D
@ kCluster2D
Definition: TEvePathMark.h:25
TEveTrackPropagator::fFitLineSegments
Bool_t fFitLineSegments
Definition: TEveTrackPropagator.h:201
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:101
TGCompositeFrame::HideFrame
virtual void HideFrame(TGFrame *f)
Hide sub frame.
Definition: TGFrame.cxx:1190
TEveTrackPropagator::SetFitReferences
void SetFitReferences(Bool_t x)
Set track-reference fitting and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1145
TEveTrackPropagator::SetRnrPTBMarkers
void SetRnrPTBMarkers(Bool_t x)
Set projection break-point rendering and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1235
TEveTrackPropagator
Holding structure for a number of track rendering parameters.
Definition: TEveTrackPropagator.h:123
TGLayoutHints
This class describes layout hints used by the layout classes.
Definition: TGLayout.h:50
TEveTrackPropagator::fEditPathMarks
Bool_t fEditPathMarks
Definition: TEveTrackPropagator.h:196
TGGroupFrame
A composite frame with a border and a title.
Definition: TGFrame.h:522
TEveTrackPropagator::SetMaxR
void SetMaxR(Double_t x)
Set maximum radius and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1063
TEveTrackPropagatorEditor::fM
TEveTrackPropagator * fM
Definition: TEveTrackPropagatorEditor.h:111
TEveTrackPropagatorSubEditor::DoMaxAng
void DoMaxAng()
Slot for MaxAng.
Definition: TEveTrackPropagatorEditor.cxx:313
TEveGValuatorBase::SetNELength
void SetNELength(Int_t l)
Definition: TEveGValuators.h:46
TEveGValuator::SetValue
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Definition: TEveGValuators.cxx:206
TEveTrackPropagator::fPMAtt
TMarker fPMAtt
Definition: TEveTrackPropagator.h:207
TEveTrackPropagator::SetRnrCluster2Ds
void SetRnrCluster2Ds(Bool_t x)
Set rendering of 2D-clusters and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1190
kFixedSize
@ kFixedSize
Definition: GuiTypes.h:390
TEveTrackPropagatorSubEditor::fM
TEveTrackPropagator * fM
Definition: TEveTrackPropagatorEditor.h:43
TEveTrackPropagatorSubEditor::fFitDecay
TGButton * fFitDecay
Definition: TEveTrackPropagatorEditor.h:56
TGedFrame::MakeTitle
virtual void MakeTitle(const char *title)
Create attribute frame title.
Definition: TGedFrame.cxx:95
TAttMarkerEditor.h
TEveTrackPropagator::SetFitCluster2Ds
void SetFitCluster2Ds(Bool_t x)
Set 2D-cluster fitting and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1172
TEveTrackPropagatorSubEditor::CreateRefsContainer
void CreateRefsContainer(TGVerticalFrame *p)
Create a frame containing track-reference controls under parent frame p.
Definition: TEveTrackPropagatorEditor.cxx:102
TEveTrackPropagator::GetDelta
Double_t GetDelta() const
Definition: TEveTrackPropagator.h:317
TGCompositeFrame::RemoveFrame
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
Definition: TGFrame.cxx:1149
TGCompositeFrame::SetLayoutManager
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
Definition: TGFrame.cxx:1000
TEveTrackPropagatorSubEditor::DoMaxR
void DoMaxR()
Slot for MaxR.
Definition: TEveTrackPropagatorEditor.cxx:286
unsigned int
TGComboBox
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition: TGComboBox.h:47
TGButton::SetState
virtual void SetState(EButtonState state, Bool_t emit=kFALSE)
Set button state.
Definition: TGButton.cxx:235
kHorizontalFrame
@ kHorizontalFrame
Definition: GuiTypes.h:382
TEveTrackPropagator::SetFitDaughters
void SetFitDaughters(Bool_t x)
Set daughter creation point fitting and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1136
TGedFrame
Base frame for implementing GUI - a service class.
Definition: TGedFrame.h:27
TGLabel.h
TEveTrackPropagator::SetFitLineSegments
void SetFitLineSegments(Bool_t x)
Set line segment fitting and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1163
TEveManager.h
TEveGValuator::SetToolTip
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
Definition: TEveGValuators.cxx:221
TQObject::Connect
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Definition: TQObject.cxx:869
TEveTrackPropagatorSubEditor::fDelta
TEveGValuator * fDelta
Definition: TEveTrackPropagatorEditor.h:49
TEveTrackPropagatorSubEditor::DoMaxOrbits
void DoMaxOrbits()
Slot for MaxOrbits.
Definition: TEveTrackPropagatorEditor.cxx:304
UChar_t
unsigned char UChar_t
Definition: RtypesCore.h:38
TEveTrackPropagatorSubEditor::fPMAtt
TAttMarkerEditor * fPMAtt
Definition: TEveTrackPropagatorEditor.h:65
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
TGButton.h
TEveTrackPropagator::fFVAtt
TMarker fFVAtt
Definition: TEveTrackPropagator.h:208
TEveGValuatorBase::SetLabelWidth
void SetLabelWidth(Int_t w)
Definition: TEveGValuators.h:42
TEveTrackPropagatorSubEditor::fPTBAtt
TAttMarkerEditor * fPTBAtt
Definition: TEveTrackPropagatorEditor.h:70
TEveTrackPropagator::fMaxR
Double_t fMaxR
Definition: TEveTrackPropagator.h:189
TEveTrackPropagator::fRnrPTBMarkers
Bool_t fRnrPTBMarkers
Definition: TEveTrackPropagator.h:212
TGFrameElement
Definition: TGLayout.h:105
TEvePathMarkT::EType_e
EType_e
Definition: TEvePathMark.h:25
TAttMarkerEditor::SetModel
virtual void SetModel(TObject *obj)
Pick up the values of used marker attributes.
Definition: TAttMarkerEditor.cxx:119
kLHintsExpandX
@ kLHintsExpandX
Definition: TGLayout.h:30
TEveTrackPropagatorSubEditor::TEveTrackPropagatorSubEditor
TEveTrackPropagatorSubEditor(const TEveTrackPropagatorSubEditor &)
TGCompositeFrame::TGCompositeFrame
TGCompositeFrame(const TGCompositeFrame &)=delete
TEveTrackPropagatorSubEditor::DoModePTB
void DoModePTB(UChar_t mode)
Slot for PTBMode.
Definition: TEveTrackPropagatorEditor.cxx:400
TEveTrackPropagatorSubEditor::fFitReferences
TGButton * fFitReferences
Definition: TEveTrackPropagatorEditor.h:55
type
int type
Definition: TGX11.cxx:121
TGButton
A button abstract base class.
Definition: TGButton.h:68
TEveTrackPropagator::SetDelta
void SetDelta(Double_t x)
Set maximum error and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1127
TGCompositeFrame
The base class for composite widgets (menu bars, list boxes, etc.).
Definition: TGFrame.h:287
TGGroupFrame::kLeft
@ kLeft
Definition: TGFrame.h:541
TGCompositeFrame::AddFrame
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Definition: TGFrame.cxx:1117
TEveTrackPropagator::GetMaxAng
Double_t GetMaxAng() const
Definition: TEveTrackPropagator.h:315
TEveTrackPropagator::fMaxZ
Double_t fMaxZ
Definition: TEveTrackPropagator.h:190
TEveTrackPropagator::fFitCluster2Ds
Bool_t fFitCluster2Ds
Definition: TEveTrackPropagator.h:200
TEveTrackPropagator::fRnrDaughters
Bool_t fRnrDaughters
Definition: TEveTrackPropagator.h:202
TGCompositeFrame::ShowFrame
virtual void ShowFrame(TGFrame *f)
Show sub frame.
Definition: TGFrame.cxx:1204
TGedEditor
Definition: TGedEditor.h:31
TQObject::Emit
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Definition: TQObject.h:164
TEveTrackPropagator::SetMaxAng
void SetMaxAng(Double_t x)
Set maximum step angle and rebuild tracks.
Definition: TEveTrackPropagator.cxx:1109
TEveTrackPropagatorEditor
GUI editor for TEveTrackPropagator.
Definition: TEveTrackPropagatorEditor.h:104
int
TEveTrackPropagator::fgEditorMaxZ
static Double_t fgEditorMaxZ
Definition: TEveTrackPropagator.h:346