15 #define VP1IMPVARNAME m_d
18 #include "ui_vp1rawdatacontrollerform.h"
19 #include "ui_rawdata_settings_display_form.h"
20 #include "ui_rawdata_settings_interactions_form.h"
21 #include "ui_rawdata_settings_cuts_form.h"
26 #include "GaudiKernel/SystemOfUnits.h"
34 Ui::VP1RawDataControllerForm
ui{};
36 Ui::RawDataSysSettingsInteractionsForm
ui_int{};
55 m_d->
ui.setupUi(
this);
68 m_d->
ui_cuts.etaPhiCutWidget->setEtaCutEnabled(
false);
156 s.save(
m_d->
ui_int.checkBox_printinfo_verbose);
164 if (
s.version()<0||
s.version()>1) {
165 message(
"Warning: State data in .vp1 file has unsupported version ("+
str(
s.version())+
")");
169 s.restore(
m_d->
ui_cuts.checkBox_cut_indet_barrelA);
170 s.restore(
m_d->
ui_cuts.checkBox_cut_indet_barrelC);
171 s.restore(
m_d->
ui_cuts.checkBox_cut_indet_endcapA);
172 s.restore(
m_d->
ui_cuts.checkBox_cut_indet_endcapC);
185 s.restore(
m_d->
ui_int.checkBox_printinfo_verbose);
200 return m_d->
ui_display.widget_drawOptions->drawOptionsGroup();
211 return m_d->
ui_cuts.etaPhiCutWidget->allowedEta();
217 return m_d->
ui_cuts.etaPhiCutWidget->allowedPhi();
223 return m_d->
ui_display.checkBox_showVolumeOutLines->isChecked();
229 return m_d->
ui_display.checkBox_trtHTUseSpecialMat->isChecked();
235 return m_d->
ui_display.checkBox_bcmHighAttUseSpecialMat->isChecked();
241 VP1RawDataFlags::InDetPartsFlags
f;
242 if (
m_d->
ui_cuts.checkBox_cut_indet_barrelA->isChecked())
244 if (
m_d->
ui_cuts.checkBox_cut_indet_barrelC->isChecked())
246 if (
m_d->
ui_cuts.checkBox_cut_indet_endcapA->isChecked())
248 if (
m_d->
ui_cuts.checkBox_cut_indet_endcapC->isChecked())
256 return m_d->
ui_cuts.checkbox_cut_trt_needHT->isChecked();
270 return m_d->
ui_cuts.spinBox_lucid_qdc_min->value();
288 #define VP1CONTROLLERCLASSNAME VP1RawDataSysController