ATLAS Offline Software
Loading...
Searching...
No Matches
VP1RawDataSysController Class Reference

#include <VP1RawDataSysController.h>

Inheritance diagram for VP1RawDataSysController:
Collaboration diagram for VP1RawDataSysController:

Classes

class  Imp

Public Slots

void toggleDialogState (QObject *widget=0)
void enabledButtonStateChanged ()
void collWidgetContentChanged ()

Signals

void cutAllowedEtaChanged (const VP1Interval &)
void cutAllowedPhiChanged (const QList< VP1Interval > &)
void showVolumeOutLinesChanged (bool)
void useSpecialTRTHTMaterialChanged (bool)
void useSpecialBCMHighAttMaterialChanged (bool)
void enabledInDetPartsChanged (VP1RawDataFlags::InDetPartsFlags)
void trtRequireHTChanged (bool)
void trtAllowedToTChanged (const VP1Interval &)
void lucidMinQDCChanged (unsigned)
void rpcShowEtaChanged (bool)
void rpcShowPhiChanged (bool)
void rpcShowPrimarySideChanged (bool)
void rpcShowOppositeSideChanged (bool)
void rpcKeepMissingToTChanged (bool)
void rpcAllowedTimeChanged (const VP1Interval &)
void rpcAllowedToTChanged (const VP1Interval &)
void tgcShowStripsChanged (bool)
void tgcShowWiresChanged (bool)
void tgcShowPreviousChanged (bool)
void tgcShowCurrentChanged (bool)
void tgcShowNextChanged (bool)
void tgcShowNextNextChanged (bool)
void tgcShowUndefinedChanged (bool)
void tgcShowUnknownChanged (bool)
void mdtExcludeMaskedChanged (bool)
void stgcShowPadsChanged (bool)
void stgcShowStripsChanged (bool)
void stgcShowWiresChanged (bool)
void stgcExcludeDeadChanged (bool)
void stgcExcludePileupChanged (bool)
void mdtAllowedADCChanged (const VP1Interval &)
void mdtAllowedTDCChanged (const VP1Interval &)
void mmAllowedChargeChanged (const VP1Interval &)
void mmAllowedTimeChanged (const VP1Interval &)
void stgcAllowedChargeChanged (const VP1Interval &)
void stgcAllowedTimeChanged (const VP1Interval &)
void dummyUpdateTrigger ()

Public Member Functions

 VP1RawDataSysController (IVP1System *sys)
virtual ~VP1RawDataSysController ()
void actualRestoreSettings (VP1Deserialise &)
int currentSettingsVersion () const
void actualSaveSettings (VP1Serialise &) const
VP1CollectionWidget * collWidget () const
SoGroup * drawOptions () const
SoMaterial * trtHTMaterial () const
SoMaterial * bcmHighAttMaterial () const
bool printInfoOnClick () const
bool printVerboseInfoOnClick () const
bool zoomOnClick () const
VP1Interval cutAllowedEta () const
QList< VP1Interval > cutAllowedPhi () const
VP1RawDataFlags::InDetPartsFlags enabledInDetParts () const
bool trtRequireHT () const
VP1Interval trtAllowedToT () const
unsigned lucidMinQDC () const
bool rpcShowEta () const
bool rpcShowPhi () const
bool rpcShowPrimarySide () const
bool rpcShowOppositeSide () const
bool rpcKeepMissingToT () const
VP1Interval rpcAllowedTime () const
VP1Interval rpcAllowedToT () const
bool tgcShowStrips () const
bool tgcShowWires () const
bool tgcShowPrevious () const
bool tgcShowCurrent () const
bool tgcShowNext () const
bool tgcShowNextNext () const
bool tgcShowUndefined () const
bool tgcShowUnknown () const
bool mdtExcludeMasked () const
bool stgcShowPads () const
bool stgcShowStrips () const
bool stgcShowWires () const
bool stgcExcludeDead () const
bool stgcExcludePileup () const
VP1Interval mdtAllowedADC () const
VP1Interval mdtAllowedTDC () const
VP1Interval mmAllowedCharge () const
VP1Interval mmAllowedTime () const
VP1Interval stgcAllowedCharge () const
VP1Interval stgcAllowedTime () const
bool showVolumeOutLines () const
bool useSpecialTRTHTMaterial () const
bool useSpecialBCMHighAttMaterial () const
void initLastVars ()
QByteArray saveSettings () const
void restoreSettings (const QByteArray &)
void setSystemBasePointer (IVP1System *sys)
void message (const QString &) const
void message (const QStringList &, const QString &addtoend="") const
void message (const QString &addtostart, const QStringList &, const QString &addtoend="") const
void messageDebug (const QString &) const
void messageDebug (const QStringList &, const QString &addtoend="") const
void messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const
void messageVerbose (const QString &) const
void messageVerbose (const QStringList &, const QString &addtoend="") const
void messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const
IVP1System * systemBase () const
const QString & helperClassName () const

Static Public Member Functions

static void setCustomTourEditor (VP1CustomTourEditor *editor)
static VP1CustomTourEditor * customTourEditor ()
static bool verbose ()
static void warnUndeletedInstances ()
static QString str (const QString &s)
static QString str (const char *c)
static QString str (const bool b)
static QString str (const QColor &)
static QString str (const SbColor &)
static QString str (const VP1Interval &)
static QString str (const SbVec2d &)
static QString str (const SbVec2f &)
static QString str (const SbVec2s &)
static QString str (const SbVec3d &)
static QString str (const SbVec3f &)
static QString str (const SbVec3s &)
static QString str (const SbVec4d &)
static QString str (const SbVec4f &)
static QString str (short int n)
static QString str (unsigned short int n)
static QString str (long n)
static QString str (ulong n)
static QString str (int n)
static QString str (uint n)
static QString str (qlonglong n)
static QString str (qulonglong n)
static QString str (const double &d)
static QString str (const float &f)
static QString str (const void *)
template<class T>
static QString str (const T *t)
template<class T>
static QString str (const QFlags< T > &f)
template<class T>
static QString str (const HepGeom::BasicVector3D< T > &t)
static QString str (const Amg::Vector3D &t)
template<class T>
static QString str (const QList< T > &t)

Protected Slots

void testForChanges ()

Protected Member Functions

