ATLAS Offline Software
PRDSystemController.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Implementation of class PRDSystemController //
8 // //
9 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
10 // Initial version: November 2007 //
11 // //
13 
14 #define VP1IMPVARNAME m_d
15 
17 #include "ui_vp1prdcontrollerform.h"
18 #include "ui_prd_settings_cuts_form.h"
19 #include "ui_prd_settings_display_form.h"
20 #include "ui_prd_settings_interactions_form.h"
22 #include "VP1Base/VP1Serialise.h"
23 #include "VP1Base/VP1Deserialise.h"
24 #include "VP1Base/VP1QtUtils.h"
26 #include <Inventor/nodes/SoMaterial.h>
27 #include <QBuffer>
28 #include <QTimer>
29 #include <QSet>
30 
31 //____________________________________________________________________
33 public:
35  Ui::VP1PrdControllerForm ui{};
36  Ui::PRDSysSettingsInteractionsForm ui_int{};
37  Ui::PRDSysSettingsDisplayForm ui_disp{};
38  Ui::PRDSysSettingsCutsForm ui_cuts{};
40 
41  SoMaterial * highlightmaterial = nullptr;
42 
44  bool last_drawErrors = false;
45  bool last_drawRDOs = false;
46  bool last_highLightOutliers = false;
51  bool last_projectPixelHits = false;
52  bool last_projectSCTHits = false;
53  bool last_projectTRTHits = false;
54  bool last_projectMDTHits = false;
55  bool last_projectRPCHits = false;
56  bool last_projectCSCHits = false;
57  bool last_projectTGCHits = false;
58  // bool last_projectSTGCHits;
59  //Cuts:
61  QList<VP1Interval> last_cutAllowedPhi;//All off: empty list. All on: list with one entry: ]-inf,inf[
62  PRDCommonFlags::InDetPartsFlags last_inDetPartsFlags;
65  unsigned last_trtMinToT = 0U;
66  unsigned last_trtMaxToT = 0U;
67  unsigned last_trtMinLE = 0U;
68  unsigned last_trtMaxLE = 0U;
69  bool last_trtRequireHT = false;
74  std::set<PRDDetType::Type> last_shownCollectionTypes;
77  bool last_showSelectionLine = false;
78  //Used ID parts:
79  InDetProjFlags::DetTypeFlags last_inDetPartsUsingProjections;
80 
81  QSet<PRDDetType::Type> shownCollectionTypes() const;
82 };
83 
84 //____________________________________________________________________
86  : VP1Controller(sys,"PRDSystemController"),m_d(new Imp)
87 {
88  m_d->theclass = this;
89  m_d->ui.setupUi(this);
90 
91  //FIXME: Dialogs and collwidget!
93  // m_d->trackcollwidget = new TrackCollWidget;
94  setupCollWidgetInScrollArea(m_d->ui.collWidgetScrollArea,m_d->collWidget);
95  initDialog(m_d->ui_cuts, m_d->ui.pushButton_settings_cuts);
96  initDialog(m_d->ui_disp, m_d->ui.pushButton_settings_display);
97  initDialog(m_d->ui_int, m_d->ui.pushButton_settings_interactions);
98 
100 
101  m_d->ui_int.matButton_multiselline->setMaterial(VP1MaterialButton::createMaterial(1,1,0));
102 
103  m_d->ui_cuts.groupBox_cuts_tracksegmentassociation->setVisible(false);//Since it is not used at the moment!
104  if (!VP1QtUtils::environmentVariableIsOn("VP1_DEVEL_ENABLEREFIT"))
105  m_d->ui_int.groupBox_selectionMode->setVisible(false);
106 
107  m_d->ui_disp.widget_drawOptions_PixelSCT->setComplexityDisabled();
108  m_d->ui_disp.widget_drawOptions_Muons->setPointSizesDisabled();
109  m_d->ui_disp.widget_drawOptions_PixelSCT->setPointSizes(3.0);
110  m_d->ui_disp.widget_drawOptions_TRT->setPointSizes(2.0);
111 
112  m_d->ui_cuts.etaPhiCutWidget->setEtaCutEnabled(false);
113 
115  // Setup connections which monitor changes in the controller so that we may emit signals as appropriate: //
117 
119  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourByTrack);
120  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourBySegment);
121 
123  connectToLastUpdateSlot(m_d->ui_disp.checkBox_drawErrors);
124 
126  connectToLastUpdateSlot(m_d->ui_disp.checkBox_drawRDOs);
127 
129  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
130 
132  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
133 
135  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
136 
138  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
139 
141  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
142 
144  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_trackoutliers);
145  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourByTrack);
146  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
147 
149  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_trackoutliers);
150  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_trtht);
151  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourByTrack);
152  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
153 
155  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_trackoutliers);
156  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_maskedmdts);
157  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourByTrack);
158  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
159 
161  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_trackoutliers);
162  connectToLastUpdateSlot(m_d->ui_disp.checkBox_colourByTrack);
163  connectToLastUpdateSlot(m_d->ui_disp.horizontalSlider_highlights_intensity);
164  connectToLastUpdateSlot(m_d->ui_disp.checkBox_highlight_mdt_ADC_below);
165  connectToLastUpdateSlot(m_d->ui_disp.spinBox_highlight_mdt_ADC_below);
166 
168  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showpixel_projected);
169 
171  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showsct_projected);
172 
174  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showtrt_projected);
175 
177  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showmdt_projected);
178 
180  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showrpc_projected);
181 
183  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showcsc_projected);
184 
186  connectToLastUpdateSlot(m_d->ui_disp.checkBox_showtgc_projected);
187 
188  // addUpdateSlot(SLOT(possibleChange_projectSTGCHits()));
189  // connectToLastUpdateSlot(m_d->ui_disp.checkBox_showstgc_projected);
190 
192  connectToLastUpdateSlot(m_d->ui_cuts.etaPhiCutWidget,SIGNAL(allowedEtaChanged(const VP1Interval&)));
193 
195  connectToLastUpdateSlot(m_d->ui_cuts.etaPhiCutWidget,SIGNAL(allowedPhiChanged(const QList<VP1Interval>&)));
196 
198  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_barrelA);
199  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_barrelC);
200  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_endcapA);
201  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_endcapC);
202 
204  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_pixel_minnrdo);
205  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_pixel_minnrdo);
206 
208  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_sct_excludeisolatedclusters);
209 
211  connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_needHT);
212 
214  connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_TotMin);
215  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
216 
218  connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_TotMax);
219  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
220 
222  connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_LeMin);
223  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_LEMin);
224 
226  connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_LeMax);
227  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_LEMax);
228 
230  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_mdt_excludeisolateddrifttubes);
231 
233  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_mdt_ADClowerbound);
234  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_mdt_ADClowerbound);
235  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_mdt_ADCupperbound);
236  connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_mdt_ADCupperbound);
237 
239  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_mdt_excludemaskedhits);
240 
242  connectToLastUpdateSlot(m_d->ui_cuts.comboBox_mdt_cutMdtDriftCircleStatus);
243 
245  connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_mdt_limitToActiveChambers);
246 
251  connectToLastUpdateSlot(this,SIGNAL(inDetPartsFlagsChanged(PRDCommonFlags::InDetPartsFlags)));
252  connectToLastUpdateSlot(collWidget(),SIGNAL(visibleStdCollectionTypesChanged(const QList<qint32>&)));
253 
255  connectToLastUpdateSlot(m_d->ui_int.checkBox_selModeMultiple);
256 
258  connectToLastUpdateSlot(m_d->ui_int.checkBox_showSelectionLine);
259 
261  connectToLastUpdateSlot(collWidget(),SIGNAL(visibleStdCollectionTypesChanged(const QList<qint32>&)));
262 
265 
266  //Stateless:
267  connect(m_d->ui_int.pushButton_clearSelection,SIGNAL(clicked()),this,SLOT(emitClearSelection()));
268 
269  initLastVars();
270 
271 }
272 
273 //____________________________________________________________________
275 {
276  if (m_d->highlightmaterial)
277  m_d->highlightmaterial->unref();
278  delete m_d;
279 }
280 
281 //____________________________________________________________________
283 {
284  return m_d->collWidget;
285 }
286 
287 //____________________________________________________________________
289 {
290  //FIXME: SET APPROPRIATE DEFAULTS!!!!
291  switch (t) {
292  case PRDDetType::TRT:
293  return m_d->ui_disp.widget_drawOptions_TRT->drawOptionsGroup();
294  case PRDDetType::Pixel:
295  case PRDDetType::SCT:
297  return m_d->ui_disp.widget_drawOptions_PixelSCT->drawOptionsGroup();
298  default:
299  return m_d->ui_disp.widget_drawOptions_Muons->drawOptionsGroup();
300  }
301 }
302 
303 //____________________________________________________________________
305 {
306  QSet<PRDDetType::Type> s;
307  for (qint32 i : collWidget->visibleStdCollectionTypes()) {
308  bool ok;
310  if (ok)
311  s.insert(t);
312  }
313  return s;
314 }
315 
316 //____________________________________________________________________
318 {
319  QList<SoMaterial*> mats = m_d->ui_int.matButton_multiselline->handledMaterials();
320  if (mats.count()!=1) {
321  message("ERROR: No material in button!");
322  return 0;//probably giving a crash...
323  }
324  return mats.at(0);
325 }
326 
327 //____________________________________________________________________
329 {
330  messageVerbose("Emitting clearSelection()");
331  emit clearSelection();
332 }
333 
334 //____________________________________________________________________
336 {
337  if (!m_d->highlightmaterial) {
338  m_d->highlightmaterial = new SoMaterial;
339  m_d->highlightmaterial->ref();
340  m_d->highlightmaterial->diffuseColor.setValue( 1.0f, 0.0f, 0.0f );
341  m_d->ui_disp.materialbutton_highlights_material->copyValuesFromMaterial(m_d->highlightmaterial);
342  m_d->ui_disp.materialbutton_highlights_material->handleMaterial(m_d->highlightmaterial);
343  }
344  return m_d->highlightmaterial;
345 }
346 
347 //____________________________________________________________________
349 {
350  return m_d->ui_int.checkBox_printinfo->isChecked();
351 }
352 
353 //____________________________________________________________________
355 {
356  return m_d->ui_int.checkBox_zoom->isChecked();
357 }
358 
359 //____________________________________________________________________
361 {
362  return zoomOnClick() && m_d->ui_int.checkBox_zoom_orientToMuonChamber->isChecked();
363 }
364 
365 //____________________________________________________________________
367 {
368  return m_d->ui_cuts.etaPhiCutWidget->allowedEta();
369 }
370 
371 //____________________________________________________________________
372 QList<VP1Interval> PRDSystemController::cutAllowedPhi() const
373 {
374  return m_d->ui_cuts.etaPhiCutWidget->allowedPhi();
375 }
376 
377 //____________________________________________________________________
378 PRDCommonFlags::InDetPartsFlags PRDSystemController::inDetPartsFlags() const
379 {
380  PRDCommonFlags::InDetPartsFlags flag = PRDCommonFlags::None;
381  if (m_d->ui_cuts.checkBox_cut_indet_barrelA->isChecked()) flag |= PRDCommonFlags::BarrelPositive;
382  if (m_d->ui_cuts.checkBox_cut_indet_barrelC->isChecked()) flag |= PRDCommonFlags::BarrelNegative;
383  if (m_d->ui_cuts.checkBox_cut_indet_endcapA->isChecked()) flag |= PRDCommonFlags::EndCapPositive;
384  if (m_d->ui_cuts.checkBox_cut_indet_endcapC->isChecked()) flag |= PRDCommonFlags::EndCapNegative;
385  return flag;
386 }
387 
388 //____________________________________________________________________
390 {
391  return m_d->ui_cuts.checkbox_cut_trt_TotMin->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_ToTMin->value() : 0;
392 }
393 
394 //____________________________________________________________________
396 {
397  return m_d->ui_cuts.checkbox_cut_trt_TotMax->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_ToTMax->value() : 24;
398 }
399 
400 //____________________________________________________________________
402 {
403  return m_d->ui_cuts.checkbox_cut_trt_LeMin->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_LEMin->value() : 0;
404 }
405 
406 //____________________________________________________________________
408 {
409  return m_d->ui_cuts.checkbox_cut_trt_LeMax->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_LEMax->value() : 24;
410 }
411 
412 //____________________________________________________________________
414 {
415  return m_d->ui_cuts.checkbox_cut_trt_needHT->isChecked();
416 }
417 
418 
419 //____________________________________________________________________
421 {
422  return m_d->ui_cuts.checkBox_cut_pixel_minnrdo->isChecked() ? m_d->ui_cuts.spinBox_cut_pixel_minnrdo->value() : 0;
423 }
424 
425 
426 
427 //____________________________________________________________________
429 {
430  return m_d->ui_cuts.checkBox_cut_sct_excludeisolatedclusters->isChecked();
431 }
432 
433 //____________________________________________________________________
435 {
436  return m_d->ui_cuts.checkBox_cut_mdt_excludeisolateddrifttubes->isChecked() ? 2 : 0;
437 }
438 
439 //____________________________________________________________________
441 {
442  double lower = m_d->ui_cuts.checkBox_cut_mdt_ADClowerbound->isChecked() ?
443  m_d->ui_cuts.spinBox_cut_mdt_ADClowerbound->value()+0.5 : - VP1Interval::inf();
444  double upper = m_d->ui_cuts.checkBox_cut_mdt_ADCupperbound->isChecked() ?
445  m_d->ui_cuts.spinBox_cut_mdt_ADCupperbound->value()-0.5 : VP1Interval::inf();
446  return upper>lower? VP1Interval(lower,upper) : VP1Interval();
447 }
448 
449 
450 //____________________________________________________________________
452 {
453  return m_d->ui_cuts.checkBox_cut_mdt_excludemaskedhits->isChecked();
454 }
455 
456 //____________________________________________________________________
458 {
459  return m_d->ui_cuts.comboBox_mdt_cutMdtDriftCircleStatus->currentText();
460 }
461 
462 //____________________________________________________________________
464 {
465  return m_d->ui_cuts.checkBox_cut_mdt_limitToActiveChambers->isChecked();
466 }
467 
468 //____________________________________________________________________
470 {
471  if (m_d->ui_disp.checkBox_colourByTrack->isChecked()) {
472  if (m_d->ui_disp.checkBox_colourBySegment->isChecked())
474  else
476  } else {
477  if (m_d->ui_disp.checkBox_colourBySegment->isChecked())
479  else
481  }
482 }
483 
484 //____________________________________________________________________
486 {
487  if (m_d->ui_disp.checkBox_drawErrors->isChecked()) return true;
488  return false;
489 }
490 
491 //____________________________________________________________________
493 {
494  if (m_d->ui_disp.checkBox_drawRDOs->isChecked()) return true;
495  return false;
496 }
497 
498 
499 //____________________________________________________________________
501 {
502  return highLightMaterialWeight() != 0.0
503  && m_d->ui_disp.checkBox_highlight_trackoutliers->isChecked() && m_d->ui_disp.checkBox_colourByTrack->isChecked();
504 }
505 
506 //____________________________________________________________________
508 {
509  const bool outlierHLEnabledInGui(m_d->ui_disp.checkBox_highlight_trackoutliers->isChecked() && m_d->ui_disp.checkBox_colourByTrack->isChecked());
510  m_d->ui_disp.checkBox_highlight_trtht->setEnabled(!outlierHLEnabledInGui);
511  m_d->ui_disp.checkBox_highlight_maskedmdts->setEnabled(!outlierHLEnabledInGui);
512  m_d->ui_disp.checkBox_highlight_mdt_ADC_below->setEnabled(!outlierHLEnabledInGui);
513  m_d->ui_disp.spinBox_highlight_mdt_ADC_below->setEnabled(!outlierHLEnabledInGui);
514 }
515 
516 //____________________________________________________________________
518 {
519  return highLightMaterialWeight() != 0.0
520  && !highLightOutliers() && m_d->ui_disp.checkBox_highlight_trtht->isChecked();
521 }
522 
523 
524 //____________________________________________________________________
526 {
527  return highLightMaterialWeight() != 0.0
528  && !highLightOutliers() && m_d->ui_disp.checkBox_highlight_maskedmdts->isChecked();
529 }
530 
531 
532 //____________________________________________________________________
534 {
535  return (highLightMaterialWeight() > 0.0
536  && !highLightOutliers() && m_d->ui_disp.checkBox_highlight_mdt_ADC_below->isChecked() )
537  ? m_d->ui_disp.spinBox_highlight_mdt_ADC_below->value() : -1;
538 }
539 
540 
541 //____________________________________________________________________
543 {
544  int val = m_d->ui_disp.horizontalSlider_highlights_intensity->value();
545  if (val<=1) return 0.0;
546  if (val==2) return 1.0;
547  if (val==3) return 1.9;
548  if (val==4) return 2.8;
549  if (val==5) return 5.0;
550  return 99999.0;
551 }
552 
553 //____________________________________________________________________
554 bool PRDSystemController::projectPixelHits() const { return m_d->ui_disp.checkBox_showpixel_projected->isChecked(); }
555 bool PRDSystemController::projectSCTHits() const { return m_d->ui_disp.checkBox_showsct_projected->isChecked(); }
556 bool PRDSystemController::projectTRTHits() const { return m_d->ui_disp.checkBox_showtrt_projected->isChecked(); }
557 bool PRDSystemController::projectMDTHits() const { return m_d->ui_disp.checkBox_showmdt_projected->isChecked(); }
558 bool PRDSystemController::projectRPCHits() const { return m_d->ui_disp.checkBox_showrpc_projected->isChecked(); }
559 bool PRDSystemController::projectCSCHits() const { return m_d->ui_disp.checkBox_showcsc_projected->isChecked(); }
560 bool PRDSystemController::projectTGCHits() const { return m_d->ui_disp.checkBox_showtgc_projected->isChecked(); }
561 // bool PRDSystemController::projectSTGCHits() const { return m_d->ui_disp.checkBox_showstgc_projected->isChecked(); }
562 
563 //____________________________________________________________________
564 InDetProjFlags::DetTypeFlags PRDSystemController::inDetPartsUsingProjections() const
565 {
566  std::set<PRDDetType::Type> showncolltypes = shownCollectionTypes();
567  PRDCommonFlags::InDetPartsFlags indetparts = inDetPartsFlags();
568 
569  InDetProjFlags::DetTypeFlags flag = InDetProjFlags::NoDet;
570 
571  if ( projectPixelHits() && showncolltypes.find(PRDDetType::Pixel)!=showncolltypes.end() ) {
572  if (indetparts & PRDCommonFlags::BarrelPositive)
574  if (indetparts & PRDCommonFlags::BarrelNegative)
576  if (indetparts & PRDCommonFlags::EndCapPositive)
578  if (indetparts & PRDCommonFlags::EndCapNegative)
580  }
581 
582  if ( projectSCTHits() && showncolltypes.find(PRDDetType::SCT)!=showncolltypes.end() ) {
583  if (indetparts & PRDCommonFlags::BarrelPositive)
585  if (indetparts & PRDCommonFlags::BarrelNegative)
587  if (indetparts & PRDCommonFlags::EndCapPositive)
589  if (indetparts & PRDCommonFlags::EndCapNegative)
591  }
592 
593  if ( projectTRTHits() && showncolltypes.find(PRDDetType::TRT)!=showncolltypes.end() ) {
594  if (indetparts & PRDCommonFlags::BarrelPositive)
596  if (indetparts & PRDCommonFlags::BarrelNegative)
598  if (indetparts & PRDCommonFlags::EndCapPositive)
600  if (indetparts & PRDCommonFlags::EndCapNegative)
602  }
603 
604  return flag;
605 }
606 
607 //____________________________________________________________________
609 {
610  return m_d->ui_int.checkBox_selModeMultiple->isChecked();
611 }
612 
613 //____________________________________________________________________
615 {
616  return m_d->ui_int.checkBox_showSelectionLine->isChecked();
617 }
618 
619 //____________________________________________________________________
620 std::set<PRDDetType::Type> PRDSystemController::shownCollectionTypes() const
621 {
622  std::set<PRDDetType::Type> s;
623 
624  for(qint32 i : collWidget()->visibleStdCollectionTypes()) {
625  bool ok;
627  if (ok)
628  s.insert(t);
629  else
630  message("shownCollectionTypes ERROR: Could not decode collection type");
631  }
632  return s;
633 }
634 
635 
636 //____________________________________________________________________
638 {
639  return 3;
640 }
641 
642 //____________________________________________________________________
644 {
645  s.save(m_d->ui_disp.checkBox_colourByTrack);
646  s.save(m_d->ui_disp.checkBox_colourBySegment);
647  s.save(m_d->ui_disp.checkBox_highlight_trackoutliers);
648  s.save(m_d->ui_disp.checkBox_highlight_trtht);
649  s.save(m_d->ui_disp.checkBox_highlight_maskedmdts);
650  s.save(m_d->ui_cuts.checkBox_cut_indet_barrelA);
651  s.save(m_d->ui_cuts.checkBox_cut_indet_barrelC);
652  s.save(m_d->ui_cuts.checkBox_cut_indet_endcapA);
653  s.save(m_d->ui_cuts.checkBox_cut_indet_endcapC);
654  s.save(m_d->ui_cuts.checkBox_cut_pixel_minnrdo);
655  s.save(m_d->ui_cuts.checkBox_cut_sct_excludeisolatedclusters);
656  s.save(m_d->ui_cuts.checkbox_cut_trt_needHT);
657  s.save(m_d->ui_cuts.checkbox_cut_trt_TotMin);
658  s.save(m_d->ui_cuts.checkbox_cut_trt_TotMax);
659  s.save(m_d->ui_cuts.checkBox_cut_mdt_excludeisolateddrifttubes);
660  s.save(m_d->ui_disp.checkBox_highlight_mdt_ADC_below);
661  s.save(m_d->ui_cuts.checkBox_cut_mdt_excludemaskedhits);
662  s.save(m_d->ui_cuts.checkBox_cut_mdt_ADClowerbound);
663  s.save(m_d->ui_cuts.checkBox_cut_mdt_ADCupperbound);
664  s.save(m_d->ui_disp.checkBox_showpixel_projected);
665  s.save(m_d->ui_disp.checkBox_showsct_projected);
666  s.save(m_d->ui_disp.checkBox_showtrt_projected);
667  s.save(m_d->ui_disp.checkBox_showmdt_projected);
668  s.save(m_d->ui_disp.checkBox_showrpc_projected);
669  s.save(m_d->ui_disp.checkBox_showcsc_projected);
670  s.save(m_d->ui_disp.checkBox_showtgc_projected);
671  // s.save(m_d->ui_disp.checkBox_showstgc_projected);
672  s.save(m_d->ui_disp.horizontalSlider_highlights_intensity);
673  s.save(m_d->ui_cuts.spinBox_cut_pixel_minnrdo);
674  s.save(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
675  s.save(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
676  s.save(m_d->ui_disp.spinBox_highlight_mdt_ADC_below);
677  s.save(m_d->ui_cuts.spinBox_cut_mdt_ADClowerbound);
678  s.save(m_d->ui_cuts.spinBox_cut_mdt_ADCupperbound);
679  s.save(m_d->ui_disp.materialbutton_highlights_material);
680  s.save(m_d->ui_int.checkBox_selModeMultiple);
681  s.save(m_d->ui_int.checkBox_showSelectionLine);
682  s.save(m_d->ui_int.matButton_multiselline);
683  s.save(m_d->ui_cuts.etaPhiCutWidget);
684  s.save(m_d->ui_disp.widget_drawOptions_PixelSCT);
685  s.save(m_d->ui_disp.widget_drawOptions_TRT);
686  s.save(m_d->ui_disp.widget_drawOptions_Muons);
687  s.save(m_d->ui_int.checkBox_printinfo);
688  s.save(m_d->ui_int.checkBox_zoom);
689  s.save(m_d->ui_int.checkBox_zoom_orientToMuonChamber);
690 
691  s.save(m_d->ui_cuts.spinBox_cut_trt_LEMin);//Version 1+
692  s.save(m_d->ui_cuts.spinBox_cut_trt_LEMax);//Version 1+
693  s.save(m_d->ui_cuts.checkbox_cut_trt_LeMin);//Version 1+
694  s.save(m_d->ui_cuts.checkbox_cut_trt_LeMax);//Version 1+
695 
696  s.save(m_d->ui_disp.checkBox_drawErrors);//Version 2+
697  s.save(m_d->ui_disp.checkBox_drawRDOs);//Version 2+
698 
699  s.save(m_d->ui_cuts.comboBox_mdt_cutMdtDriftCircleStatus);//Version 3+
700  s.save(m_d->ui_cuts.checkBox_cut_mdt_limitToActiveChambers);//Version 3+
701 
702  //Not used yet:
703  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_on_track);
704  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_not_on_track);
705  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_on_segments);
706  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_not_on_segments);
707 
708 }
709 
710 
711 //____________________________________________________________________
713 {
714  if (s.version()<0||s.version()>3) {
715  message("Warning: State data in .vp1 file has unsupported version ("+str(s.version())+")");
716  return;
717  }
718  s.restore(m_d->ui_disp.checkBox_colourByTrack);
719  s.restore(m_d->ui_disp.checkBox_colourBySegment);
720  s.restore(m_d->ui_disp.checkBox_highlight_trackoutliers);
721  s.restore(m_d->ui_disp.checkBox_highlight_trtht);
722  s.restore(m_d->ui_disp.checkBox_highlight_maskedmdts);
723  s.restore(m_d->ui_cuts.checkBox_cut_indet_barrelA);
724  s.restore(m_d->ui_cuts.checkBox_cut_indet_barrelC);
725  s.restore(m_d->ui_cuts.checkBox_cut_indet_endcapA);
726  s.restore(m_d->ui_cuts.checkBox_cut_indet_endcapC);
727  s.restore(m_d->ui_cuts.checkBox_cut_pixel_minnrdo);
728  s.restore(m_d->ui_cuts.checkBox_cut_sct_excludeisolatedclusters);
729  s.restore(m_d->ui_cuts.checkbox_cut_trt_needHT);
730  s.restore(m_d->ui_cuts.checkbox_cut_trt_TotMin);
731  s.restore(m_d->ui_cuts.checkbox_cut_trt_TotMax);
732  s.restore(m_d->ui_cuts.checkBox_cut_mdt_excludeisolateddrifttubes);
733  s.restore(m_d->ui_disp.checkBox_highlight_mdt_ADC_below);
734  s.restore(m_d->ui_cuts.checkBox_cut_mdt_excludemaskedhits);
735  s.restore(m_d->ui_cuts.checkBox_cut_mdt_ADClowerbound);
736  s.restore(m_d->ui_cuts.checkBox_cut_mdt_ADCupperbound);
737  s.restore(m_d->ui_disp.checkBox_showpixel_projected);
738  s.restore(m_d->ui_disp.checkBox_showsct_projected);
739  s.restore(m_d->ui_disp.checkBox_showtrt_projected);
740  s.restore(m_d->ui_disp.checkBox_showmdt_projected);
741  s.restore(m_d->ui_disp.checkBox_showrpc_projected);
742  s.restore(m_d->ui_disp.checkBox_showcsc_projected);
743  s.restore(m_d->ui_disp.checkBox_showtgc_projected);
744  // s.restore(m_d->ui_disp.checkBox_showstgc_projected);
745  s.restore(m_d->ui_disp.horizontalSlider_highlights_intensity);
746  s.restore(m_d->ui_cuts.spinBox_cut_pixel_minnrdo);
747  s.restore(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
748  s.restore(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
749  s.restore(m_d->ui_disp.spinBox_highlight_mdt_ADC_below);
750  s.restore(m_d->ui_cuts.spinBox_cut_mdt_ADClowerbound);
751  s.restore(m_d->ui_cuts.spinBox_cut_mdt_ADCupperbound);
752  s.restore(m_d->ui_disp.materialbutton_highlights_material);
753  s.restore(m_d->ui_int.checkBox_selModeMultiple);
754  s.restore(m_d->ui_int.checkBox_showSelectionLine);
755  s.restore(m_d->ui_int.matButton_multiselline);
756  s.restore(m_d->ui_cuts.etaPhiCutWidget);
757  s.restore(m_d->ui_disp.widget_drawOptions_PixelSCT);
758  s.restore(m_d->ui_disp.widget_drawOptions_TRT);
759  s.restore(m_d->ui_disp.widget_drawOptions_Muons);
760  s.restore(m_d->ui_int.checkBox_printinfo);
761  s.restore(m_d->ui_int.checkBox_zoom);
762  s.restore(m_d->ui_int.checkBox_zoom_orientToMuonChamber);
763 
764  if (s.version()>=1) {
765  s.restore(m_d->ui_cuts.spinBox_cut_trt_LEMin);
766  s.restore(m_d->ui_cuts.spinBox_cut_trt_LEMax);
767  s.restore(m_d->ui_cuts.checkbox_cut_trt_LeMin);
768  s.restore(m_d->ui_cuts.checkbox_cut_trt_LeMax);
769  }
770 
771  if (s.version()>=2) {
772  s.restore(m_d->ui_disp.checkBox_drawErrors);
773  s.restore(m_d->ui_disp.checkBox_drawRDOs);
774  }
775 
776  if (s.version()>=3) {
777  s.restore(m_d->ui_cuts.comboBox_mdt_cutMdtDriftCircleStatus);
778  s.restore(m_d->ui_cuts.checkBox_cut_mdt_limitToActiveChambers);
779  }
780 
781  //Not used yet:
782  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_on_track);
783  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_not_on_track);
784  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_hits_on_segments);
785  s.ignoreWidget(m_d->ui_cuts.checkBox_cuts_ts_exclude_not_on_segments);
786 }
787 
789 // Test for possible changes in values and emit signals as appropriate:
790 // (possibleChange_XXX() slots code provided by macros)
791 #define VP1CONTROLLERCLASSNAME PRDSystemController
793 
794 //The actual code for each variable:
802 // POSSIBLECHANGE_IMP(projectSTGCHits)
PRDSystemController::Imp::last_mdtAllowedADCValues
VP1Interval last_mdtAllowedADCValues
Definition: PRDSystemController.cxx:71
VP1Serialise.h
PRDSystemController::projectSCTHits
bool projectSCTHits() const
Definition: PRDSystemController.cxx:555
PRDSystemController::Imp::highlightmaterial
SoMaterial * highlightmaterial
Definition: PRDSystemController.cxx:41
PRDSystemController::trtMinToT
unsigned trtMinToT() const
Definition: PRDSystemController.cxx:389
VP1Controller::addUpdateSlot
const char * addUpdateSlot(const char *slot)
Definition: VP1Controller.cxx:318
PRDSystemController::possibleChange_trtMinLE
void possibleChange_trtMinLE()
PRDSystemController::Imp::last_trtMinLE
unsigned last_trtMinLE
Definition: PRDSystemController.cxx:67
VP1Controller::setupCollWidgetInScrollArea
void setupCollWidgetInScrollArea(QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
Definition: VP1Controller.cxx:255
PRDSystemController::Imp::last_mdt_cutMdtDriftCircleStatus
QString last_mdt_cutMdtDriftCircleStatus
Definition: PRDSystemController.cxx:73
PRDCollHandleBase::BySegmentAndTrack
@ BySegmentAndTrack
Definition: PRDCollHandleBase.h:71
PRDSystemController::Imp::last_trtMaxToT
unsigned last_trtMaxToT
Definition: PRDSystemController.cxx:66
PRDSystemController::Imp::ui_int
Ui::PRDSysSettingsInteractionsForm ui_int
Definition: PRDSystemController.cxx:36
PRDSystemController::~PRDSystemController
virtual ~PRDSystemController()
Definition: PRDSystemController.cxx:274
PRDCollHandleBase::ByTechOnly
@ ByTechOnly
Definition: PRDCollHandleBase.h:71
POSSIBLECHANGE_IMP
#define POSSIBLECHANGE_IMP(x)
Definition: VP1ControllerMacros.h:18
PRDSystemController::possibleChange_mdtExcludeMaskedHits
void possibleChange_mdtExcludeMaskedHits()
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
VP1Deserialise.h
VP1Serialise
Definition: VP1Serialise.h:45
InDetProjFlags::Pixel_ecpos
@ Pixel_ecpos
Definition: InDetProjFlags.h:36
PRDSystemController::possibleChange_highLightOutliers
void possibleChange_highLightOutliers()
PRDSystemController::Imp::last_projectRPCHits
bool last_projectRPCHits
Definition: PRDSystemController.cxx:55
PRDSystemController::possibleChange_projectCSCHits
void possibleChange_projectCSCHits()
PRDSystemController::trtMaxToT
unsigned trtMaxToT() const
Definition: PRDSystemController.cxx:395
PRDSystemController::projectRPCHits
bool projectRPCHits() const
Definition: PRDSystemController.cxx:558
PRDSystemController::Imp::last_pixelMinNRDOPerCluster
unsigned last_pixelMinNRDOPerCluster
Definition: PRDSystemController.cxx:63
PRDSystemController::possibleChange_highLightMaterialWeight
void possibleChange_highLightMaterialWeight()
PRDSystemController::collWidget
VP1CollectionWidget * collWidget() const
Definition: PRDSystemController.cxx:282
PRDSystemController::possibleChange_projectPixelHits
void possibleChange_projectPixelHits()
PRDSystemController::Imp::ui_cuts
Ui::PRDSysSettingsCutsForm ui_cuts
Definition: PRDSystemController.cxx:38
PRDSystemController::possibleChange_showSelectionLine
void possibleChange_showSelectionLine()
PRDSystemController::possibleChange_trtMaxLE
void possibleChange_trtMaxLE()
PRDDetType::SpacePoints
@ SpacePoints
Definition: PRDDetTypes.h:13
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
PRDSystemController::Imp::last_projectTRTHits
bool last_projectTRTHits
Definition: PRDSystemController.cxx:53
PRDSystemController
Definition: PRDSystemController.h:34
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
VP1Controller::initDialog
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
Definition: VP1Controller.h:144
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
PRDSystemController::possibleChange_cutAllowedPhi
void possibleChange_cutAllowedPhi()
PRDSystemController::Imp::last_highLightTRTHitsByHighThreshold
bool last_highLightTRTHitsByHighThreshold
Definition: PRDSystemController.cxx:48
VP1QtUtils.h
PRDSystemController::updateHighlightGui
void updateHighlightGui()
Definition: PRDSystemController.cxx:507
PRDSystemController::Imp::theclass
PRDSystemController * theclass
Definition: PRDSystemController.cxx:34
PRDSystemController::Imp::last_shownCollectionTypes
std::set< PRDDetType::Type > last_shownCollectionTypes
Definition: PRDSystemController.cxx:74
PRDSystemController::possibleChange_selectionModeMultiple
void possibleChange_selectionModeMultiple()
PRDSystemController::Imp::last_colourMethod
PRDCollHandleBase::COLOURMETHOD last_colourMethod
Definition: PRDSystemController.cxx:43
PRDSystemController::highLightOutliersChanged
void highLightOutliersChanged(bool)
InDetProjFlags::TRT_ecpos
@ TRT_ecpos
Definition: InDetProjFlags.h:41
upper
int upper(int c)
Definition: LArBadChannelParser.cxx:49
PRDSystemController::drawRDOs
bool drawRDOs() const
Definition: PRDSystemController.cxx:492
PRDSystemController::sctExcludeIsolatedClusters
bool sctExcludeIsolatedClusters() const
Definition: PRDSystemController.cxx:428
InDetProjFlags::Pixel_brlpos
@ Pixel_brlpos
Definition: InDetProjFlags.h:34
PRDSystemController::inDetPartsFlagsChanged
void inDetPartsFlagsChanged(PRDCommonFlags::InDetPartsFlags)
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PRDCollHandleBase::BySegment
@ BySegment
Definition: PRDCollHandleBase.h:71
PRDCollHandleBase::COLOURMETHOD
COLOURMETHOD
Definition: PRDCollHandleBase.h:71
PRDSystemController::Imp::last_cutAllowedEta
VP1Interval last_cutAllowedEta
Definition: PRDSystemController.cxx:60
PRDSystemController::Imp::last_projectPixelHits
bool last_projectPixelHits
Definition: PRDSystemController.cxx:51
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
PRDSystemController::Imp::last_drawRDOs
bool last_drawRDOs
Definition: PRDSystemController.cxx:45
PRDSystemController::printInfoOnClick
bool printInfoOnClick() const
Definition: PRDSystemController.cxx:348
PRDSystemController::possibleChange_highLightMDTHitsByMask
void possibleChange_highLightMDTHitsByMask()
VP1Controller::connectToLastUpdateSlot
void connectToLastUpdateSlot(QObject *sender, const char *signal)
Definition: VP1Controller.cxx:327
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
PRDSystemController::possibleChange_inDetPartsUsingProjections
void possibleChange_inDetPartsUsingProjections()
PRDSystemController::possibleChange_pixelMinNRDOPerCluster
void possibleChange_pixelMinNRDOPerCluster()
PRDDetType::SCT
@ SCT
Definition: PRDDetTypes.h:13
VP1CollectionWidget.h
PRDSystemController::mdtAllowedADCValues
VP1Interval mdtAllowedADCValues() const
Definition: PRDSystemController.cxx:440
PRDSystemController::Imp::last_mdtMinNHitsPerStation
unsigned last_mdtMinNHitsPerStation
Definition: PRDSystemController.cxx:70
VP1QtInventorUtils.h
InDetProjFlags::SCT_brlpos
@ SCT_brlpos
Definition: InDetProjFlags.h:29
PRDSystemController::projectTRTHits
bool projectTRTHits() const
Definition: PRDSystemController.cxx:556
PRDSystemController::possibleChange_drawErrors
void possibleChange_drawErrors()
PRDSystemController::m_d
Imp * m_d
Definition: PRDSystemController.h:161
PRDSystemController::possibleChange_colourMethod
void possibleChange_colourMethod()
PRDDetType::Type
Type
Definition: PRDDetTypes.h:12
PRDSystemController::Imp::last_mdtExcludeMaskedHits
bool last_mdtExcludeMaskedHits
Definition: PRDSystemController.cxx:72
PRDSystemController::possibleChange_trtMinToT
void possibleChange_trtMinToT()
PRDSystemController::Imp::shownCollectionTypes
QSet< PRDDetType::Type > shownCollectionTypes() const
Definition: PRDSystemController.cxx:304
IVP1System
Definition: IVP1System.h:36
PRDSystemController::trtRequireHT
bool trtRequireHT() const
Definition: PRDSystemController.cxx:413
VP1CollectionWidget::visibleStdCollectionTypes
QList< qint32 > visibleStdCollectionTypes() const
Definition: VP1CollectionWidget.cxx:324
PRDSystemController::possibleChange_trtMaxToT
void possibleChange_trtMaxToT()
PRDSystemController::getHighLightMaterial
SoMaterial * getHighLightMaterial()
Definition: PRDSystemController.cxx:335
PRDSystemController::projectCSCHits
bool projectCSCHits() const
Definition: PRDSystemController.cxx:559
PRDSystemController::projectPixelHitsChanged
void projectPixelHitsChanged(bool)
PRDSystemController::trtMaxLE
unsigned trtMaxLE() const
Definition: PRDSystemController.cxx:407
VP1QtUtils::environmentVariableIsOn
static bool environmentVariableIsOn(const QString &name)
Definition: VP1QtUtils.cxx:127
lumiFormat.i
int i
Definition: lumiFormat.py:85
PRDCollHandleBase::ByTrack
@ ByTrack
Definition: PRDCollHandleBase.h:71
InDetProjFlags::SCT_ecpos
@ SCT_ecpos
Definition: InDetProjFlags.h:31
PRDSystemController::Imp::last_showSelectionLine
bool last_showSelectionLine
Definition: PRDSystemController.cxx:77
VP1Interval::inf
static double inf()
Definition: VP1Interval.h:25
PRDSystemController::Imp::collWidget
VP1CollectionWidget * collWidget
Definition: PRDSystemController.cxx:39
PRDSystemController::Imp::last_selectionModeMultiple
bool last_selectionModeMultiple
Definition: PRDSystemController.cxx:76
PRDSystemController::trtMinLE
unsigned trtMinLE() const
Definition: PRDSystemController.cxx:401
PRDSystemController::possibleChange_projectTGCHits
void possibleChange_projectTGCHits()
master.flag
bool flag
Definition: master.py:29
PRDSystemController::emitClearSelection
void emitClearSelection()
Definition: PRDSystemController.cxx:328
PRDSystemController::Imp::ui
Ui::VP1PrdControllerForm ui
Definition: PRDSystemController.cxx:35
PRDSystemController::showSelectionLine
bool showSelectionLine() const
Definition: PRDSystemController.cxx:614
InDetProjFlags::SCT_ecneg
@ SCT_ecneg
Definition: InDetProjFlags.h:32
PRDSystemController::possibleChange_projectMDTHits
void possibleChange_projectMDTHits()
PRDSystemController::Imp::last_projectSCTHits
bool last_projectSCTHits
Definition: PRDSystemController.cxx:52
PRDSystemController::Imp
Definition: PRDSystemController.cxx:32
PRDSystemController::Imp::last_trtMinToT
unsigned last_trtMinToT
Definition: PRDSystemController.cxx:65
PRDSystemController::highLightMDTHitsByUpperADCBound
int highLightMDTHitsByUpperADCBound()
Definition: PRDSystemController.cxx:533
PRDSystemController::possibleChange_mdtAllowedADCValues
void possibleChange_mdtAllowedADCValues()
PRDSystemController::Imp::last_drawErrors
bool last_drawErrors
Definition: PRDSystemController.cxx:44
hist_file_dump.f
f
Definition: hist_file_dump.py:135
PRDCommonFlags::None
@ None
Definition: PRDCommonFlags.h:23
PRDSystemController::Imp::ui_disp
Ui::PRDSysSettingsDisplayForm ui_disp
Definition: PRDSystemController.cxx:37
PRDSystemController::possibleChange_projectTRTHits
void possibleChange_projectTRTHits()
PRDSystemController::mdtExcludeMaskedHits
bool mdtExcludeMaskedHits() const
Definition: PRDSystemController.cxx:451
PRDSystemController::Imp::last_projectMDTHits
bool last_projectMDTHits
Definition: PRDSystemController.cxx:54
PRDSystemController::Imp::last_trtRequireHT
bool last_trtRequireHT
Definition: PRDSystemController.cxx:69
VP1Deserialise
Definition: VP1Deserialise.h:44
PRDSystemController::Imp::last_trtMaxLE
unsigned last_trtMaxLE
Definition: PRDSystemController.cxx:68
PRDSystemController::projectPixelHits
bool projectPixelHits() const
Definition: PRDSystemController.cxx:554
VP1Controller
Definition: VP1Controller.h:45
PRDSystemController::highLightMaterialWeight
double highLightMaterialWeight() const
Definition: PRDSystemController.cxx:542
PRDSystemController::actualSaveSettings
void actualSaveSettings(VP1Serialise &) const
Definition: PRDSystemController.cxx:643
PRDDetType::intToType
static Type intToType(const qint32 &i, bool &status)
Definition: PRDDetTypes.cxx:66
PRDSystemController::highLightMDTHitsByMask
bool highLightMDTHitsByMask()
Definition: PRDSystemController.cxx:525
PRDSystemController::Imp::last_highLightMDTHitsByUpperADCBound
int last_highLightMDTHitsByUpperADCBound
Definition: PRDSystemController.cxx:50
PRDSystemController::possibleChange_cutAllowedEta
void possibleChange_cutAllowedEta()
PRDSystemController::mdt_cutMdtDriftCircleStatus
QString mdt_cutMdtDriftCircleStatus() const
Definition: PRDSystemController.cxx:457
InDetProjFlags::Pixel_ecneg
@ Pixel_ecneg
Definition: InDetProjFlags.h:37
PRDSystemController::highLightTRTHitsByHighThreshold
bool highLightTRTHitsByHighThreshold()
Definition: PRDSystemController.cxx:517
PRDSystemController::shownCollectionTypes
std::set< PRDDetType::Type > shownCollectionTypes() const
Definition: PRDSystemController.cxx:620
PRDSystemController::projectMDTHits
bool projectMDTHits() const
Definition: PRDSystemController.cxx:557
PRDSystemController::possibleChange_highLightTRTHitsByHighThreshold
void possibleChange_highLightTRTHitsByHighThreshold()
PRDSystemController::Imp::last_highLightMDTHitsByMask
bool last_highLightMDTHitsByMask
Definition: PRDSystemController.cxx:49
PRDSystemController::projectTGCHits
bool projectTGCHits() const
Definition: PRDSystemController.cxx:560
PRDSystemController::Imp::last_inDetPartsFlags
PRDCommonFlags::InDetPartsFlags last_inDetPartsFlags
Definition: PRDSystemController.cxx:62
PRDSystemController::Imp::last_projectTGCHits
bool last_projectTGCHits
Definition: PRDSystemController.cxx:57
PRDSystemController::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: PRDSystemController.cxx:372
PRDSystemController::colourMethod
PRDCollHandleBase::COLOURMETHOD colourMethod() const
Definition: PRDSystemController.cxx:469
VP1MaterialButton::createMaterial
static SoMaterial * createMaterial(const QColor &, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1MaterialButton.cxx:786
PRDSystemController::possibleChange_mdtMinNHitsPerStation
void possibleChange_mdtMinNHitsPerStation()
PRDSystemController::possibleChange_limitToActiveChambers
void possibleChange_limitToActiveChambers()
PRDSystemController.h
PRDSystemController::Imp::last_cutAllowedPhi
QList< VP1Interval > last_cutAllowedPhi
Definition: PRDSystemController.cxx:61
PRDSystemController::mdtMinNHitsPerStation
unsigned mdtMinNHitsPerStation() const
Definition: PRDSystemController.cxx:434
PRDSystemController::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition: PRDSystemController.cxx:366
PRDSystemController::inDetPartsUsingProjections
InDetProjFlags::DetTypeFlags inDetPartsUsingProjections() const
Definition: PRDSystemController.cxx:564
PRDSystemController::zoomOnClick
bool zoomOnClick() const
Definition: PRDSystemController.cxx:354
PRDSystemController::drawErrors
bool drawErrors() const
Definition: PRDSystemController.cxx:485
PRDSystemController::possibleChange_projectSCTHits
void possibleChange_projectSCTHits()
InDetProjFlags::TRT_brlpos
@ TRT_brlpos
Definition: InDetProjFlags.h:39
PRDSystemController::projectSCTHitsChanged
void projectSCTHitsChanged(bool)
InDetProjFlags::NoDet
@ NoDet
Definition: InDetProjFlags.h:28
VP1Interval
Definition: VP1Interval.h:23
PRDCommonFlags::BarrelPositive
@ BarrelPositive
Definition: PRDCommonFlags.h:24
PRDSystemController::possibleChange_sctExcludeIsolatedClusters
void possibleChange_sctExcludeIsolatedClusters()
InDetProjFlags::Pixel_brlneg
@ Pixel_brlneg
Definition: InDetProjFlags.h:35
PRDSystemController::PRDSystemController
PRDSystemController(IVP1System *sys)
Definition: PRDSystemController.cxx:85
PRDCommonFlags::BarrelNegative
@ BarrelNegative
Definition: PRDCommonFlags.h:25
VP1CollectionWidget
Definition: VP1CollectionWidget.h:32
PRDSystemController::clearSelection
void clearSelection() const
PRDCommonFlags::EndCapPositive
@ EndCapPositive
Definition: PRDCommonFlags.h:26
PRDSystemController::pixelMinNRDOPerCluster
unsigned pixelMinNRDOPerCluster() const
Definition: PRDSystemController.cxx:420
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
PRDSystemController::inDetPartsFlags
PRDCommonFlags::InDetPartsFlags inDetPartsFlags() const
Definition: PRDSystemController.cxx:378
PRDSystemController::Imp::last_sctExcludeIsolatedClusters
bool last_sctExcludeIsolatedClusters
Definition: PRDSystemController.cxx:64
PRDDetType::Pixel
@ Pixel
Definition: PRDDetTypes.h:13
InDetProjFlags::TRT_brlneg
@ TRT_brlneg
Definition: InDetProjFlags.h:40
PRDSystemController::getMultiSelectionLineMaterial
SoMaterial * getMultiSelectionLineMaterial() const
Definition: PRDSystemController.cxx:317
PRDSystemController::actualRestoreSettings
void actualRestoreSettings(VP1Deserialise &)
Definition: PRDSystemController.cxx:712
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
PRDSystemController::selectionModeMultiple
bool selectionModeMultiple() const
Definition: PRDSystemController.cxx:608
PRDSystemController::Imp::last_projectCSCHits
bool last_projectCSCHits
Definition: PRDSystemController.cxx:56
PRDSystemController::possibleChange_trtRequireHT
void possibleChange_trtRequireHT()
PRDSystemController::Imp::last_inDetPartsUsingProjections
InDetProjFlags::DetTypeFlags last_inDetPartsUsingProjections
Definition: PRDSystemController.cxx:79
PRDSystemController::currentSettingsVersion
int currentSettingsVersion() const
Definition: PRDSystemController.cxx:637
PRDCommonFlags::EndCapNegative
@ EndCapNegative
Definition: PRDCommonFlags.h:27
PRDSystemController::possibleChange_mdt_cutMdtDriftCircleStatus
void possibleChange_mdt_cutMdtDriftCircleStatus()
InDetProjFlags::TRT_ecneg
@ TRT_ecneg
Definition: InDetProjFlags.h:42
PRDSystemController::drawOptions
SoGroup * drawOptions(PRDDetType::Type) const
Definition: PRDSystemController.cxx:288
PRDSystemController::muonOrientToChambersOnClick
bool muonOrientToChambersOnClick() const
Definition: PRDSystemController.cxx:360
PRDSystemController::highLightOutliers
bool highLightOutliers() const
Definition: PRDSystemController.cxx:500
PRDSystemController::projectTRTHitsChanged
void projectTRTHitsChanged(bool)
PRDSystemController::Imp::last_highLightOutliers
bool last_highLightOutliers
Definition: PRDSystemController.cxx:46
PRDSystemController::possibleChange_highLightMDTHitsByUpperADCBound
void possibleChange_highLightMDTHitsByUpperADCBound()
PRDDetType::TRT
@ TRT
Definition: PRDDetTypes.h:13
PRDSystemController::limitToActiveChambers
bool limitToActiveChambers() const
Definition: PRDSystemController.cxx:463
InDetProjFlags::SCT_brlneg
@ SCT_brlneg
Definition: InDetProjFlags.h:30
PRDSystemController::possibleChange_drawRDOs
void possibleChange_drawRDOs()
VP1Controller::initLastVars
void initLastVars()
Definition: VP1Controller.cxx:68
PRDSystemController::Imp::last_highLightMaterialWeight
double last_highLightMaterialWeight
Definition: PRDSystemController.cxx:47
PRDSystemController::possibleChange_inDetPartsFlags
void possibleChange_inDetPartsFlags()
PRDSystemController::Imp::last_limitToActiveChambers
bool last_limitToActiveChambers
Definition: PRDSystemController.cxx:75
VP1ControllerMacros.h
PRDSystemController::possibleChange_projectRPCHits
void possibleChange_projectRPCHits()
PRDSystemController::possibleChange_shownCollectionTypes
void possibleChange_shownCollectionTypes()