ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
VP1EtaPhiCutWidget::Imp Class Reference
Collaboration diagram for VP1EtaPhiCutWidget::Imp:

Public Member Functions

void adaptSpinBoxRangesForSymmetry (bool symmetric)
 

Public Attributes

Ui::VP1EtaPhiCutForm ui
 
VP1Interval last_allowedEta
 
QList< VP1Intervallast_allowedPhi
 

Detailed Description

Definition at line 28 of file VP1EtaPhiCutWidget.cxx.

Member Function Documentation

◆ adaptSpinBoxRangesForSymmetry()

void VP1EtaPhiCutWidget::Imp::adaptSpinBoxRangesForSymmetry ( bool  symmetric)

Definition at line 139 of file VP1EtaPhiCutWidget.cxx.

140 {
141  if (symmetric) {
142  ui.doubleSpinBox_cut_etalower->setMaximum(0.0);
143  ui.doubleSpinBox_cut_etaupper->setMinimum(0.0);
144  } else {
145  const double rangemax = ui.doubleSpinBox_cut_etaupper->maximum();
146  ui.doubleSpinBox_cut_etalower->setMaximum(rangemax);
147  ui.doubleSpinBox_cut_etaupper->setMinimum(-rangemax);
148  }
149 }

Member Data Documentation

◆ last_allowedEta

VP1Interval VP1EtaPhiCutWidget::Imp::last_allowedEta

Definition at line 33 of file VP1EtaPhiCutWidget.cxx.

◆ last_allowedPhi

QList<VP1Interval> VP1EtaPhiCutWidget::Imp::last_allowedPhi

Definition at line 34 of file VP1EtaPhiCutWidget.cxx.

◆ ui

Ui::VP1EtaPhiCutForm VP1EtaPhiCutWidget::Imp::ui

Definition at line 32 of file VP1EtaPhiCutWidget.cxx.


The documentation for this class was generated from the following file:
VP1EtaPhiCutWidget::Imp::ui
Ui::VP1EtaPhiCutForm ui
Definition: VP1EtaPhiCutWidget.cxx:32