template<class T>
bool changed (T &lastval, const T &newval)
template<class T>
void initDialog (T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
void initDialog (std::unique_ptr< QWidget > dialog, QPushButton *launchbutton, QPushButton *closebutton, QAbstractButton *enabledButton=0)
void setupCollWidgetInScrollArea (QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
const char * addUpdateSlot (const char *slot)
void connectToLastUpdateSlot (QObject *sender, const char *signal)
void connectToLastUpdateSlot (QCheckBox *)
void connectToLastUpdateSlot (QComboBox *)
void connectToLastUpdateSlot (QGroupBox *)
void connectToLastUpdateSlot (QSpinBox *)
void connectToLastUpdateSlot (QDoubleSpinBox *)
void connectToLastUpdateSlot (QRadioButton *)
void connectToLastUpdateSlot (QButtonGroup *)
void connectToLastUpdateSlot (QSlider *)
void connectToLastUpdateSlot (VP1ColorSelectButton *)
bool initVarsMode () const
QButtonGroup * defineRadioButtonGroup (QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0)
QButtonGroup * defineRadioButtonGroup (const QList< QRadioButton * > &)
SoMaterial * getMaterial (VP1MaterialButton *) const
SoMaterial * fallBackMaterial () const
void setHelperClassName (const QString &n)

Static Protected Member Functions

template<class T>
static QString toString (const T &par)
static QString toString (const bool &par)
static QString toString (const QList< VP1Interval > &l)
static QString toString (SbColor4f)

Private Slots

void possibleChange_cutAllowedEta ()
void possibleChange_cutAllowedPhi ()
void possibleChange_showVolumeOutLines ()
void possibleChange_useSpecialTRTHTMaterial ()
void possibleChange_useSpecialBCMHighAttMaterial ()
void possibleChange_enabledInDetParts ()
void possibleChange_trtRequireHT ()
void possibleChange_trtAllowedToT ()
void possibleChange_lucidMinQDC ()
void possibleChange_rpcShowEta ()
void possibleChange_rpcShowPhi ()
void possibleChange_rpcShowPrimarySide ()
void possibleChange_rpcShowOppositeSide ()
void possibleChange_rpcKeepMissingToT ()
void possibleChange_rpcAllowedTime ()
void possibleChange_rpcAllowedToT ()
void possibleChange_tgcShowStrips ()
void possibleChange_tgcShowWires ()
void possibleChange_tgcShowPrevious ()
void possibleChange_tgcShowCurrent ()
void possibleChange_tgcShowNext ()
void possibleChange_tgcShowNextNext ()
void possibleChange_tgcShowUndefined ()
void possibleChange_tgcShowUnknown ()
void possibleChange_mdtExcludeMasked ()
void possibleChange_stgcShowPads ()
void possibleChange_stgcShowStrips ()
void possibleChange_stgcShowWires ()
void possibleChange_stgcExcludeDead ()
void possibleChange_stgcExcludePileup ()
void possibleChange_mdtAllowedADC ()
void possibleChange_mdtAllowedTDC ()
void possibleChange_mmAllowedCharge ()
void possibleChange_mmAllowedTime ()
void possibleChange_stgcAllowedCharge ()
void possibleChange_stgcAllowedTime ()

Private Attributes

Imp * m_d
bool m_initVarsMode
QString m_helpername
IVP1System * m_system

Static Private Attributes

static VP1CustomTourEditor * m_customTourEditor =0
static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")

Detailed Description

Definition at line 24 of file VP1RawDataSysController.h.

Constructor & Destructor Documentation

◆ VP1RawDataSysController()

VP1RawDataSysController::VP1RawDataSysController ( IVP1System * sys)

Definition at line 86 of file VP1RawDataSysController.cxx.

87 : VP1Controller(sys,"VP1RawDataSysController"), m_d(new Imp)
88{
89 m_d->ui.setupUi(this);
90
91 m_d->collWidget = new VP1CollectionWidget;
92 setupCollWidgetInScrollArea(m_d->ui.collWidgetScrollArea,m_d->collWidget);
93
94 initDialog(m_d->ui_display, m_d->ui.pushButton_settings_display);
95 initDialog(m_d->ui_int, m_d->ui.pushButton_settings_interactions);
96 // Keep long cut forms usable on small screens and with large desktop fonts.
97 auto cutsDialog = std::make_unique<QDialog>(nullptr, Qt::WindowStaysOnTopHint);
98 m_d->ui_cuts.setupUi(cutsDialog.get());
99 cutsDialog->setSizeGripEnabled(true);
100 cutsDialog->setMinimumSize(320, 240);
101 m_d->ui_cuts.cutsContentLayout->setAlignment(Qt::AlignTop);
102 QScreen* screen = QGuiApplication::screenAt(QCursor::pos());
103 if (!screen)
104 screen = QGuiApplication::primaryScreen();
105 const QSize preferredSize(520, 640);
106 cutsDialog->resize(screen ? preferredSize.boundedTo(screen->availableGeometry().size() * 0.85)
107 : preferredSize);
108 initDialog(std::move(cutsDialog), m_d->ui.pushButton_settings_cuts,
109 m_d->ui_cuts.pushButton_close);
110
111 m_d->ui_display.widget_drawOptions->setLineWidths(1.5);
112 m_d->ui_display.widget_drawOptions->setPointSizes(2.5);
113 m_d->ui_display.widget_drawOptions->setComplexityDisabled();
114
115 m_d->ui_cuts.etaPhiCutWidget->setEtaCutEnabled(false);
116
117 m_d->ui_display.matButton_trtht->setMaterial(VP1MaterialButton::createMaterial(1.0,0.0,0.0));
118 m_d->ui_display.matButton_bcmhighatt->setMaterial(VP1MaterialButton::createMaterial(1.0,0.0,0.0));
119
120
122 // Setup connections which monitor changes in the controller so that we may emit signals as appropriate: //
124
125 // -> cutAllowedEta:
127 connectToLastUpdateSlot(m_d->ui_cuts.etaPhiCutWidget,SIGNAL(allowedEtaChanged(const VP1Interval&)));
128
129 // -> cutAllowedPhi:
131 connectToLastUpdateSlot(m_d->ui_cuts.etaPhiCutWidget,SIGNAL(allowedPhiChanged(const QList<VP1Interval>&)));
132
133 // -> showVolumeOutLines
135 connectToLastUpdateSlot(m_d->ui_display.checkBox_showVolumeOutLines);
136
137 // -> useSpecialTRTHTMaterial
139 connectToLastUpdateSlot(m_d->ui_display.checkBox_trtHTUseSpecialMat);
140
141 // -> useSpecialBCMHighAttMaterial
143 connectToLastUpdateSlot(m_d->ui_display.checkBox_bcmHighAttUseSpecialMat);
144
145 // -> enabledInDetParts
147 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_barrelA);
148 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_barrelC);
149 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_endcapA);
150 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_cut_indet_endcapC);
151
152 // -> trtRequireHT
154 connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_needHT);
155
156 // -> trtAllowedToT
158 connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_TotMin);
159 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
160 connectToLastUpdateSlot(m_d->ui_cuts.checkbox_cut_trt_TotMax);
161 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
162
163 // -> lucidMinQDC
165 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_lucid_qdc_min);
166
168 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mdtAllowedADCMin);
169 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mdtAllowedADCMin);
170 connect(m_d->ui_cuts.checkBox_mdtAllowedADCMin, &QCheckBox::toggled,
171 m_d->ui_cuts.spinBox_mdtAllowedADCMin, &QDoubleSpinBox::setEnabled);
172 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mdtAllowedADCMax);
173 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mdtAllowedADCMax);
174 connect(m_d->ui_cuts.checkBox_mdtAllowedADCMax, &QCheckBox::toggled,
175 m_d->ui_cuts.spinBox_mdtAllowedADCMax, &QDoubleSpinBox::setEnabled);
177 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mdtAllowedTDCMin);
178 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mdtAllowedTDCMin);
179 connect(m_d->ui_cuts.checkBox_mdtAllowedTDCMin, &QCheckBox::toggled,
180 m_d->ui_cuts.spinBox_mdtAllowedTDCMin, &QDoubleSpinBox::setEnabled);
181 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mdtAllowedTDCMax);
182 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mdtAllowedTDCMax);
183 connect(m_d->ui_cuts.checkBox_mdtAllowedTDCMax, &QCheckBox::toggled,
184 m_d->ui_cuts.spinBox_mdtAllowedTDCMax, &QDoubleSpinBox::setEnabled);
186 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mmAllowedChargeMin);
187 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mmAllowedChargeMin);
188 connect(m_d->ui_cuts.checkBox_mmAllowedChargeMin, &QCheckBox::toggled,
189 m_d->ui_cuts.spinBox_mmAllowedChargeMin, &QDoubleSpinBox::setEnabled);
190 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mmAllowedChargeMax);
191 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mmAllowedChargeMax);
192 connect(m_d->ui_cuts.checkBox_mmAllowedChargeMax, &QCheckBox::toggled,
193 m_d->ui_cuts.spinBox_mmAllowedChargeMax, &QDoubleSpinBox::setEnabled);
195 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mmAllowedTimeMin);
196 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mmAllowedTimeMin);
197 connect(m_d->ui_cuts.checkBox_mmAllowedTimeMin, &QCheckBox::toggled,
198 m_d->ui_cuts.spinBox_mmAllowedTimeMin, &QDoubleSpinBox::setEnabled);
199 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mmAllowedTimeMax);
200 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_mmAllowedTimeMax);
201 connect(m_d->ui_cuts.checkBox_mmAllowedTimeMax, &QCheckBox::toggled,
202 m_d->ui_cuts.spinBox_mmAllowedTimeMax, &QDoubleSpinBox::setEnabled);
204 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcAllowedChargeMin);
205 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_stgcAllowedChargeMin);
206 connect(m_d->ui_cuts.checkBox_stgcAllowedChargeMin, &QCheckBox::toggled,
207 m_d->ui_cuts.spinBox_stgcAllowedChargeMin, &QDoubleSpinBox::setEnabled);
208 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcAllowedChargeMax);
209 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_stgcAllowedChargeMax);
210 connect(m_d->ui_cuts.checkBox_stgcAllowedChargeMax, &QCheckBox::toggled,
211 m_d->ui_cuts.spinBox_stgcAllowedChargeMax, &QDoubleSpinBox::setEnabled);
213 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcAllowedTimeMin);
214 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_stgcAllowedTimeMin);
215 connect(m_d->ui_cuts.checkBox_stgcAllowedTimeMin, &QCheckBox::toggled,
216 m_d->ui_cuts.spinBox_stgcAllowedTimeMin, &QDoubleSpinBox::setEnabled);
217 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcAllowedTimeMax);
218 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_stgcAllowedTimeMax);
219 connect(m_d->ui_cuts.checkBox_stgcAllowedTimeMax, &QCheckBox::toggled,
220 m_d->ui_cuts.spinBox_stgcAllowedTimeMax, &QDoubleSpinBox::setEnabled);
221
223 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_mdtExcludeMasked);
224
226 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcShowEta);
228 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcShowPhi);
230 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcShowPrimarySide);
232 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcShowOppositeSide);
234 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcKeepMissingToT);
236 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcAllowedTimeMin);
237 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_rpcAllowedTimeMin);
238 connect(m_d->ui_cuts.checkBox_rpcAllowedTimeMin, &QCheckBox::toggled,
239 m_d->ui_cuts.spinBox_rpcAllowedTimeMin, &QDoubleSpinBox::setEnabled);
240 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcAllowedTimeMax);
241 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_rpcAllowedTimeMax);
242 connect(m_d->ui_cuts.checkBox_rpcAllowedTimeMax, &QCheckBox::toggled,
243 m_d->ui_cuts.spinBox_rpcAllowedTimeMax, &QDoubleSpinBox::setEnabled);
245 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcAllowedToTMin);
246 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_rpcAllowedToTMin);
247 connect(m_d->ui_cuts.checkBox_rpcAllowedToTMin, &QCheckBox::toggled,
248 m_d->ui_cuts.spinBox_rpcAllowedToTMin, &QDoubleSpinBox::setEnabled);
249 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_rpcAllowedToTMax);
250 connectToLastUpdateSlot(m_d->ui_cuts.spinBox_rpcAllowedToTMax);
251 connect(m_d->ui_cuts.checkBox_rpcAllowedToTMax, &QCheckBox::toggled,
252 m_d->ui_cuts.spinBox_rpcAllowedToTMax, &QDoubleSpinBox::setEnabled);
253
255 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowStrips);
257 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowWires);
259 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowPrevious);
261 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowCurrent);
263 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowNext);
265 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowNextNext);
267 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowUndefined);
269 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_tgcShowUnknown);
271 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcShowPads);
273 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcShowStrips);
275 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcShowWires);
277 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcExcludeDead);
279 connectToLastUpdateSlot(m_d->ui_cuts.checkBox_stgcExcludePileup);
280
281 initLastVars();
282}
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
void connectToLastUpdateSlot(QObject *sender, const char *signal)
void setupCollWidgetInScrollArea(QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
const char * addUpdateSlot(const char *slot)
VP1Controller(IVP1System *sys, const QString &classname)
static SoMaterial * createMaterial(const QColor &, const double &brightness=0.0, const double &transp=0.0)
void possibleChange_stgcExcludeDead()
void possibleChange_tgcShowPrevious()
void possibleChange_mdtExcludeMasked()
void possibleChange_rpcShowPrimarySide()
void possibleChange_tgcShowNextNext()
void possibleChange_rpcAllowedTime()
void possibleChange_stgcShowStrips()
void possibleChange_rpcShowOppositeSide()
void possibleChange_stgcExcludePileup()
void possibleChange_mmAllowedCharge()
void possibleChange_useSpecialTRTHTMaterial()
void possibleChange_rpcKeepMissingToT()
void possibleChange_tgcShowUndefined()
void possibleChange_useSpecialBCMHighAttMaterial()
void possibleChange_stgcAllowedCharge()
void possibleChange_enabledInDetParts()
void possibleChange_tgcShowUnknown()
void possibleChange_tgcShowCurrent()
void possibleChange_showVolumeOutLines()
void possibleChange_stgcAllowedTime()

◆ ~VP1RawDataSysController()

VP1RawDataSysController::~VP1RawDataSysController ( )
virtual

Definition at line 285 of file VP1RawDataSysController.cxx.

286{
287 delete m_d;
288}

Member Function Documentation

◆ actualRestoreSettings()

void VP1RawDataSysController::actualRestoreSettings ( VP1Deserialise & s)
virtual

Implements VP1Controller.

Definition at line 382 of file VP1RawDataSysController.cxx.

383{
384 if (s.version()<0||s.version()>6) {
385 message("Warning: State data in .vp1 file has unsupported version ("+str(s.version())+")");
386 return;
387 }
388 s.restore(m_d->ui_cuts.etaPhiCutWidget);
389 s.restore(m_d->ui_cuts.checkBox_cut_indet_barrelA);
390 s.restore(m_d->ui_cuts.checkBox_cut_indet_barrelC);
391 s.restore(m_d->ui_cuts.checkBox_cut_indet_endcapA);
392 s.restore(m_d->ui_cuts.checkBox_cut_indet_endcapC);
393 s.restore(m_d->ui_cuts.checkbox_cut_trt_needHT);
394 s.restore(m_d->ui_cuts.checkbox_cut_trt_TotMin);
395 s.restore(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
396 s.restore(m_d->ui_cuts.checkbox_cut_trt_TotMax);
397 s.restore(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
398 s.restore(m_d->ui_display.checkBox_showVolumeOutLines);
399 s.restore(m_d->ui_display.widget_drawOptions);
400 s.restore(m_d->ui_display.checkBox_trtHTUseSpecialMat);
401 s.restore(m_d->ui_display.checkBox_bcmHighAttUseSpecialMat);
402 s.restore(m_d->ui_display.matButton_trtht);
403 s.restore(m_d->ui_display.matButton_bcmhighatt);
404 s.restore(m_d->ui_int.checkBox_printinfo);
405 s.restore(m_d->ui_int.checkBox_printinfo_verbose);
406 s.restore(m_d->ui_int.checkBox_zoom);
407 if (s.version()>=1)
408 s.restore(m_d->ui_cuts.spinBox_lucid_qdc_min);
409 if (s.version() >= 2) {
410 s.restore(m_d->ui_cuts.checkBox_mdtAllowedADCMin);
411 s.restore(m_d->ui_cuts.spinBox_mdtAllowedADCMin);
412 s.restore(m_d->ui_cuts.checkBox_mdtAllowedADCMax);
413 s.restore(m_d->ui_cuts.spinBox_mdtAllowedADCMax);
414 s.restore(m_d->ui_cuts.checkBox_mdtAllowedTDCMin);
415 s.restore(m_d->ui_cuts.spinBox_mdtAllowedTDCMin);
416 s.restore(m_d->ui_cuts.checkBox_mdtAllowedTDCMax);
417 s.restore(m_d->ui_cuts.spinBox_mdtAllowedTDCMax);
418 s.restore(m_d->ui_cuts.checkBox_mmAllowedChargeMin);
419 s.restore(m_d->ui_cuts.spinBox_mmAllowedChargeMin);
420 s.restore(m_d->ui_cuts.checkBox_mmAllowedChargeMax);
421 s.restore(m_d->ui_cuts.spinBox_mmAllowedChargeMax);
422 s.restore(m_d->ui_cuts.checkBox_mmAllowedTimeMin);
423 s.restore(m_d->ui_cuts.spinBox_mmAllowedTimeMin);
424 s.restore(m_d->ui_cuts.checkBox_mmAllowedTimeMax);
425 s.restore(m_d->ui_cuts.spinBox_mmAllowedTimeMax);
426 s.restore(m_d->ui_cuts.checkBox_stgcAllowedChargeMin);
427 s.restore(m_d->ui_cuts.spinBox_stgcAllowedChargeMin);
428 s.restore(m_d->ui_cuts.checkBox_stgcAllowedChargeMax);
429 s.restore(m_d->ui_cuts.spinBox_stgcAllowedChargeMax);
430 s.restore(m_d->ui_cuts.checkBox_stgcAllowedTimeMin);
431 s.restore(m_d->ui_cuts.spinBox_stgcAllowedTimeMin);
432 s.restore(m_d->ui_cuts.checkBox_stgcAllowedTimeMax);
433 s.restore(m_d->ui_cuts.spinBox_stgcAllowedTimeMax);
434 } else {
435 // Old settings must also clear any cuts active in this session.
436 m_d->ui_cuts.checkBox_mdtAllowedADCMin->setChecked(false);
437 m_d->ui_cuts.checkBox_mdtAllowedADCMax->setChecked(false);
438 m_d->ui_cuts.checkBox_mdtAllowedTDCMin->setChecked(false);
439 m_d->ui_cuts.checkBox_mdtAllowedTDCMax->setChecked(false);
440 m_d->ui_cuts.checkBox_mmAllowedChargeMin->setChecked(false);
441 m_d->ui_cuts.checkBox_mmAllowedChargeMax->setChecked(false);
442 m_d->ui_cuts.checkBox_mmAllowedTimeMin->setChecked(false);
443 m_d->ui_cuts.checkBox_mmAllowedTimeMax->setChecked(false);
444 m_d->ui_cuts.checkBox_stgcAllowedChargeMin->setChecked(false);
445 m_d->ui_cuts.checkBox_stgcAllowedChargeMax->setChecked(false);
446 m_d->ui_cuts.checkBox_stgcAllowedTimeMin->setChecked(false);
447 m_d->ui_cuts.checkBox_stgcAllowedTimeMax->setChecked(false);
448 }
449 if (s.version() >= 3)
450 s.restore(m_d->ui_cuts.checkBox_mdtExcludeMasked);
451 else
452 m_d->ui_cuts.checkBox_mdtExcludeMasked->setChecked(false);
453
454 if (s.version() >= 4) {
455 s.restore(m_d->ui_cuts.checkBox_stgcShowPads);
456 s.restore(m_d->ui_cuts.checkBox_stgcShowStrips);
457 s.restore(m_d->ui_cuts.checkBox_stgcShowWires);
458 s.restore(m_d->ui_cuts.checkBox_stgcExcludeDead);
459 s.restore(m_d->ui_cuts.checkBox_stgcExcludePileup);
460 } else {
461 m_d->ui_cuts.checkBox_stgcShowPads->setChecked(true);
462 m_d->ui_cuts.checkBox_stgcShowStrips->setChecked(true);
463 m_d->ui_cuts.checkBox_stgcShowWires->setChecked(true);
464 m_d->ui_cuts.checkBox_stgcExcludeDead->setChecked(false);
465 m_d->ui_cuts.checkBox_stgcExcludePileup->setChecked(false);
466 }
467
468 if (s.version() >= 5) {
469 s.restore(m_d->ui_cuts.checkBox_tgcShowStrips);
470 s.restore(m_d->ui_cuts.checkBox_tgcShowWires);
471 s.restore(m_d->ui_cuts.checkBox_tgcShowPrevious);
472 s.restore(m_d->ui_cuts.checkBox_tgcShowCurrent);
473 s.restore(m_d->ui_cuts.checkBox_tgcShowNext);
474 s.restore(m_d->ui_cuts.checkBox_tgcShowNextNext);
475 s.restore(m_d->ui_cuts.checkBox_tgcShowUndefined);
476 s.restore(m_d->ui_cuts.checkBox_tgcShowUnknown);
477 } else {
478 m_d->ui_cuts.checkBox_tgcShowStrips->setChecked(true);
479 m_d->ui_cuts.checkBox_tgcShowWires->setChecked(true);
480 m_d->ui_cuts.checkBox_tgcShowPrevious->setChecked(true);
481 m_d->ui_cuts.checkBox_tgcShowCurrent->setChecked(true);
482 m_d->ui_cuts.checkBox_tgcShowNext->setChecked(true);
483 m_d->ui_cuts.checkBox_tgcShowNextNext->setChecked(true);
484 m_d->ui_cuts.checkBox_tgcShowUndefined->setChecked(true);
485 m_d->ui_cuts.checkBox_tgcShowUnknown->setChecked(true);
486 }
487
488 if (s.version() >= 6) {
489 s.restore(m_d->ui_cuts.checkBox_rpcShowEta);
490 s.restore(m_d->ui_cuts.checkBox_rpcShowPhi);
491 s.restore(m_d->ui_cuts.checkBox_rpcShowPrimarySide);
492 s.restore(m_d->ui_cuts.checkBox_rpcShowOppositeSide);
493 s.restore(m_d->ui_cuts.checkBox_rpcKeepMissingToT);
494 s.restore(m_d->ui_cuts.checkBox_rpcAllowedTimeMin);
495 s.restore(m_d->ui_cuts.spinBox_rpcAllowedTimeMin);
496 s.restore(m_d->ui_cuts.checkBox_rpcAllowedTimeMax);
497 s.restore(m_d->ui_cuts.spinBox_rpcAllowedTimeMax);
498 s.restore(m_d->ui_cuts.checkBox_rpcAllowedToTMin);
499 s.restore(m_d->ui_cuts.spinBox_rpcAllowedToTMin);
500 s.restore(m_d->ui_cuts.checkBox_rpcAllowedToTMax);
501 s.restore(m_d->ui_cuts.spinBox_rpcAllowedToTMax);
502 } else {
503 m_d->ui_cuts.checkBox_rpcShowEta->setChecked(true);
504 m_d->ui_cuts.checkBox_rpcShowPhi->setChecked(true);
505 m_d->ui_cuts.checkBox_rpcShowPrimarySide->setChecked(true);
506 m_d->ui_cuts.checkBox_rpcShowOppositeSide->setChecked(true);
507 m_d->ui_cuts.checkBox_rpcKeepMissingToT->setChecked(true);
508 m_d->ui_cuts.checkBox_rpcAllowedTimeMin->setChecked(false);
509 m_d->ui_cuts.checkBox_rpcAllowedTimeMax->setChecked(false);
510 m_d->ui_cuts.checkBox_rpcAllowedToTMin->setChecked(false);
511 m_d->ui_cuts.checkBox_rpcAllowedToTMax->setChecked(false);
512 }
513
514 // Deserialisation blocks checkbox signals, so synchronize the fields explicitly.
515 m_d->ui_cuts.spinBox_rpcAllowedTimeMin->setEnabled(m_d->ui_cuts.checkBox_rpcAllowedTimeMin->isChecked());
516 m_d->ui_cuts.spinBox_rpcAllowedTimeMax->setEnabled(m_d->ui_cuts.checkBox_rpcAllowedTimeMax->isChecked());
517 m_d->ui_cuts.spinBox_rpcAllowedToTMin->setEnabled(m_d->ui_cuts.checkBox_rpcAllowedToTMin->isChecked());
518 m_d->ui_cuts.spinBox_rpcAllowedToTMax->setEnabled(m_d->ui_cuts.checkBox_rpcAllowedToTMax->isChecked());
519 m_d->ui_cuts.spinBox_mdtAllowedADCMin->setEnabled(m_d->ui_cuts.checkBox_mdtAllowedADCMin->isChecked());
520 m_d->ui_cuts.spinBox_mdtAllowedADCMax->setEnabled(m_d->ui_cuts.checkBox_mdtAllowedADCMax->isChecked());
521 m_d->ui_cuts.spinBox_mdtAllowedTDCMin->setEnabled(m_d->ui_cuts.checkBox_mdtAllowedTDCMin->isChecked());
522 m_d->ui_cuts.spinBox_mdtAllowedTDCMax->setEnabled(m_d->ui_cuts.checkBox_mdtAllowedTDCMax->isChecked());
523 m_d->ui_cuts.spinBox_mmAllowedChargeMin->setEnabled(m_d->ui_cuts.checkBox_mmAllowedChargeMin->isChecked());
524 m_d->ui_cuts.spinBox_mmAllowedChargeMax->setEnabled(m_d->ui_cuts.checkBox_mmAllowedChargeMax->isChecked());
525 m_d->ui_cuts.spinBox_mmAllowedTimeMin->setEnabled(m_d->ui_cuts.checkBox_mmAllowedTimeMin->isChecked());
526 m_d->ui_cuts.spinBox_mmAllowedTimeMax->setEnabled(m_d->ui_cuts.checkBox_mmAllowedTimeMax->isChecked());
527 m_d->ui_cuts.spinBox_stgcAllowedChargeMin->setEnabled(m_d->ui_cuts.checkBox_stgcAllowedChargeMin->isChecked());
528 m_d->ui_cuts.spinBox_stgcAllowedChargeMax->setEnabled(m_d->ui_cuts.checkBox_stgcAllowedChargeMax->isChecked());
529 m_d->ui_cuts.spinBox_stgcAllowedTimeMin->setEnabled(m_d->ui_cuts.checkBox_stgcAllowedTimeMin->isChecked());
530 m_d->ui_cuts.spinBox_stgcAllowedTimeMax->setEnabled(m_d->ui_cuts.checkBox_stgcAllowedTimeMax->isChecked());
531
532}
void message(const QString &) const
static QString str(const QString &s)
Definition VP1String.h:49

◆ actualSaveSettings()

void VP1RawDataSysController::actualSaveSettings ( VP1Serialise & s) const
virtual

Implements VP1Controller.

Definition at line 298 of file VP1RawDataSysController.cxx.

299{
300 s.save(m_d->ui_cuts.etaPhiCutWidget);
301 s.save(m_d->ui_cuts.checkBox_cut_indet_barrelA);
302 s.save(m_d->ui_cuts.checkBox_cut_indet_barrelC);
303 s.save(m_d->ui_cuts.checkBox_cut_indet_endcapA);
304 s.save(m_d->ui_cuts.checkBox_cut_indet_endcapC);
305 s.save(m_d->ui_cuts.checkbox_cut_trt_needHT);
306 s.save(m_d->ui_cuts.checkbox_cut_trt_TotMin);
307 s.save(m_d->ui_cuts.spinBox_cut_trt_ToTMin);
308 s.save(m_d->ui_cuts.checkbox_cut_trt_TotMax);
309 s.save(m_d->ui_cuts.spinBox_cut_trt_ToTMax);
310 s.save(m_d->ui_display.checkBox_showVolumeOutLines);
311 s.save(m_d->ui_display.widget_drawOptions);
312 s.save(m_d->ui_display.checkBox_trtHTUseSpecialMat);
313 s.save(m_d->ui_display.checkBox_bcmHighAttUseSpecialMat);
314 s.save(m_d->ui_display.matButton_trtht);
315 s.save(m_d->ui_display.matButton_bcmhighatt);
316 s.save(m_d->ui_int.checkBox_printinfo);
317 s.save(m_d->ui_int.checkBox_printinfo_verbose);
318 s.save(m_d->ui_int.checkBox_zoom);
319 s.save(m_d->ui_cuts.spinBox_lucid_qdc_min);//Version 1+
320 // Version 2: muon digit ranges.
321 s.save(m_d->ui_cuts.checkBox_mdtAllowedADCMin);
322 s.save(m_d->ui_cuts.spinBox_mdtAllowedADCMin);
323 s.save(m_d->ui_cuts.checkBox_mdtAllowedADCMax);
324 s.save(m_d->ui_cuts.spinBox_mdtAllowedADCMax);
325 s.save(m_d->ui_cuts.checkBox_mdtAllowedTDCMin);
326 s.save(m_d->ui_cuts.spinBox_mdtAllowedTDCMin);
327 s.save(m_d->ui_cuts.checkBox_mdtAllowedTDCMax);
328 s.save(m_d->ui_cuts.spinBox_mdtAllowedTDCMax);
329 s.save(m_d->ui_cuts.checkBox_mmAllowedChargeMin);
330 s.save(m_d->ui_cuts.spinBox_mmAllowedChargeMin);
331 s.save(m_d->ui_cuts.checkBox_mmAllowedChargeMax);
332 s.save(m_d->ui_cuts.spinBox_mmAllowedChargeMax);
333 s.save(m_d->ui_cuts.checkBox_mmAllowedTimeMin);
334 s.save(m_d->ui_cuts.spinBox_mmAllowedTimeMin);
335 s.save(m_d->ui_cuts.checkBox_mmAllowedTimeMax);
336 s.save(m_d->ui_cuts.spinBox_mmAllowedTimeMax);
337 s.save(m_d->ui_cuts.checkBox_stgcAllowedChargeMin);
338 s.save(m_d->ui_cuts.spinBox_stgcAllowedChargeMin);
339 s.save(m_d->ui_cuts.checkBox_stgcAllowedChargeMax);
340 s.save(m_d->ui_cuts.spinBox_stgcAllowedChargeMax);
341 s.save(m_d->ui_cuts.checkBox_stgcAllowedTimeMin);
342 s.save(m_d->ui_cuts.spinBox_stgcAllowedTimeMin);
343 s.save(m_d->ui_cuts.checkBox_stgcAllowedTimeMax);
344 s.save(m_d->ui_cuts.spinBox_stgcAllowedTimeMax);
345 s.save(m_d->ui_cuts.checkBox_mdtExcludeMasked);//Version 3+
346 // Version 4: sTGC channel types and status.
347 s.save(m_d->ui_cuts.checkBox_stgcShowPads);
348 s.save(m_d->ui_cuts.checkBox_stgcShowStrips);
349 s.save(m_d->ui_cuts.checkBox_stgcShowWires);
350 s.save(m_d->ui_cuts.checkBox_stgcExcludeDead);
351 s.save(m_d->ui_cuts.checkBox_stgcExcludePileup);
352 // Version 5: TGC channel types and bunch crossings.
353 s.save(m_d->ui_cuts.checkBox_tgcShowStrips);
354 s.save(m_d->ui_cuts.checkBox_tgcShowWires);
355 s.save(m_d->ui_cuts.checkBox_tgcShowPrevious);
356 s.save(m_d->ui_cuts.checkBox_tgcShowCurrent);
357 s.save(m_d->ui_cuts.checkBox_tgcShowNext);
358 s.save(m_d->ui_cuts.checkBox_tgcShowNextNext);
359 s.save(m_d->ui_cuts.checkBox_tgcShowUndefined);
360 s.save(m_d->ui_cuts.checkBox_tgcShowUnknown);
361 // Version 6: RPC view, side, time and optional ToT selections.
362 s.save(m_d->ui_cuts.checkBox_rpcShowEta);
363 s.save(m_d->ui_cuts.checkBox_rpcShowPhi);
364 s.save(m_d->ui_cuts.checkBox_rpcShowPrimarySide);
365 s.save(m_d->ui_cuts.checkBox_rpcShowOppositeSide);
366 s.save(m_d->ui_cuts.checkBox_rpcKeepMissingToT);
367 s.save(m_d->ui_cuts.checkBox_rpcAllowedTimeMin);
368 s.save(m_d->ui_cuts.spinBox_rpcAllowedTimeMin);
369 s.save(m_d->ui_cuts.checkBox_rpcAllowedTimeMax);
370 s.save(m_d->ui_cuts.spinBox_rpcAllowedTimeMax);
371 s.save(m_d->ui_cuts.checkBox_rpcAllowedToTMin);
372 s.save(m_d->ui_cuts.spinBox_rpcAllowedToTMin);
373 s.save(m_d->ui_cuts.checkBox_rpcAllowedToTMax);
374 s.save(m_d->ui_cuts.spinBox_rpcAllowedToTMax);
375
376
377
378
379}

◆ addUpdateSlot()

const char * VP1Controller::addUpdateSlot ( const char * slot)
protectedinherited

Definition at line 320 of file VP1Controller.cxx.

321{
322 messageVerbose("Adding update slot: "+QString(slot));
323 connect(this,SIGNAL(dummyUpdateTrigger()),this,slot);
324 m_d->lastUpdateSlot = slot;
325 return slot;
326}
void dummyUpdateTrigger()
void messageVerbose(const QString &) const

◆ bcmHighAttMaterial()

SoMaterial * VP1RawDataSysController::bcmHighAttMaterial ( ) const

Definition at line 623 of file VP1RawDataSysController.cxx.

624{
625 return getMaterial(m_d->ui_display.matButton_bcmhighatt);
626}
SoMaterial * getMaterial(VP1MaterialButton *) const

◆ changed()

template<class T>
bool VP1Controller::changed ( T & lastval,
const T & newval )
protectedinherited

Definition at line 152 of file VP1Controller.h.

153{
154 if (initVarsMode()) {
155 lastval=newval;
156 return false;
157 }
158 if (lastval==newval)
159 return false;
160 lastval = newval;
161 return true;
162}
bool initVarsMode() const

◆ collWidget()

VP1CollectionWidget * VP1RawDataSysController::collWidget ( ) const

Definition at line 535 of file VP1RawDataSysController.cxx.

536{
537 return m_d->collWidget;
538}

◆ collWidgetContentChanged

void VP1Controller::collWidgetContentChanged ( )
slotinherited

Definition at line 234 of file VP1Controller.cxx.

235{
236 if (sender()!=m_d->collWidget||!m_d->collWidget) {
237 message("ERROR: Unexpected signal in collWidgetContentChanged slot!!");
238 return;
239 }
240 QScrollArea* scrollarea = dynamic_cast<QScrollArea*>(m_d->collWidget->parent());
241 if (!scrollarea&&m_d->collWidget->parent())
242 scrollarea = dynamic_cast<QScrollArea*>(m_d->collWidget->parent()->parent());
243 if (!scrollarea) {
244 message("ERROR: m_d->collWidget not child or grandchild of a scroll area!!");
245 return;
246 }
247 int width = m_d->collWidget->appropriateFixedWidth();
248 m_d->collWidget->setMinimumWidth(width);
249 m_d->collWidget->setMaximumWidth(width);
250 QScrollBar * sb = scrollarea->verticalScrollBar();
251 if (sb)
252 width+=sb->sizeHint().width();
253 scrollarea->setMinimumWidth(width+2);//2 is just some margin
254}
const double width

◆ connectToLastUpdateSlot() [1/10]

void VP1Controller::connectToLastUpdateSlot ( QButtonGroup * bg)
protectedinherited

Definition at line 371 of file VP1Controller.cxx.

372{
373 connectToLastUpdateSlot(bg,SIGNAL(buttonClicked(int)));
374}

◆ connectToLastUpdateSlot() [2/10]

void VP1Controller::connectToLastUpdateSlot ( QCheckBox * cb)
protectedinherited

Definition at line 335 of file VP1Controller.cxx.

336{
337 connectToLastUpdateSlot(cb,SIGNAL(toggled(bool)));
338}

◆ connectToLastUpdateSlot() [3/10]

void VP1Controller::connectToLastUpdateSlot ( QComboBox * cb)
protectedinherited

Definition at line 341 of file VP1Controller.cxx.

342{
343 connectToLastUpdateSlot(cb,SIGNAL(currentIndexChanged(int)));
344}

◆ connectToLastUpdateSlot() [4/10]

void VP1Controller::connectToLastUpdateSlot ( QDoubleSpinBox * dsb)
protectedinherited

Definition at line 359 of file VP1Controller.cxx.

360{
361 connectToLastUpdateSlot(dsb,SIGNAL(valueChanged(double)));
362}

◆ connectToLastUpdateSlot() [5/10]

void VP1Controller::connectToLastUpdateSlot ( QGroupBox * gb)
protectedinherited

Definition at line 347 of file VP1Controller.cxx.

348{
349 connectToLastUpdateSlot(gb,SIGNAL(toggled(bool)));
350}

◆ connectToLastUpdateSlot() [6/10]

void VP1Controller::connectToLastUpdateSlot ( QObject * sender,
const char * signal )
protectedinherited

Definition at line 329 of file VP1Controller.cxx.

330{
331 connect(sender,signal,this,m_d->lastUpdateSlot);
332}

◆ connectToLastUpdateSlot() [7/10]

void VP1Controller::connectToLastUpdateSlot ( QRadioButton * rb)
protectedinherited

Definition at line 365 of file VP1Controller.cxx.

366{
367 connectToLastUpdateSlot(rb,SIGNAL(toggled(bool)));
368}

◆ connectToLastUpdateSlot() [8/10]

void VP1Controller::connectToLastUpdateSlot ( QSlider * s)
protectedinherited

Definition at line 377 of file VP1Controller.cxx.

378{
379 connectToLastUpdateSlot(s,SIGNAL(valueChanged(int)));
380}

◆ connectToLastUpdateSlot() [9/10]

void VP1Controller::connectToLastUpdateSlot ( QSpinBox * sb)
protectedinherited

Definition at line 353 of file VP1Controller.cxx.

354{
355 connectToLastUpdateSlot(sb,SIGNAL(valueChanged(int)));
356}

◆ connectToLastUpdateSlot() [10/10]

void VP1Controller::connectToLastUpdateSlot ( VP1ColorSelectButton * csb)
protectedinherited

Definition at line 383 of file VP1Controller.cxx.

384{
385 connectToLastUpdateSlot(csb,SIGNAL(colorChanged(const QColor&)));
386}

◆ currentSettingsVersion()

int VP1RawDataSysController::currentSettingsVersion ( ) const
virtual

Implements VP1Controller.

Definition at line 292 of file VP1RawDataSysController.cxx.

293{
294 return 6;
295}

◆ customTourEditor()

VP1CustomTourEditor * VP1Controller::customTourEditor ( )
inlinestaticinherited

Definition at line 62 of file VP1Controller.h.

62{return m_customTourEditor;}
static VP1CustomTourEditor * m_customTourEditor

◆ cutAllowedEta()

VP1Interval VP1RawDataSysController::cutAllowedEta ( ) const

Definition at line 552 of file VP1RawDataSysController.cxx.

553{
554 return m_d->ui_cuts.etaPhiCutWidget->allowedEta();
555}

◆ cutAllowedEtaChanged

void VP1RawDataSysController::cutAllowedEtaChanged ( const VP1Interval & )
signal

◆ cutAllowedPhi()

QList< VP1Interval > VP1RawDataSysController::cutAllowedPhi ( ) const

Definition at line 558 of file VP1RawDataSysController.cxx.

559{
560 return m_d->ui_cuts.etaPhiCutWidget->allowedPhi();
561}

◆ cutAllowedPhiChanged

void VP1RawDataSysController::cutAllowedPhiChanged ( const QList< VP1Interval > & )
signal

◆ defineRadioButtonGroup() [1/2]

QButtonGroup * VP1Controller::defineRadioButtonGroup ( const QList< QRadioButton * > & l)
protectedinherited

Definition at line 302 of file VP1Controller.cxx.

303{
304 QRadioButton * rb_checked(0);
305 for (QRadioButton *rb : l) {
306 if (rb->isChecked()) {
307 rb_checked = rb;
308 break;
309 }
310 }
311 QButtonGroup * radiogroup = new QButtonGroup(this);
312 for (QRadioButton *rb : l)
313 radiogroup->addButton(rb);
314 if (rb_checked)
315 rb_checked->setChecked(true);
316 return radiogroup;
317}

◆ defineRadioButtonGroup() [2/2]

QButtonGroup * VP1Controller::defineRadioButtonGroup ( QRadioButton * rb0,
QRadioButton * rb1,
QRadioButton * rb2 = 0,
QRadioButton * rb3 = 0,
QRadioButton * rb4 = 0,
QRadioButton * rb5 = 0,
QRadioButton * rb6 = 0,
QRadioButton * rb7 = 0,
QRadioButton * rb8 = 0,
QRadioButton * rb9 = 0 )
protectedinherited

Definition at line 290 of file VP1Controller.cxx.

294{
295 QList<QRadioButton *> l;
296 l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
297 l.removeAll(0);
298 return defineRadioButtonGroup(l);
299}
QButtonGroup * defineRadioButtonGroup(QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0)
l
Printing final latex table to .tex output file.

◆ drawOptions()

SoGroup * VP1RawDataSysController::drawOptions ( ) const

Definition at line 541 of file VP1RawDataSysController.cxx.

542{
543 return m_d->ui_display.widget_drawOptions->drawOptionsGroup();
544}

◆ dummyUpdateTrigger

void VP1Controller::dummyUpdateTrigger ( )
signalinherited

◆ enabledButtonStateChanged

void VP1Controller::enabledButtonStateChanged ( )
slotinherited

Definition at line 169 of file VP1Controller.cxx.

170{
171 Imp::DialogInfo * di(0);
172 for (Imp::DialogInfo* di2 : m_d->dialogs) {
173 if (di2->enabledButton==sender()) {
174 di = di2;
175 break;
176 }
177 }
178 if (!di) {
179 message("ERROR: enabledButtonStateChanged() triggered with unrecognised sender() ="
180 +QString(sender()?sender()->objectName():"NULL"));
181 return;
182 }
183
184 bool on(di->enabledButton->isChecked());
185 if (di->launchButton->isEnabled()!=on)
186 di->launchButton->setEnabled(on);
187 if (!on) {
188 if (di->dialogWidget->isVisible())
189 di->dialogWidget->setVisible(false);
190 if (di->dialogWidget->windowState()==Qt::WindowMinimized)
191 di->dialogWidget->setWindowState(Qt::WindowNoState);
192 }
193}

◆ enabledInDetParts()

VP1RawDataFlags::InDetPartsFlags VP1RawDataSysController::enabledInDetParts ( ) const

Definition at line 582 of file VP1RawDataSysController.cxx.

583{
584 VP1RawDataFlags::InDetPartsFlags f;
585 if (m_d->ui_cuts.checkBox_cut_indet_barrelA->isChecked())
587 if (m_d->ui_cuts.checkBox_cut_indet_barrelC->isChecked())
589 if (m_d->ui_cuts.checkBox_cut_indet_endcapA->isChecked())
591 if (m_d->ui_cuts.checkBox_cut_indet_endcapC->isChecked())
593 return f;
594}

◆ enabledInDetPartsChanged

void VP1RawDataSysController::enabledInDetPartsChanged ( VP1RawDataFlags::InDetPartsFlags )
signal

◆ fallBackMaterial()

SoMaterial * VP1Controller::fallBackMaterial ( ) const
protectedinherited

Definition at line 429 of file VP1Controller.cxx.

430{
431 if (!m_d->fallBackMaterial) {
432 m_d->fallBackMaterial = new SoMaterial;
433 m_d->fallBackMaterial->ref();
434 }
435 return m_d->fallBackMaterial;
436}

◆ getMaterial()

SoMaterial * VP1Controller::getMaterial ( VP1MaterialButton * mb) const
protectedinherited

Definition at line 439 of file VP1Controller.cxx.

440{
441 if (!mb) {
442 message("ERROR: Null material button pointer");
443 return fallBackMaterial();
444 }
445 QList<SoMaterial*> mats = mb->handledMaterials();
446 if (mats.count()!=1) {
447 message("ERROR: No material in button "+mb->objectName());
448 return fallBackMaterial();
449 }
450 return mats.at(0);
451
452
453}
SoMaterial * fallBackMaterial() const

◆ helperClassName()

const QString & VP1HelperClassBase::helperClassName ( ) const
inlineinherited

Definition at line 51 of file VP1HelperClassBase.h.

51{ return m_helpername; }

◆ initDialog() [1/2]

void VP1Controller::initDialog ( std::unique_ptr< QWidget > dialog,
QPushButton * launchbutton,
QPushButton * closebutton,
QAbstractButton * enabledButton = 0 )
protectedinherited

Definition at line 123 of file VP1Controller.cxx.

124{
125 QString txt(enabledButton?enabledButton->text():launchButton->text());
126 txt.replace("&&","&");
127 dialogPtr->setWindowTitle(txt+" ["+systemBase()->name()+"]");
128 dialogPtr->setWindowIcon(QIcon(QString(":/vp1/icons/icons/3d_32x32.png")));
129 launchButton->setMaximumHeight(static_cast<int>(0.5+QFontMetricsF(launchButton->font()).height()*1.05+2));
130 launchButton->setMinimumHeight(launchButton->maximumHeight());
131 launchButton->setCheckable(true);
132
133 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
134 sizePolicy.setHorizontalStretch(0);
135 sizePolicy.setVerticalStretch(0);
136 sizePolicy.setHeightForWidth(launchButton->sizePolicy().hasHeightForWidth());
137 launchButton->setSizePolicy(sizePolicy);
138 launchButton->setFocusPolicy(Qt::NoFocus);
139
140 if (enabledButton)
141 launchButton->setEnabled(enabledButton->isChecked());
142
143 auto di = std::make_unique<Imp::DialogInfo>(launchButton,std::move(dialogPtr),enabledButton);
144 QWidget* dialog = di->dialogWidget.get();
145 m_d->dialogs << di.release();
146
147 connect(launchButton,SIGNAL(clicked()),this,SLOT(toggleDialogState()));
148 if (enabledButton)
149 connect(enabledButton,SIGNAL(toggled(bool)),this,SLOT(enabledButtonStateChanged()));
150 CloseEventEater* closeEventEater = new CloseEventEater(this);
151 dialog->installEventFilter(closeEventEater);
152
153 if(closeButton) {
154 closeButton->setText("&Close");
155 closeButton->setToolTip("Close this dialog [Esc]");
156 connect(closeButton,SIGNAL(clicked()),dialog,SLOT(close()));
157 }
158 connect(new QShortcut(QKeySequence(Qt::Key_Escape), dialog),SIGNAL(activated()),dialog,SLOT(close()));
159
160 //To avoid an extra call in the code we do this a few times more than necessary (fixme: put in initLastVars!!):
161 int maxwidth(0);
162 for (Imp::DialogInfo* di : m_d->dialogs)
163 maxwidth = std::max(maxwidth,di->launchButton->sizeHint().width());
164 for (Imp::DialogInfo* di : m_d->dialogs)
165 di->launchButton->setMinimumWidth(maxwidth);
166}
void toggleDialogState(QObject *widget=0)
void enabledButtonStateChanged()
IVP1System * systemBase() const

◆ initDialog() [2/2]

template<class T>
void VP1Controller::initDialog ( T & theUI,
QPushButton * launchbutton,
QAbstractButton * enabledButton = 0 )
protectedinherited

Definition at line 145 of file VP1Controller.h.

145 {
146 auto w = std::make_unique<QWidget>(nullptr,Qt::WindowStaysOnTopHint);
147 theUI.setupUi(w.get());
148 initDialog(std::move(w), launchbutton, theUI.pushButton_close,enabledButton);
149}

◆ initLastVars()

void VP1Controller::initLastVars ( )
inherited

Definition at line 68 of file VP1Controller.cxx.

69{
70 m_initVarsMode = true;
72 m_initVarsMode = false;
73}
void testForChanges()

◆ initVarsMode()

bool VP1Controller::initVarsMode ( ) const
inlineprotectedinherited

Definition at line 98 of file VP1Controller.h.

98{ return m_initVarsMode; }

◆ lucidMinQDC()

unsigned VP1RawDataSysController::lucidMinQDC ( ) const

Definition at line 611 of file VP1RawDataSysController.cxx.

612{
613 return m_d->ui_cuts.spinBox_lucid_qdc_min->value();
614}

◆ lucidMinQDCChanged

void VP1RawDataSysController::lucidMinQDCChanged ( unsigned )
signal

◆ mdtAllowedADC()

VP1Interval VP1RawDataSysController::mdtAllowedADC ( ) const

Definition at line 639 of file VP1RawDataSysController.cxx.

640{
641 return muonDigitRange(m_d->ui_cuts.checkBox_mdtAllowedADCMin, m_d->ui_cuts.spinBox_mdtAllowedADCMin,
642 m_d->ui_cuts.checkBox_mdtAllowedADCMax, m_d->ui_cuts.spinBox_mdtAllowedADCMax);
643}

◆ mdtAllowedADCChanged

void VP1RawDataSysController::mdtAllowedADCChanged ( const VP1Interval & )
signal

◆ mdtAllowedTDC()

VP1Interval VP1RawDataSysController::mdtAllowedTDC ( ) const

Definition at line 645 of file VP1RawDataSysController.cxx.

646{
647 return muonDigitRange(m_d->ui_cuts.checkBox_mdtAllowedTDCMin, m_d->ui_cuts.spinBox_mdtAllowedTDCMin,
648 m_d->ui_cuts.checkBox_mdtAllowedTDCMax, m_d->ui_cuts.spinBox_mdtAllowedTDCMax);
649}

◆ mdtAllowedTDCChanged

void VP1RawDataSysController::mdtAllowedTDCChanged ( const VP1Interval & )
signal

◆ mdtExcludeMasked()

bool VP1RawDataSysController::mdtExcludeMasked ( ) const

Definition at line 697 of file VP1RawDataSysController.cxx.

698{
699 return m_d->ui_cuts.checkBox_mdtExcludeMasked->isChecked();
700}

◆ mdtExcludeMaskedChanged

void VP1RawDataSysController::mdtExcludeMaskedChanged ( bool )
signal

◆ message() [1/3]

void VP1HelperClassBase::message ( const QString & str) const
inherited

Definition at line 49 of file VP1HelperClassBase.cxx.

50{
51 if (m_helpername.isEmpty()) {
52 if (m_system)
53 m_system->message(str);
54 else
55 std::cout<<VP1Msg::prefix_msg()<<" [nameless helper class]: "<<str.toStdString()<<std::endl;
56 } else {
57 if (m_system)
58 m_system->message("["+m_helpername+"] " + str);
59 else
60 std::cout<<VP1Msg::prefix_msg()<<" ["<<m_helpername.toStdString()<<"]: "<<str.toStdString()<<std::endl;
61 }
62}
static const char * prefix_msg()
Definition VP1Msg.h:56

◆ message() [2/3]

void VP1HelperClassBase::message ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 131 of file VP1HelperClassBase.cxx.

132{
133 if (addtostart.isEmpty()) {
134 message(l,addtoend);
135 return;
136 }
137 if (addtoend.isEmpty()) {
138 for (const QString& s : l)
139 message(addtostart+s);
140 } else {
141 for (const QString& s : l)
142 message(addtostart+s+addtoend);
143 }
144}

◆ message() [3/3]

void VP1HelperClassBase::message ( const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 91 of file VP1HelperClassBase.cxx.

92{
93 if (addtoend.isEmpty()) {
94 for (const QString& s : l)
95 message(s);
96 } else {
97 for (const QString& s : l)
98 message(s+addtoend);
99 }
100}

◆ messageDebug() [1/3]

void VP1HelperClassBase::messageDebug ( const QString & str) const
inherited

Definition at line 65 of file VP1HelperClassBase.cxx.

66{
67 if (!VP1Msg::debug())
68 return;
69 std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
70 if (m_helpername.isEmpty()) {
71 std::cout<<VP1Msg::prefix_debug()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
72 } else {
73 std::cout<<VP1Msg::prefix_debug()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
74 }
75}
static bool debug()
Definition VP1Msg.h:32
static const char * prefix_debug()
Definition VP1Msg.h:57

◆ messageDebug() [2/3]

void VP1HelperClassBase::messageDebug ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 147 of file VP1HelperClassBase.cxx.

148{
149 if (!VP1Msg::debug())
150 return;
151 if (addtostart.isEmpty()) {
152 messageDebug(l,addtoend);
153 return;
154 }
155 if (addtoend.isEmpty()) {
156 for (const QString& s : l)
157 messageDebug(addtostart+s);
158 } else {
159 for (const QString& s : l)
160 messageDebug(addtostart+s+addtoend);
161 }
162}
void messageDebug(const QString &) const

◆ messageDebug() [3/3]

void VP1HelperClassBase::messageDebug ( const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 103 of file VP1HelperClassBase.cxx.

104{
105 if (!VP1Msg::debug())
106 return;
107 if (addtoend.isEmpty()) {
108 for (const QString& s : l)
109 messageDebug(s);
110 } else {
111 for (const QString& s : l)
112 messageDebug(s+addtoend);
113 }
114}

◆ messageVerbose() [1/3]

void VP1HelperClassBase::messageVerbose ( const QString & str) const
inherited

Definition at line 78 of file VP1HelperClassBase.cxx.

79{
80 if (!VP1Msg::verbose())
81 return;
82 std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
83 if (m_helpername.isEmpty()) {
84 std::cout<<VP1Msg::prefix_verbose()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
85 } else {
86 std::cout<<VP1Msg::prefix_verbose()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
87 }
88}
static bool verbose()
Definition VP1Msg.h:31
static const char * prefix_verbose()
Definition VP1Msg.h:59

◆ messageVerbose() [2/3]

void VP1HelperClassBase::messageVerbose ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 165 of file VP1HelperClassBase.cxx.

166{
167 if (!VP1Msg::verbose())
168 return;
169 if (addtostart.isEmpty()) {
170 messageVerbose(l,addtoend);
171 return;
172 }
173 if (addtoend.isEmpty()) {
174 for (const QString& s : l)
175 messageVerbose(addtostart+s);
176 } else {
177 for (const QString& s : l)
178 messageVerbose(addtostart+s+addtoend);
179 }
180}

◆ messageVerbose() [3/3]

void VP1HelperClassBase::messageVerbose ( const QStringList & l,
const QString & addtoend = "" ) const
inherited

Definition at line 117 of file VP1HelperClassBase.cxx.

118{
119 if (!VP1Msg::verbose())
120 return;
121 if (addtoend.isEmpty()) {
122 for (const QString& s : l)
124 } else {
125 for (const QString& s : l)
126 messageVerbose(s+addtoend);
127 }
128}

◆ mmAllowedCharge()

VP1Interval VP1RawDataSysController::mmAllowedCharge ( ) const

Definition at line 651 of file VP1RawDataSysController.cxx.

652{
653 return muonDigitRange(m_d->ui_cuts.checkBox_mmAllowedChargeMin, m_d->ui_cuts.spinBox_mmAllowedChargeMin,
654 m_d->ui_cuts.checkBox_mmAllowedChargeMax, m_d->ui_cuts.spinBox_mmAllowedChargeMax);
655}

◆ mmAllowedChargeChanged

void VP1RawDataSysController::mmAllowedChargeChanged ( const VP1Interval & )
signal

◆ mmAllowedTime()

VP1Interval VP1RawDataSysController::mmAllowedTime ( ) const

Definition at line 657 of file VP1RawDataSysController.cxx.

658{
659 return muonDigitRange(m_d->ui_cuts.checkBox_mmAllowedTimeMin, m_d->ui_cuts.spinBox_mmAllowedTimeMin,
660 m_d->ui_cuts.checkBox_mmAllowedTimeMax, m_d->ui_cuts.spinBox_mmAllowedTimeMax);
661}

◆ mmAllowedTimeChanged

void VP1RawDataSysController::mmAllowedTimeChanged ( const VP1Interval & )
signal

◆ possibleChange_cutAllowedEta

void VP1RawDataSysController::possibleChange_cutAllowedEta ( )
privateslot

◆ possibleChange_cutAllowedPhi

void VP1RawDataSysController::possibleChange_cutAllowedPhi ( )
privateslot

◆ possibleChange_enabledInDetParts

void VP1RawDataSysController::possibleChange_enabledInDetParts ( )
privateslot

◆ possibleChange_lucidMinQDC

void VP1RawDataSysController::possibleChange_lucidMinQDC ( )
privateslot

◆ possibleChange_mdtAllowedADC

void VP1RawDataSysController::possibleChange_mdtAllowedADC ( )
privateslot

◆ possibleChange_mdtAllowedTDC

void VP1RawDataSysController::possibleChange_mdtAllowedTDC ( )
privateslot

◆ possibleChange_mdtExcludeMasked

void VP1RawDataSysController::possibleChange_mdtExcludeMasked ( )
privateslot

◆ possibleChange_mmAllowedCharge

void VP1RawDataSysController::possibleChange_mmAllowedCharge ( )
privateslot

◆ possibleChange_mmAllowedTime

void VP1RawDataSysController::possibleChange_mmAllowedTime ( )
privateslot

◆ possibleChange_rpcAllowedTime

void VP1RawDataSysController::possibleChange_rpcAllowedTime ( )
privateslot

◆ possibleChange_rpcAllowedToT

void VP1RawDataSysController::possibleChange_rpcAllowedToT ( )
privateslot

◆ possibleChange_rpcKeepMissingToT

void VP1RawDataSysController::possibleChange_rpcKeepMissingToT ( )
privateslot

◆ possibleChange_rpcShowEta

void VP1RawDataSysController::possibleChange_rpcShowEta ( )
privateslot

◆ possibleChange_rpcShowOppositeSide

void VP1RawDataSysController::possibleChange_rpcShowOppositeSide ( )
privateslot

◆ possibleChange_rpcShowPhi

void VP1RawDataSysController::possibleChange_rpcShowPhi ( )
privateslot

◆ possibleChange_rpcShowPrimarySide

void VP1RawDataSysController::possibleChange_rpcShowPrimarySide ( )
privateslot

◆ possibleChange_showVolumeOutLines

void VP1RawDataSysController::possibleChange_showVolumeOutLines ( )
privateslot

◆ possibleChange_stgcAllowedCharge

void VP1RawDataSysController::possibleChange_stgcAllowedCharge ( )
privateslot

◆ possibleChange_stgcAllowedTime

void VP1RawDataSysController::possibleChange_stgcAllowedTime ( )
privateslot

◆ possibleChange_stgcExcludeDead

void VP1RawDataSysController::possibleChange_stgcExcludeDead ( )
privateslot

◆ possibleChange_stgcExcludePileup

void VP1RawDataSysController::possibleChange_stgcExcludePileup ( )
privateslot

◆ possibleChange_stgcShowPads

void VP1RawDataSysController::possibleChange_stgcShowPads ( )
privateslot

◆ possibleChange_stgcShowStrips

void VP1RawDataSysController::possibleChange_stgcShowStrips ( )
privateslot

◆ possibleChange_stgcShowWires

void VP1RawDataSysController::possibleChange_stgcShowWires ( )
privateslot

◆ possibleChange_tgcShowCurrent

void VP1RawDataSysController::possibleChange_tgcShowCurrent ( )
privateslot

◆ possibleChange_tgcShowNext

void VP1RawDataSysController::possibleChange_tgcShowNext ( )
privateslot

◆ possibleChange_tgcShowNextNext

void VP1RawDataSysController::possibleChange_tgcShowNextNext ( )
privateslot

◆ possibleChange_tgcShowPrevious

void VP1RawDataSysController::possibleChange_tgcShowPrevious ( )
privateslot

◆ possibleChange_tgcShowStrips

void VP1RawDataSysController::possibleChange_tgcShowStrips ( )
privateslot

◆ possibleChange_tgcShowUndefined

void VP1RawDataSysController::possibleChange_tgcShowUndefined ( )
privateslot

◆ possibleChange_tgcShowUnknown

void VP1RawDataSysController::possibleChange_tgcShowUnknown ( )
privateslot

◆ possibleChange_tgcShowWires

void VP1RawDataSysController::possibleChange_tgcShowWires ( )
privateslot

◆ possibleChange_trtAllowedToT

void VP1RawDataSysController::possibleChange_trtAllowedToT ( )
privateslot

◆ possibleChange_trtRequireHT

void VP1RawDataSysController::possibleChange_trtRequireHT ( )
privateslot

◆ possibleChange_useSpecialBCMHighAttMaterial

void VP1RawDataSysController::possibleChange_useSpecialBCMHighAttMaterial ( )
privateslot

◆ possibleChange_useSpecialTRTHTMaterial

void VP1RawDataSysController::possibleChange_useSpecialTRTHTMaterial ( )
privateslot

◆ printInfoOnClick()

bool VP1RawDataSysController::printInfoOnClick ( ) const

Definition at line 547 of file VP1RawDataSysController.cxx.

547{ return m_d->ui_int.checkBox_printinfo->isChecked(); }

◆ printVerboseInfoOnClick()

bool VP1RawDataSysController::printVerboseInfoOnClick ( ) const

Definition at line 548 of file VP1RawDataSysController.cxx.

548{ return m_d->ui_int.checkBox_printinfo_verbose->isChecked(); }

◆ restoreSettings()

void VP1Controller::restoreSettings ( const QByteArray & ba)
inherited

Definition at line 389 of file VP1Controller.cxx.

390{
391 messageDebug("VP1Controller::restoreSettings()");
392
393 VP1Deserialise s(ba,systemBase());
395
396 //warn unrestored:
397 if (m_d->collWidget)
398 s.ignoreWidget(m_d->collWidget);
399 s.warnUnrestored(static_cast<QWidget*>(this));
400 for (Imp::DialogInfo* di : m_d->dialogs)
401 s.warnUnrestored(di->dialogWidget.get());
402
403 QTimer::singleShot(0, this, SLOT(testForChanges()));
404}
virtual void actualRestoreSettings(VP1Deserialise &)=0

◆ rpcAllowedTime()

VP1Interval VP1RawDataSysController::rpcAllowedTime ( ) const

Definition at line 830 of file VP1RawDataSysController.cxx.

831{
832 return muonDigitRange(m_d->ui_cuts.checkBox_rpcAllowedTimeMin, m_d->ui_cuts.spinBox_rpcAllowedTimeMin,
833 m_d->ui_cuts.checkBox_rpcAllowedTimeMax, m_d->ui_cuts.spinBox_rpcAllowedTimeMax);
834}

◆ rpcAllowedTimeChanged

void VP1RawDataSysController::rpcAllowedTimeChanged ( const VP1Interval & )
signal

◆ rpcAllowedToT()

VP1Interval VP1RawDataSysController::rpcAllowedToT ( ) const

Definition at line 838 of file VP1RawDataSysController.cxx.

839{
840 return muonDigitRange(m_d->ui_cuts.checkBox_rpcAllowedToTMin, m_d->ui_cuts.spinBox_rpcAllowedToTMin,
841 m_d->ui_cuts.checkBox_rpcAllowedToTMax, m_d->ui_cuts.spinBox_rpcAllowedToTMax);
842}

◆ rpcAllowedToTChanged

void VP1RawDataSysController::rpcAllowedToTChanged ( const VP1Interval & )
signal

◆ rpcKeepMissingToT()

bool VP1RawDataSysController::rpcKeepMissingToT ( ) const

Definition at line 823 of file VP1RawDataSysController.cxx.

824{
825 return m_d->ui_cuts.checkBox_rpcKeepMissingToT->isChecked();
826}

◆ rpcKeepMissingToTChanged

void VP1RawDataSysController::rpcKeepMissingToTChanged ( bool )
signal

◆ rpcShowEta()

bool VP1RawDataSysController::rpcShowEta ( ) const

Definition at line 795 of file VP1RawDataSysController.cxx.

796{
797 return m_d->ui_cuts.checkBox_rpcShowEta->isChecked();
798}

◆ rpcShowEtaChanged

void VP1RawDataSysController::rpcShowEtaChanged ( bool )
signal

◆ rpcShowOppositeSide()

bool VP1RawDataSysController::rpcShowOppositeSide ( ) const

Definition at line 816 of file VP1RawDataSysController.cxx.

817{
818 return m_d->ui_cuts.checkBox_rpcShowOppositeSide->isChecked();
819}

◆ rpcShowOppositeSideChanged

void VP1RawDataSysController::rpcShowOppositeSideChanged ( bool )
signal

◆ rpcShowPhi()

bool VP1RawDataSysController::rpcShowPhi ( ) const

Definition at line 802 of file VP1RawDataSysController.cxx.

803{
804 return m_d->ui_cuts.checkBox_rpcShowPhi->isChecked();
805}

◆ rpcShowPhiChanged

void VP1RawDataSysController::rpcShowPhiChanged ( bool )
signal

◆ rpcShowPrimarySide()

bool VP1RawDataSysController::rpcShowPrimarySide ( ) const

Definition at line 809 of file VP1RawDataSysController.cxx.

810{
811 return m_d->ui_cuts.checkBox_rpcShowPrimarySide->isChecked();
812}

◆ rpcShowPrimarySideChanged

void VP1RawDataSysController::rpcShowPrimarySideChanged ( bool )
signal

◆ saveSettings()

QByteArray VP1Controller::saveSettings ( ) const
inherited

Definition at line 407 of file VP1Controller.cxx.

408{
409 messageDebug("VP1Controller::saveSettings()");
410
411 VP1Serialise s(currentSettingsVersion(),systemBase());
412
413 messageDebug("calling actualSaveSettings()...");
415
416 //Warn unsaved:
417 if (m_d->collWidget)
418 s.ignoreWidget(m_d->collWidget);
419
420 s.warnUnsaved(static_cast<const QWidget*>(this));
421 for (Imp::DialogInfo* di : m_d->dialogs)
422 s.warnUnsaved(di->dialogWidget.get());
423
424 return s.result();
425
426}
virtual void actualSaveSettings(VP1Serialise &) const =0
virtual int currentSettingsVersion() const =0

◆ setCustomTourEditor()

void VP1Controller::setCustomTourEditor ( VP1CustomTourEditor * editor)
inlinestaticinherited

Definition at line 61 of file VP1Controller.h.

61{ m_customTourEditor=editor;}

◆ setHelperClassName()

void VP1HelperClassBase::setHelperClassName ( const QString & n)
inlineprotectedinherited

Definition at line 59 of file VP1HelperClassBase.h.

◆ setSystemBasePointer()

void VP1HelperClassBase::setSystemBasePointer ( IVP1System * sys)
inherited

Definition at line 197 of file VP1HelperClassBase.cxx.

198{
199 m_system = sys;
200 if (VP1Msg::verbose()){
201 vp1helperclassbase_instanceMap[this] = (m_system?m_system->name():QString(""));
202 }
203}
static std::map< VP1HelperClassBase *, QString > vp1helperclassbase_instanceMap

◆ setupCollWidgetInScrollArea()

void VP1Controller::setupCollWidgetInScrollArea ( QScrollArea * scrollarea,
VP1CollectionWidget * collWidget )
protectedinherited

Definition at line 257 of file VP1Controller.cxx.

258{
259 if (!scrollarea || !collWidget) {
260 message("ERROR: NULL scrollarea or collWidget");
261 return;
262 }
263 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
264 sizePolicy.setHorizontalStretch(0);
265 sizePolicy.setVerticalStretch(scrollarea->sizePolicy().verticalStretch());
266 sizePolicy.setHeightForWidth(scrollarea->sizePolicy().hasHeightForWidth());
267 scrollarea->setSizePolicy(sizePolicy);
268
269 collWidget->setContentsMargins(0,0,0,0);
270 if (!collWidget->children().isEmpty()&&collWidget->children().at(0)->isWidgetType()) {
271 static_cast<QWidget*>(collWidget->children().at(0))->setContentsMargins(0,0,0,0);
272 }
273 scrollarea->setContentsMargins(0,0,0,0);
274
275 scrollarea->setWidgetResizable(true);
276 scrollarea->setFrameShape(QFrame::NoFrame);
277 scrollarea->setFrameShadow(QFrame::Plain);
278 collWidget->setParent(scrollarea);
279 scrollarea->setWidget(collWidget);
280 scrollarea->viewport()->setContentsMargins(0,0,0,0);
281 scrollarea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
282 collWidget->setObjectName(objectName()+"_CollWidget");
283 scrollarea->setObjectName(objectName()+"_CollWidgetScrollArea");
284 m_d->collWidget = collWidget;
285 connect(collWidget,SIGNAL(visibleContentsChanged()),this,SLOT(collWidgetContentChanged()));
286}
void collWidgetContentChanged()
mapped_type at(key_type key) const
Look up an element in the map.

◆ showVolumeOutLines()

bool VP1RawDataSysController::showVolumeOutLines ( ) const

Definition at line 564 of file VP1RawDataSysController.cxx.

565{
566 return m_d->ui_display.checkBox_showVolumeOutLines->isChecked();
567}

◆ showVolumeOutLinesChanged

void VP1RawDataSysController::showVolumeOutLinesChanged ( bool )
signal

◆ stgcAllowedCharge()

VP1Interval VP1RawDataSysController::stgcAllowedCharge ( ) const

Definition at line 663 of file VP1RawDataSysController.cxx.

664{
665 return muonDigitRange(m_d->ui_cuts.checkBox_stgcAllowedChargeMin, m_d->ui_cuts.spinBox_stgcAllowedChargeMin,
666 m_d->ui_cuts.checkBox_stgcAllowedChargeMax, m_d->ui_cuts.spinBox_stgcAllowedChargeMax);
667}

◆ stgcAllowedChargeChanged

void VP1RawDataSysController::stgcAllowedChargeChanged ( const VP1Interval & )
signal

◆ stgcAllowedTime()

VP1Interval VP1RawDataSysController::stgcAllowedTime ( ) const

Definition at line 669 of file VP1RawDataSysController.cxx.

670{
671 return muonDigitRange(m_d->ui_cuts.checkBox_stgcAllowedTimeMin, m_d->ui_cuts.spinBox_stgcAllowedTimeMin,
672 m_d->ui_cuts.checkBox_stgcAllowedTimeMax, m_d->ui_cuts.spinBox_stgcAllowedTimeMax);
673}

◆ stgcAllowedTimeChanged

void VP1RawDataSysController::stgcAllowedTimeChanged ( const VP1Interval & )
signal

◆ stgcExcludeDead()

bool VP1RawDataSysController::stgcExcludeDead ( ) const

Definition at line 725 of file VP1RawDataSysController.cxx.

726{
727 return m_d->ui_cuts.checkBox_stgcExcludeDead->isChecked();
728}

◆ stgcExcludeDeadChanged

void VP1RawDataSysController::stgcExcludeDeadChanged ( bool )
signal

◆ stgcExcludePileup()

bool VP1RawDataSysController::stgcExcludePileup ( ) const

Definition at line 732 of file VP1RawDataSysController.cxx.

733{
734 return m_d->ui_cuts.checkBox_stgcExcludePileup->isChecked();
735}

◆ stgcExcludePileupChanged

void VP1RawDataSysController::stgcExcludePileupChanged ( bool )
signal

◆ stgcShowPads()

bool VP1RawDataSysController::stgcShowPads ( ) const

Definition at line 704 of file VP1RawDataSysController.cxx.

705{
706 return m_d->ui_cuts.checkBox_stgcShowPads->isChecked();
707}

◆ stgcShowPadsChanged

void VP1RawDataSysController::stgcShowPadsChanged ( bool )
signal

◆ stgcShowStrips()

bool VP1RawDataSysController::stgcShowStrips ( ) const

Definition at line 711 of file VP1RawDataSysController.cxx.

712{
713 return m_d->ui_cuts.checkBox_stgcShowStrips->isChecked();
714}

◆ stgcShowStripsChanged

void VP1RawDataSysController::stgcShowStripsChanged ( bool )
signal

◆ stgcShowWires()

bool VP1RawDataSysController::stgcShowWires ( ) const

Definition at line 718 of file VP1RawDataSysController.cxx.

719{
720 return m_d->ui_cuts.checkBox_stgcShowWires->isChecked();
721}

◆ stgcShowWiresChanged

void VP1RawDataSysController::stgcShowWiresChanged ( bool )
signal

◆ str() [1/30]

QString VP1String::str ( const Amg::Vector3D & t)
inlinestaticinherited

Definition at line 98 of file VP1String.h.

98{ return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [2/30]

QString VP1String::str ( const bool b)
inlinestaticinherited

Definition at line 53 of file VP1String.h.

53{ return b?"True":"False"; }

◆ str() [3/30]

QString VP1String::str ( const char * c)
inlinestaticinherited

Definition at line 50 of file VP1String.h.

50{ return c; }

◆ str() [4/30]

QString VP1String::str ( const double & d)
inlinestaticinherited

Definition at line 81 of file VP1String.h.

81{ return QString::number(d); }

◆ str() [5/30]

QString VP1String::str ( const float & f)
inlinestaticinherited

Definition at line 82 of file VP1String.h.

82{ return QString::number(f); }

◆ str() [6/30]

template<class T>
QString VP1String::str ( const HepGeom::BasicVector3D< T > & t)
inlinestaticinherited

Definition at line 95 of file VP1String.h.

95{ return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [7/30]

QString VP1String::str ( const QColor & c)
staticinherited

Definition at line 30 of file VP1String.cxx.

31{
32 return c.isValid() ? c.name() : "Invalid";
33}

◆ str() [8/30]

template<class T>
QString VP1String::str ( const QFlags< T > & f)
inlinestaticinherited

Definition at line 91 of file VP1String.h.

91{ return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }

◆ str() [9/30]

template<class T>
QString VP1String::str ( const QList< T > & t)
inlinestaticinherited

Definition at line 102 of file VP1String.h.

102{ return "QList of size"+QString::number(t.size()); }

◆ str() [10/30]

QString VP1String::str ( const QString & s)
inlinestaticinherited

Definition at line 49 of file VP1String.h.

49{ return s; }

◆ str() [11/30]

QString VP1String::str ( const SbColor & c)
staticinherited

Definition at line 36 of file VP1String.cxx.

37{
39}
static QColor sbcol2qcol(const SbColor &)

◆ str() [12/30]

QString VP1String::str ( const SbVec2d & v)
staticinherited

Definition at line 61 of file VP1String.cxx.

61{ double x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }
#define y
#define x

◆ str() [13/30]

QString VP1String::str ( const SbVec2f & v)
staticinherited

Definition at line 62 of file VP1String.cxx.

62{ float x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [14/30]

QString VP1String::str ( const SbVec2s & v)
staticinherited

Definition at line 63 of file VP1String.cxx.

63{ short x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [15/30]

QString VP1String::str ( const SbVec3d & v)
staticinherited

Definition at line 64 of file VP1String.cxx.

64{ double x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }
#define z

◆ str() [16/30]

QString VP1String::str ( const SbVec3f & v)
staticinherited

Definition at line 65 of file VP1String.cxx.

65{ float x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [17/30]

QString VP1String::str ( const SbVec3s & v)
staticinherited

Definition at line 66 of file VP1String.cxx.

66{ short x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [18/30]

QString VP1String::str ( const SbVec4d & v)
staticinherited

Definition at line 67 of file VP1String.cxx.

67{ double x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [19/30]

QString VP1String::str ( const SbVec4f & v)
staticinherited

Definition at line 68 of file VP1String.cxx.

68{ float x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [20/30]

template<class T>
QString VP1String::str ( const T * t)
inlinestaticinherited

Definition at line 87 of file VP1String.h.

87{ return str(static_cast<const void* >(t)); }

◆ str() [21/30]

QString VP1String::str ( const void * p)
staticinherited

Definition at line 48 of file VP1String.cxx.

49{
50 if (p) {
51 std::ostringstream s;
52 s << p;
53 // Explicitly naming QString here avoids a cppcheck warning.
54 return QString (s.str().c_str());
55 } else {
56 return "NULL";
57 }
58}

◆ str() [22/30]

QString VP1String::str ( const VP1Interval & i)
staticinherited

Definition at line 42 of file VP1String.cxx.

43{
44 return i.toString();
45}

◆ str() [23/30]

QString VP1String::str ( int n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

77{ return QString::number(n); }

◆ str() [24/30]

QString VP1String::str ( long n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

75{ return QString::number(n); }

◆ str() [25/30]

QString VP1String::str ( qlonglong n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

79{ return QString::number(n); }

◆ str() [26/30]

QString VP1String::str ( qulonglong n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

80{ return QString::number(n); }

◆ str() [27/30]

QString VP1String::str ( short int n)
inlinestaticinherited

Definition at line 73 of file VP1String.h.

73{ return QString::number(n); }

◆ str() [28/30]

QString VP1String::str ( uint n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

78{ return QString::number(n); }

◆ str() [29/30]

QString VP1String::str ( ulong n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

76{ return QString::number(n); }

◆ str() [30/30]

QString VP1String::str ( unsigned short int n)
inlinestaticinherited

Definition at line 74 of file VP1String.h.

74{ return QString::number(n); }

◆ systemBase()

IVP1System * VP1HelperClassBase::systemBase ( ) const
inlineinherited

Definition at line 50 of file VP1HelperClassBase.h.

50{ return m_system; }

◆ testForChanges

void VP1Controller::testForChanges ( )
inlineprotectedslotinherited

Definition at line 113 of file VP1Controller.h.

◆ tgcShowCurrent()

bool VP1RawDataSysController::tgcShowCurrent ( ) const

Definition at line 760 of file VP1RawDataSysController.cxx.

761{
762 return m_d->ui_cuts.checkBox_tgcShowCurrent->isChecked();
763}

◆ tgcShowCurrentChanged

void VP1RawDataSysController::tgcShowCurrentChanged ( bool )
signal

◆ tgcShowNext()

bool VP1RawDataSysController::tgcShowNext ( ) const

Definition at line 767 of file VP1RawDataSysController.cxx.

768{
769 return m_d->ui_cuts.checkBox_tgcShowNext->isChecked();
770}

◆ tgcShowNextChanged

void VP1RawDataSysController::tgcShowNextChanged ( bool )
signal

◆ tgcShowNextNext()

bool VP1RawDataSysController::tgcShowNextNext ( ) const

Definition at line 774 of file VP1RawDataSysController.cxx.

775{
776 return m_d->ui_cuts.checkBox_tgcShowNextNext->isChecked();
777}

◆ tgcShowNextNextChanged

void VP1RawDataSysController::tgcShowNextNextChanged ( bool )
signal

◆ tgcShowPrevious()

bool VP1RawDataSysController::tgcShowPrevious ( ) const

Definition at line 753 of file VP1RawDataSysController.cxx.

754{
755 return m_d->ui_cuts.checkBox_tgcShowPrevious->isChecked();
756}

◆ tgcShowPreviousChanged

void VP1RawDataSysController::tgcShowPreviousChanged ( bool )
signal

◆ tgcShowStrips()

bool VP1RawDataSysController::tgcShowStrips ( ) const

Definition at line 739 of file VP1RawDataSysController.cxx.

740{
741 return m_d->ui_cuts.checkBox_tgcShowStrips->isChecked();
742}

◆ tgcShowStripsChanged

void VP1RawDataSysController::tgcShowStripsChanged ( bool )
signal

◆ tgcShowUndefined()

bool VP1RawDataSysController::tgcShowUndefined ( ) const

Definition at line 781 of file VP1RawDataSysController.cxx.

782{
783 return m_d->ui_cuts.checkBox_tgcShowUndefined->isChecked();
784}

◆ tgcShowUndefinedChanged

void VP1RawDataSysController::tgcShowUndefinedChanged ( bool )
signal

◆ tgcShowUnknown()

bool VP1RawDataSysController::tgcShowUnknown ( ) const

Definition at line 788 of file VP1RawDataSysController.cxx.

789{
790 return m_d->ui_cuts.checkBox_tgcShowUnknown->isChecked();
791}

◆ tgcShowUnknownChanged

void VP1RawDataSysController::tgcShowUnknownChanged ( bool )
signal

◆ tgcShowWires()

bool VP1RawDataSysController::tgcShowWires ( ) const

Definition at line 746 of file VP1RawDataSysController.cxx.

747{
748 return m_d->ui_cuts.checkBox_tgcShowWires->isChecked();
749}

◆ tgcShowWiresChanged

void VP1RawDataSysController::tgcShowWiresChanged ( bool )
signal

◆ toggleDialogState

void VP1Controller::toggleDialogState ( QObject * widget = 0)
slotinherited

Definition at line 196 of file VP1Controller.cxx.

197{
198 Imp::DialogInfo * di(0);
199 for (Imp::DialogInfo* di2 : m_d->dialogs) {
200 if (di2->launchButton==sender() || (widget && di2->dialogWidget.get()==widget)) {
201 di = di2;
202 break;
203 }
204 }
205
206 if (!di) {
207 message("ERROR: toggleDialogState() triggered with unrecognised sender() ="
208 +QString(sender()?sender()->objectName():"NULL"));
209 return;
210 }
211
212 bool oldvis = di->dialogWidget->isVisible();
213
214 if (oldvis&&di->dialogWidget->windowState()==Qt::WindowMinimized) {
215 di->dialogWidget->setWindowState(Qt::WindowNoState);
216 } else {
217 di->dialogWidget->setVisible(!oldvis);
218 if (!oldvis && di->neverShown) {
219 di->neverShown = false;
220 //do stuff
221 // QSize size(955, 717);
222 // size = size.expandedTo(VP1MainWindow->minimumSizeHint());
223 // di->dialogWidget->resize(di->dialogWidget->minimumSizeHint());
224 }
225 }
226
227 //synchronise toggle button state (for example if this was called by CloseEventEater)
228 if (di->launchButton->isCheckable() && oldvis){
229 di->launchButton->setChecked(false);
230 }
231}

◆ toString() [1/4]

QString VP1Controller::toString ( const bool & par)
staticprotectedinherited

Definition at line 100 of file VP1Controller.cxx.

101{
102 return par?"On":"Off";
103}

◆ toString() [2/4]

QString VP1Controller::toString ( const QList< VP1Interval > & l)
staticprotectedinherited

Definition at line 106 of file VP1Controller.cxx.

107{
108 QString s;
109 for(int i=0;i<l.count();++i)
110 s+= l.at(i).toString()+(i==l.count()-1?"":", ");
111 return s;
112}

◆ toString() [3/4]

template<class T>
QString VP1Controller::toString ( const T & par)
staticprotectedinherited

Definition at line 139 of file VP1Controller.h.

140{
141 return VP1String::str(par);
142}

◆ toString() [4/4]

QString VP1Controller::toString ( SbColor4f p)
staticprotectedinherited

Definition at line 115 of file VP1Controller.cxx.

116{
117 float r, g, b, a;
118 p.getValue(r, g, b, a);
119 return "("+str(r)+", "+str(g)+", "+str(b)+", "+str(1-a)+")";
120}
static Double_t a
int r
Definition globals.cxx:22

◆ trtAllowedToT()

VP1Interval VP1RawDataSysController::trtAllowedToT ( ) const

Definition at line 603 of file VP1RawDataSysController.cxx.

604{
605 VP1Interval i( (m_d->ui_cuts.checkbox_cut_trt_TotMin->isChecked() ? (m_d->ui_cuts.spinBox_cut_trt_ToTMin->value()-0.5)*3.125*Gaudi::Units::nanosecond : -VP1Interval::inf() ),
606 (m_d->ui_cuts.checkbox_cut_trt_TotMax->isChecked() ? (m_d->ui_cuts.spinBox_cut_trt_ToTMax->value()+0.5)*3.125*Gaudi::Units::nanosecond : VP1Interval::inf() ) );
607 return i.lower()>i.upper() ? VP1Interval() : i;
608}
static double inf()
Definition VP1Interval.h:25

◆ trtAllowedToTChanged

void VP1RawDataSysController::trtAllowedToTChanged ( const VP1Interval & )
signal

◆ trtHTMaterial()

SoMaterial * VP1RawDataSysController::trtHTMaterial ( ) const

Definition at line 617 of file VP1RawDataSysController.cxx.

618{
619 return getMaterial(m_d->ui_display.matButton_trtht);
620}

◆ trtRequireHT()

bool VP1RawDataSysController::trtRequireHT ( ) const

Definition at line 597 of file VP1RawDataSysController.cxx.

598{
599 return m_d->ui_cuts.checkbox_cut_trt_needHT->isChecked();
600}

◆ trtRequireHTChanged

void VP1RawDataSysController::trtRequireHTChanged ( bool )
signal

◆ useSpecialBCMHighAttMaterial()

bool VP1RawDataSysController::useSpecialBCMHighAttMaterial ( ) const

Definition at line 576 of file VP1RawDataSysController.cxx.

577{
578 return m_d->ui_display.checkBox_bcmHighAttUseSpecialMat->isChecked();
579}

◆ useSpecialBCMHighAttMaterialChanged

void VP1RawDataSysController::useSpecialBCMHighAttMaterialChanged ( bool )
signal

◆ useSpecialTRTHTMaterial()

bool VP1RawDataSysController::useSpecialTRTHTMaterial ( ) const

Definition at line 570 of file VP1RawDataSysController.cxx.

571{
572 return m_d->ui_display.checkBox_trtHTUseSpecialMat->isChecked();
573}

◆ useSpecialTRTHTMaterialChanged

void VP1RawDataSysController::useSpecialTRTHTMaterialChanged ( bool )
signal

◆ verbose()

bool VP1HelperClassBase::verbose ( )
inlinestaticinherited

Definition at line 32 of file VP1HelperClassBase.h.

32{ return s_vp1verbose; } // Returns true if env var VP1_VERBOSE_OUTPUT=1
static const bool s_vp1verbose

◆ warnUndeletedInstances()

void VP1HelperClassBase::warnUndeletedInstances ( )
staticinherited

Definition at line 183 of file VP1HelperClassBase.cxx.

184{
186 return;
187 std::cout << "WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<" undeleted helper class instances:"<<std::endl;
188
189 std::map<VP1HelperClassBase*,QString>::iterator it,itE(vp1helperclassbase_instanceMap.end());
190 for (it = vp1helperclassbase_instanceMap.begin();it!=itE;++it) {
191 std::cout << " ==> "<<it->first<<": "<<it->first->m_helpername.toStdString()
192 << (it->second.isEmpty()?QString(""):" (in system "+it->second+")").toStdString()<<std::endl;
193 }
194}

◆ zoomOnClick()

bool VP1RawDataSysController::zoomOnClick ( ) const

Definition at line 549 of file VP1RawDataSysController.cxx.

549{ return m_d->ui_int.checkBox_zoom->isChecked(); }

Member Data Documentation

◆ m_customTourEditor

VP1CustomTourEditor * VP1Controller::m_customTourEditor =0
staticprivateinherited

Definition at line 126 of file VP1Controller.h.

◆ m_d

Imp* VP1RawDataSysController::m_d
private

Definition at line 147 of file VP1RawDataSysController.h.

◆ m_helpername

QString VP1HelperClassBase::m_helpername
privateinherited

Definition at line 67 of file VP1HelperClassBase.h.

◆ m_initVarsMode

bool VP1Controller::m_initVarsMode
privateinherited

Definition at line 130 of file VP1Controller.h.

◆ m_system

IVP1System* VP1HelperClassBase::m_system
privateinherited

Definition at line 68 of file VP1HelperClassBase.h.

◆ s_vp1verbose

const bool VP1HelperClassBase::s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
staticprivateinherited

Definition at line 69 of file VP1HelperClassBase.h.


The documentation for this class was generated from the following files: