ATLAS Offline Software
Classes | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Private Slots | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
PRDSystemController Class Reference

#include <PRDSystemController.h>

Inheritance diagram for PRDSystemController:
Collaboration diagram for PRDSystemController:

Classes

class  Imp
 

Public Slots

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

Signals

void colourMethodChanged (PRDCollHandleBase::COLOURMETHOD)
 
void selectionModeMultipleChanged (bool)
 
void showSelectionLineChanged (bool)
 
void clearSelection () const
 
void highLightMaterialWeightChanged (const double &)
 
void highLightOutliersChanged (bool)
 
void drawErrorsChanged (bool)
 
void drawRDOsChanged (bool)
 
void highLightTRTHitsByHighThresholdChanged (bool)
 
void highLightMDTHitsByMaskChanged (bool)
 
void highLightMDTHitsByUpperADCBoundChanged (int)
 
void projectPixelHitsChanged (bool)
 
void projectSCTHitsChanged (bool)
 
void projectTRTHitsChanged (bool)
 
void projectMDTHitsChanged (bool)
 
void projectRPCHitsChanged (bool)
 
void projectCSCHitsChanged (bool)
 
void projectTGCHitsChanged (bool)
 
void cutAllowedEtaChanged (const VP1Interval &)
 
void cutAllowedPhiChanged (const QList< VP1Interval > &)
 
void inDetPartsFlagsChanged (PRDCommonFlags::InDetPartsFlags)
 
void pixelMinNRDOPerClusterChanged (unsigned)
 
void sctExcludeIsolatedClustersChanged (bool)
 
void trtMinToTChanged (unsigned)
 
void trtMaxToTChanged (unsigned)
 
void trtMinLEChanged (unsigned)
 
void trtMaxLEChanged (unsigned)
 
void trtRequireHTChanged (bool)
 
void mdtMinNHitsPerStationChanged (unsigned)
 
void mdtAllowedADCValuesChanged (VP1Interval)
 
void mdtExcludeMaskedHitsChanged (bool)
 
void mdt_cutMdtDriftCircleStatusChanged (QString)
 
void limitToActiveChambersChanged (bool)
 
void inDetPartsUsingProjectionsChanged (InDetProjFlags::DetTypeFlags)
 
void shownCollectionTypesChanged (const std::set< PRDDetType::Type > &)
 
void dummyUpdateTrigger ()
 

Public Member Functions

 PRDSystemController (IVP1System *sys)
 
virtual ~PRDSystemController ()
 
void actualRestoreSettings (VP1Deserialise &)
 
int currentSettingsVersion () const
 
void actualSaveSettings (VP1Serialise &) const
 
VP1CollectionWidgetcollWidget () const
 
SoGroup * drawOptions (PRDDetType::Type) const
 
SoMaterial * getHighLightMaterial ()
 
double highLightMaterialWeight () const
 
bool printInfoOnClick () const
 
bool zoomOnClick () const
 
bool muonOrientToChambersOnClick () const
 
PRDCollHandleBase::COLOURMETHOD colourMethod () const
 
bool selectionModeMultiple () const
 
bool showSelectionLine () const
 
SoMaterial * getMultiSelectionLineMaterial () const
 
bool highLightOutliers () const
 
bool drawErrors () const
 
bool drawRDOs () const
 
bool highLightTRTHitsByHighThreshold ()
 
bool highLightMDTHitsByMask ()
 
int highLightMDTHitsByUpperADCBound ()
 
bool projectPixelHits () const
 
bool projectSCTHits () const
 
bool projectTRTHits () const
 
bool projectMDTHits () const
 
bool projectRPCHits () const
 
bool projectCSCHits () const
 
bool projectTGCHits () const
 
VP1Interval cutAllowedEta () const
 
QList< VP1IntervalcutAllowedPhi () const
 
PRDCommonFlags::InDetPartsFlags inDetPartsFlags () const
 
unsigned pixelMinNRDOPerCluster () const
 
bool sctExcludeIsolatedClusters () const
 
unsigned trtMinToT () const
 
unsigned trtMaxToT () const
 
unsigned trtMinLE () const
 
unsigned trtMaxLE () const
 
bool trtRequireHT () const
 
unsigned mdtMinNHitsPerStation () const
 
VP1Interval mdtAllowedADCValues () const
 
bool mdtExcludeMaskedHits () const
 
QString mdt_cutMdtDriftCircleStatus () const
 
bool limitToActiveChambers () const
 
InDetProjFlags::DetTypeFlags inDetPartsUsingProjections () const
 
std::set< PRDDetType::TypeshownCollectionTypes () 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
 
IVP1SystemsystemBase () const
 
const QString & helperClassName () const
 

Static Public Member Functions

static void setCustomTourEditor (VP1CustomTourEditor *editor)
 
static VP1CustomTourEditorcustomTourEditor ()
 
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 (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

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

Private Slots

void emitClearSelection ()
 
void updateHighlightGui ()
 
void possibleChange_colourMethod ()
 
void possibleChange_selectionModeMultiple ()
 
void possibleChange_showSelectionLine ()
 
void possibleChange_highLightMaterialWeight ()
 
void possibleChange_highLightOutliers ()
 
void possibleChange_drawErrors ()
 
void possibleChange_drawRDOs ()
 
void possibleChange_highLightTRTHitsByHighThreshold ()
 
void possibleChange_highLightMDTHitsByMask ()
 
void possibleChange_highLightMDTHitsByUpperADCBound ()
 
void possibleChange_cutAllowedEta ()
 
void possibleChange_cutAllowedPhi ()
 
void possibleChange_inDetPartsFlags ()
 
void possibleChange_pixelMinNRDOPerCluster ()
 
void possibleChange_sctExcludeIsolatedClusters ()
 
void possibleChange_trtMinToT ()
 
void possibleChange_trtMaxToT ()
 
void possibleChange_trtMinLE ()
 
void possibleChange_trtMaxLE ()
 
void possibleChange_trtRequireHT ()
 
void possibleChange_mdtMinNHitsPerStation ()
 
void possibleChange_mdtAllowedADCValues ()
 
void possibleChange_mdtExcludeMaskedHits ()
 
void possibleChange_mdt_cutMdtDriftCircleStatus ()
 
void possibleChange_limitToActiveChambers ()
 
void possibleChange_projectPixelHits ()
 
void possibleChange_projectSCTHits ()
 
void possibleChange_projectTRTHits ()
 
void possibleChange_projectMDTHits ()
 
void possibleChange_projectRPCHits ()
 
void possibleChange_projectCSCHits ()
 
void possibleChange_projectTGCHits ()
 
void possibleChange_inDetPartsUsingProjections ()
 
void possibleChange_shownCollectionTypes ()
 

Static Private Member Functions

template<class T >
static QString toString (const T &t)
 
static QString toString (const PRDCollHandleBase::DETAIL &par)
 
static QString toString (const PRDCollHandleBase::COLOURMETHOD &par)
 
static QString toString (const std::set< PRDDetType::Type > &s)
 

Private Attributes

Impm_d
 
bool m_initVarsMode
 
QString m_helpername
 
IVP1Systemm_system
 

Static Private Attributes

static VP1CustomTourEditorm_customTourEditor =0
 
static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
 

Detailed Description

Definition at line 34 of file PRDSystemController.h.

Constructor & Destructor Documentation

◆ PRDSystemController()

PRDSystemController::PRDSystemController ( IVP1System sys)

Definition at line 85 of file PRDSystemController.cxx.

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 }

◆ ~PRDSystemController()

PRDSystemController::~PRDSystemController ( )
virtual

Definition at line 274 of file PRDSystemController.cxx.

275 {
276  if (m_d->highlightmaterial)
277  m_d->highlightmaterial->unref();
278  delete m_d;
279 }

Member Function Documentation

◆ actualRestoreSettings()

void PRDSystemController::actualRestoreSettings ( VP1Deserialise s)
virtual

Implements VP1Controller.

Definition at line 712 of file PRDSystemController.cxx.

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 }

◆ actualSaveSettings()

void PRDSystemController::actualSaveSettings ( VP1Serialise s) const
virtual

Implements VP1Controller.

Definition at line 643 of file PRDSystemController.cxx.

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 }

◆ addUpdateSlot()

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

Definition at line 318 of file VP1Controller.cxx.

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

◆ changed()

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

Definition at line 151 of file VP1Controller.h.

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

◆ clearSelection

void PRDSystemController::clearSelection ( ) const
signal

◆ collWidget()

VP1CollectionWidget * PRDSystemController::collWidget ( ) const

Definition at line 282 of file PRDSystemController.cxx.

283 {
284  return m_d->collWidget;
285 }

◆ collWidgetContentChanged

void VP1Controller::collWidgetContentChanged ( )
slotinherited

Definition at line 232 of file VP1Controller.cxx.

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

◆ colourMethod()

PRDCollHandleBase::COLOURMETHOD PRDSystemController::colourMethod ( ) const

Definition at line 469 of file PRDSystemController.cxx.

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 }

◆ colourMethodChanged

void PRDSystemController::colourMethodChanged ( PRDCollHandleBase::COLOURMETHOD  )
signal

◆ connectToLastUpdateSlot() [1/10]

void VP1Controller::connectToLastUpdateSlot ( QButtonGroup *  bg)
protectedinherited

Definition at line 369 of file VP1Controller.cxx.

370 {
371  connectToLastUpdateSlot(bg,SIGNAL(buttonClicked(int)));
372 }

◆ connectToLastUpdateSlot() [2/10]

void VP1Controller::connectToLastUpdateSlot ( QCheckBox *  cb)
protectedinherited

Definition at line 333 of file VP1Controller.cxx.

334 {
335  connectToLastUpdateSlot(cb,SIGNAL(toggled(bool)));
336 }

◆ connectToLastUpdateSlot() [3/10]

void VP1Controller::connectToLastUpdateSlot ( QComboBox *  cb)
protectedinherited

Definition at line 339 of file VP1Controller.cxx.

340 {
341  connectToLastUpdateSlot(cb,SIGNAL(currentIndexChanged(int)));
342 }

◆ connectToLastUpdateSlot() [4/10]

void VP1Controller::connectToLastUpdateSlot ( QDoubleSpinBox *  dsb)
protectedinherited

Definition at line 357 of file VP1Controller.cxx.

358 {
359  connectToLastUpdateSlot(dsb,SIGNAL(valueChanged(double)));
360 }

◆ connectToLastUpdateSlot() [5/10]

void VP1Controller::connectToLastUpdateSlot ( QGroupBox *  gb)
protectedinherited

Definition at line 345 of file VP1Controller.cxx.

346 {
347  connectToLastUpdateSlot(gb,SIGNAL(toggled(bool)));
348 }

◆ connectToLastUpdateSlot() [6/10]

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

Definition at line 327 of file VP1Controller.cxx.

328 {
329  connect(sender,signal,this,m_d->lastUpdateSlot);
330 }

◆ connectToLastUpdateSlot() [7/10]

void VP1Controller::connectToLastUpdateSlot ( QRadioButton *  rb)
protectedinherited

Definition at line 363 of file VP1Controller.cxx.

364 {
365  connectToLastUpdateSlot(rb,SIGNAL(toggled(bool)));
366 }

◆ connectToLastUpdateSlot() [8/10]

void VP1Controller::connectToLastUpdateSlot ( QSlider *  s)
protectedinherited

Definition at line 375 of file VP1Controller.cxx.

376 {
377  connectToLastUpdateSlot(s,SIGNAL(valueChanged(int)));
378 }

◆ connectToLastUpdateSlot() [9/10]

void VP1Controller::connectToLastUpdateSlot ( QSpinBox *  sb)
protectedinherited

Definition at line 351 of file VP1Controller.cxx.

352 {
353  connectToLastUpdateSlot(sb,SIGNAL(valueChanged(int)));
354 }

◆ connectToLastUpdateSlot() [10/10]

void VP1Controller::connectToLastUpdateSlot ( VP1ColorSelectButton csb)
protectedinherited

Definition at line 381 of file VP1Controller.cxx.

382 {
383  connectToLastUpdateSlot(csb,SIGNAL(colorChanged(const QColor&)));
384 }

◆ currentSettingsVersion()

int PRDSystemController::currentSettingsVersion ( ) const
virtual

Implements VP1Controller.

Definition at line 637 of file PRDSystemController.cxx.

638 {
639  return 3;
640 }

◆ customTourEditor()

static VP1CustomTourEditor* VP1Controller::customTourEditor ( )
inlinestaticinherited

Definition at line 61 of file VP1Controller.h.

61 {return m_customTourEditor;}

◆ cutAllowedEta()

VP1Interval PRDSystemController::cutAllowedEta ( ) const

Definition at line 366 of file PRDSystemController.cxx.

367 {
368  return m_d->ui_cuts.etaPhiCutWidget->allowedEta();
369 }

◆ cutAllowedEtaChanged

void PRDSystemController::cutAllowedEtaChanged ( const VP1Interval )
signal

◆ cutAllowedPhi()

QList< VP1Interval > PRDSystemController::cutAllowedPhi ( ) const

Definition at line 372 of file PRDSystemController.cxx.

373 {
374  return m_d->ui_cuts.etaPhiCutWidget->allowedPhi();
375 }

◆ cutAllowedPhiChanged

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

◆ defineRadioButtonGroup() [1/2]

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

Definition at line 300 of file VP1Controller.cxx.

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

◆ 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 288 of file VP1Controller.cxx.

292 {
293  QList<QRadioButton *> l;
294  l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
295  l.removeAll(0);
296  return defineRadioButtonGroup(l);
297 }

◆ drawErrors()

bool PRDSystemController::drawErrors ( ) const

Definition at line 485 of file PRDSystemController.cxx.

486 {
487  if (m_d->ui_disp.checkBox_drawErrors->isChecked()) return true;
488  return false;
489 }

◆ drawErrorsChanged

void PRDSystemController::drawErrorsChanged ( bool  )
signal

◆ drawOptions()

SoGroup * PRDSystemController::drawOptions ( PRDDetType::Type  t) const

Definition at line 288 of file PRDSystemController.cxx.

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 }

◆ drawRDOs()

bool PRDSystemController::drawRDOs ( ) const

Definition at line 492 of file PRDSystemController.cxx.

493 {
494  if (m_d->ui_disp.checkBox_drawRDOs->isChecked()) return true;
495  return false;
496 }

◆ drawRDOsChanged

void PRDSystemController::drawRDOsChanged ( bool  )
signal

◆ dummyUpdateTrigger

void VP1Controller::dummyUpdateTrigger ( )
signalinherited

◆ emitClearSelection

void PRDSystemController::emitClearSelection ( )
privateslot

Definition at line 328 of file PRDSystemController.cxx.

329 {
330  messageVerbose("Emitting clearSelection()");
331  emit clearSelection();
332 }

◆ enabledButtonStateChanged

void VP1Controller::enabledButtonStateChanged ( )
slotinherited

Definition at line 167 of file VP1Controller.cxx.

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

◆ fallBackMaterial()

SoMaterial * VP1Controller::fallBackMaterial ( ) const
protectedinherited

Definition at line 427 of file VP1Controller.cxx.

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

◆ getHighLightMaterial()

SoMaterial * PRDSystemController::getHighLightMaterial ( )

Definition at line 335 of file PRDSystemController.cxx.

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 }

◆ getMaterial()

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

Definition at line 437 of file VP1Controller.cxx.

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

◆ getMultiSelectionLineMaterial()

SoMaterial * PRDSystemController::getMultiSelectionLineMaterial ( ) const

Definition at line 317 of file PRDSystemController.cxx.

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 }

◆ helperClassName()

const QString& VP1HelperClassBase::helperClassName ( ) const
inlineinherited

Definition at line 51 of file VP1HelperClassBase.h.

51 { return m_helpername; }

◆ highLightMaterialWeight()

double PRDSystemController::highLightMaterialWeight ( ) const

Definition at line 542 of file PRDSystemController.cxx.

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 }

◆ highLightMaterialWeightChanged

void PRDSystemController::highLightMaterialWeightChanged ( const double &  )
signal

◆ highLightMDTHitsByMask()

bool PRDSystemController::highLightMDTHitsByMask ( )

Definition at line 525 of file PRDSystemController.cxx.

526 {
527  return highLightMaterialWeight() != 0.0
528  && !highLightOutliers() && m_d->ui_disp.checkBox_highlight_maskedmdts->isChecked();
529 }

◆ highLightMDTHitsByMaskChanged

void PRDSystemController::highLightMDTHitsByMaskChanged ( bool  )
signal

◆ highLightMDTHitsByUpperADCBound()

int PRDSystemController::highLightMDTHitsByUpperADCBound ( )

Definition at line 533 of file PRDSystemController.cxx.

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 }

◆ highLightMDTHitsByUpperADCBoundChanged

void PRDSystemController::highLightMDTHitsByUpperADCBoundChanged ( int  )
signal

◆ highLightOutliers()

bool PRDSystemController::highLightOutliers ( ) const

Definition at line 500 of file PRDSystemController.cxx.

501 {
502  return highLightMaterialWeight() != 0.0
503  && m_d->ui_disp.checkBox_highlight_trackoutliers->isChecked() && m_d->ui_disp.checkBox_colourByTrack->isChecked();
504 }

◆ highLightOutliersChanged

void PRDSystemController::highLightOutliersChanged ( bool  )
signal

◆ highLightTRTHitsByHighThreshold()

bool PRDSystemController::highLightTRTHitsByHighThreshold ( )

Definition at line 517 of file PRDSystemController.cxx.

518 {
519  return highLightMaterialWeight() != 0.0
520  && !highLightOutliers() && m_d->ui_disp.checkBox_highlight_trtht->isChecked();
521 }

◆ highLightTRTHitsByHighThresholdChanged

void PRDSystemController::highLightTRTHitsByHighThresholdChanged ( bool  )
signal

◆ inDetPartsFlags()

PRDCommonFlags::InDetPartsFlags PRDSystemController::inDetPartsFlags ( ) const

Definition at line 378 of file PRDSystemController.cxx.

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 }

◆ inDetPartsFlagsChanged

void PRDSystemController::inDetPartsFlagsChanged ( PRDCommonFlags::InDetPartsFlags  )
signal

◆ inDetPartsUsingProjections()

InDetProjFlags::DetTypeFlags PRDSystemController::inDetPartsUsingProjections ( ) const

Definition at line 564 of file PRDSystemController.cxx.

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 }

◆ inDetPartsUsingProjectionsChanged

void PRDSystemController::inDetPartsUsingProjectionsChanged ( InDetProjFlags::DetTypeFlags  )
signal

◆ initDialog() [1/2]

void VP1Controller::initDialog ( 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  dialog->setWindowTitle(txt+" ["+systemBase()->name()+"]");
128  dialog->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  m_d->dialogs << new Imp::DialogInfo(launchButton,dialog,enabledButton);
144 
145  connect(launchButton,SIGNAL(clicked()),this,SLOT(toggleDialogState()));
146  if (enabledButton)
147  connect(enabledButton,SIGNAL(toggled(bool)),this,SLOT(enabledButtonStateChanged()));
148  CloseEventEater* closeEventEater = new CloseEventEater(this);
149  dialog->installEventFilter(closeEventEater);
150 
151  if(closeButton) {
152  closeButton->setText("&Close");
153  closeButton->setToolTip("Close this dialog [Esc]");
154  connect(closeButton,SIGNAL(clicked()),dialog,SLOT(close()));
155  }
156  connect(new QShortcut(QKeySequence(Qt::Key_Escape), dialog),SIGNAL(activated()),dialog,SLOT(close()));
157 
158  //To avoid an extra call in the code we do this a few times more than necessary (fixme: put in initLastVars!!):
159  int maxwidth(0);
160  for (Imp::DialogInfo* di : m_d->dialogs)
161  maxwidth = std::max(maxwidth,di->launchButton->sizeHint().width());
162  for (Imp::DialogInfo* di : m_d->dialogs)
163  di->launchButton->setMinimumWidth(maxwidth);
164 }

◆ initDialog() [2/2]

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

Definition at line 144 of file VP1Controller.h.

144  {
145  QWidget * w = new QWidget(0,Qt::WindowStaysOnTopHint);
146  theUI.setupUi(w);
147  initDialog(w, launchbutton, theUI.pushButton_close,enabledButton);
148 }

◆ initLastVars()

void VP1Controller::initLastVars ( )
inherited

Definition at line 68 of file VP1Controller.cxx.

69 {
70  m_initVarsMode = true;
72  m_initVarsMode = false;
73 }

◆ initVarsMode()

bool VP1Controller::initVarsMode ( ) const
inlineprotectedinherited

Definition at line 97 of file VP1Controller.h.

97 { return m_initVarsMode; }

◆ limitToActiveChambers()

bool PRDSystemController::limitToActiveChambers ( ) const

Definition at line 463 of file PRDSystemController.cxx.

464 {
465  return m_d->ui_cuts.checkBox_cut_mdt_limitToActiveChambers->isChecked();
466 }

◆ limitToActiveChambersChanged

void PRDSystemController::limitToActiveChambersChanged ( bool  )
signal

◆ mdt_cutMdtDriftCircleStatus()

QString PRDSystemController::mdt_cutMdtDriftCircleStatus ( ) const

Definition at line 457 of file PRDSystemController.cxx.

458 {
459  return m_d->ui_cuts.comboBox_mdt_cutMdtDriftCircleStatus->currentText();
460 }

◆ mdt_cutMdtDriftCircleStatusChanged

void PRDSystemController::mdt_cutMdtDriftCircleStatusChanged ( QString  )
signal

◆ mdtAllowedADCValues()

VP1Interval PRDSystemController::mdtAllowedADCValues ( ) const

Definition at line 440 of file PRDSystemController.cxx.

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 }

◆ mdtAllowedADCValuesChanged

void PRDSystemController::mdtAllowedADCValuesChanged ( VP1Interval  )
signal

◆ mdtExcludeMaskedHits()

bool PRDSystemController::mdtExcludeMaskedHits ( ) const

Definition at line 451 of file PRDSystemController.cxx.

452 {
453  return m_d->ui_cuts.checkBox_cut_mdt_excludemaskedhits->isChecked();
454 }

◆ mdtExcludeMaskedHitsChanged

void PRDSystemController::mdtExcludeMaskedHitsChanged ( bool  )
signal

◆ mdtMinNHitsPerStation()

unsigned PRDSystemController::mdtMinNHitsPerStation ( ) const

Definition at line 434 of file PRDSystemController.cxx.

435 {
436  return m_d->ui_cuts.checkBox_cut_mdt_excludeisolateddrifttubes->isChecked() ? 2 : 0;
437 }

◆ mdtMinNHitsPerStationChanged

void PRDSystemController::mdtMinNHitsPerStationChanged ( unsigned  )
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)
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 }

◆ 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 }

◆ 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 }

◆ 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 }

◆ 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)
123  messageVerbose(s);
124  } else {
125  for (const QString& s : l)
126  messageVerbose(s+addtoend);
127  }
128 }

◆ muonOrientToChambersOnClick()

bool PRDSystemController::muonOrientToChambersOnClick ( ) const

Definition at line 360 of file PRDSystemController.cxx.

361 {
362  return zoomOnClick() && m_d->ui_int.checkBox_zoom_orientToMuonChamber->isChecked();
363 }

◆ pixelMinNRDOPerCluster()

unsigned PRDSystemController::pixelMinNRDOPerCluster ( ) const

Definition at line 420 of file PRDSystemController.cxx.

421 {
422  return m_d->ui_cuts.checkBox_cut_pixel_minnrdo->isChecked() ? m_d->ui_cuts.spinBox_cut_pixel_minnrdo->value() : 0;
423 }

◆ pixelMinNRDOPerClusterChanged

void PRDSystemController::pixelMinNRDOPerClusterChanged ( unsigned  )
signal

◆ possibleChange_colourMethod

void PRDSystemController::possibleChange_colourMethod ( )
privateslot

◆ possibleChange_cutAllowedEta

void PRDSystemController::possibleChange_cutAllowedEta ( )
privateslot

◆ possibleChange_cutAllowedPhi

void PRDSystemController::possibleChange_cutAllowedPhi ( )
privateslot

◆ possibleChange_drawErrors

void PRDSystemController::possibleChange_drawErrors ( )
privateslot

◆ possibleChange_drawRDOs

void PRDSystemController::possibleChange_drawRDOs ( )
privateslot

◆ possibleChange_highLightMaterialWeight

void PRDSystemController::possibleChange_highLightMaterialWeight ( )
privateslot

◆ possibleChange_highLightMDTHitsByMask

void PRDSystemController::possibleChange_highLightMDTHitsByMask ( )
privateslot

◆ possibleChange_highLightMDTHitsByUpperADCBound

void PRDSystemController::possibleChange_highLightMDTHitsByUpperADCBound ( )
privateslot

◆ possibleChange_highLightOutliers

void PRDSystemController::possibleChange_highLightOutliers ( )
privateslot

◆ possibleChange_highLightTRTHitsByHighThreshold

void PRDSystemController::possibleChange_highLightTRTHitsByHighThreshold ( )
privateslot

◆ possibleChange_inDetPartsFlags

void PRDSystemController::possibleChange_inDetPartsFlags ( )
privateslot

◆ possibleChange_inDetPartsUsingProjections

void PRDSystemController::possibleChange_inDetPartsUsingProjections ( )
privateslot

◆ possibleChange_limitToActiveChambers

void PRDSystemController::possibleChange_limitToActiveChambers ( )
privateslot

◆ possibleChange_mdt_cutMdtDriftCircleStatus

void PRDSystemController::possibleChange_mdt_cutMdtDriftCircleStatus ( )
privateslot

◆ possibleChange_mdtAllowedADCValues

void PRDSystemController::possibleChange_mdtAllowedADCValues ( )
privateslot

◆ possibleChange_mdtExcludeMaskedHits

void PRDSystemController::possibleChange_mdtExcludeMaskedHits ( )
privateslot

◆ possibleChange_mdtMinNHitsPerStation

void PRDSystemController::possibleChange_mdtMinNHitsPerStation ( )
privateslot

◆ possibleChange_pixelMinNRDOPerCluster

void PRDSystemController::possibleChange_pixelMinNRDOPerCluster ( )
privateslot

◆ possibleChange_projectCSCHits

void PRDSystemController::possibleChange_projectCSCHits ( )
privateslot

◆ possibleChange_projectMDTHits

void PRDSystemController::possibleChange_projectMDTHits ( )
privateslot

◆ possibleChange_projectPixelHits

void PRDSystemController::possibleChange_projectPixelHits ( )
privateslot

◆ possibleChange_projectRPCHits

void PRDSystemController::possibleChange_projectRPCHits ( )
privateslot

◆ possibleChange_projectSCTHits

void PRDSystemController::possibleChange_projectSCTHits ( )
privateslot

◆ possibleChange_projectTGCHits

void PRDSystemController::possibleChange_projectTGCHits ( )
privateslot

◆ possibleChange_projectTRTHits

void PRDSystemController::possibleChange_projectTRTHits ( )
privateslot

◆ possibleChange_sctExcludeIsolatedClusters

void PRDSystemController::possibleChange_sctExcludeIsolatedClusters ( )
privateslot

◆ possibleChange_selectionModeMultiple

void PRDSystemController::possibleChange_selectionModeMultiple ( )
privateslot

◆ possibleChange_shownCollectionTypes

void PRDSystemController::possibleChange_shownCollectionTypes ( )
privateslot

◆ possibleChange_showSelectionLine

void PRDSystemController::possibleChange_showSelectionLine ( )
privateslot

◆ possibleChange_trtMaxLE

void PRDSystemController::possibleChange_trtMaxLE ( )
privateslot

◆ possibleChange_trtMaxToT

void PRDSystemController::possibleChange_trtMaxToT ( )
privateslot

◆ possibleChange_trtMinLE

void PRDSystemController::possibleChange_trtMinLE ( )
privateslot

◆ possibleChange_trtMinToT

void PRDSystemController::possibleChange_trtMinToT ( )
privateslot

◆ possibleChange_trtRequireHT

void PRDSystemController::possibleChange_trtRequireHT ( )
privateslot

◆ printInfoOnClick()

bool PRDSystemController::printInfoOnClick ( ) const

Definition at line 348 of file PRDSystemController.cxx.

349 {
350  return m_d->ui_int.checkBox_printinfo->isChecked();
351 }

◆ projectCSCHits()

bool PRDSystemController::projectCSCHits ( ) const

Definition at line 559 of file PRDSystemController.cxx.

559 { return m_d->ui_disp.checkBox_showcsc_projected->isChecked(); }

◆ projectCSCHitsChanged

void PRDSystemController::projectCSCHitsChanged ( bool  )
signal

◆ projectMDTHits()

bool PRDSystemController::projectMDTHits ( ) const

Definition at line 557 of file PRDSystemController.cxx.

557 { return m_d->ui_disp.checkBox_showmdt_projected->isChecked(); }

◆ projectMDTHitsChanged

void PRDSystemController::projectMDTHitsChanged ( bool  )
signal

◆ projectPixelHits()

bool PRDSystemController::projectPixelHits ( ) const

Definition at line 554 of file PRDSystemController.cxx.

554 { return m_d->ui_disp.checkBox_showpixel_projected->isChecked(); }

◆ projectPixelHitsChanged

void PRDSystemController::projectPixelHitsChanged ( bool  )
signal

◆ projectRPCHits()

bool PRDSystemController::projectRPCHits ( ) const

Definition at line 558 of file PRDSystemController.cxx.

558 { return m_d->ui_disp.checkBox_showrpc_projected->isChecked(); }

◆ projectRPCHitsChanged

void PRDSystemController::projectRPCHitsChanged ( bool  )
signal

◆ projectSCTHits()

bool PRDSystemController::projectSCTHits ( ) const

Definition at line 555 of file PRDSystemController.cxx.

555 { return m_d->ui_disp.checkBox_showsct_projected->isChecked(); }

◆ projectSCTHitsChanged

void PRDSystemController::projectSCTHitsChanged ( bool  )
signal

◆ projectTGCHits()

bool PRDSystemController::projectTGCHits ( ) const

Definition at line 560 of file PRDSystemController.cxx.

560 { return m_d->ui_disp.checkBox_showtgc_projected->isChecked(); }

◆ projectTGCHitsChanged

void PRDSystemController::projectTGCHitsChanged ( bool  )
signal

◆ projectTRTHits()

bool PRDSystemController::projectTRTHits ( ) const

Definition at line 556 of file PRDSystemController.cxx.

556 { return m_d->ui_disp.checkBox_showtrt_projected->isChecked(); }

◆ projectTRTHitsChanged

void PRDSystemController::projectTRTHitsChanged ( bool  )
signal

◆ restoreSettings()

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

Definition at line 387 of file VP1Controller.cxx.

388 {
389  messageDebug("VP1Controller::restoreSettings()");
390 
393 
394  //warn unrestored:
395  if (m_d->collWidget)
396  s.ignoreWidget(m_d->collWidget);
397  s.warnUnrestored((QWidget*)(this));
398  for (Imp::DialogInfo* di : m_d->dialogs)
399  s.warnUnrestored(di->dialogWidget);
400 
401  QTimer::singleShot(0, this, SLOT(testForChanges()));
402 }

◆ saveSettings()

QByteArray VP1Controller::saveSettings ( ) const
inherited

Definition at line 405 of file VP1Controller.cxx.

406 {
407  messageDebug("VP1Controller::saveSettings()");
408 
410 
411  messageDebug("calling actualSaveSettings()...");
413 
414  //Warn unsaved:
415  if (m_d->collWidget)
416  s.ignoreWidget(m_d->collWidget);
417 
418  s.warnUnsaved((QWidget*)(this));
419  for (Imp::DialogInfo* di : m_d->dialogs)
420  s.warnUnsaved(di->dialogWidget);
421 
422  return s.result();
423 
424 }

◆ sctExcludeIsolatedClusters()

bool PRDSystemController::sctExcludeIsolatedClusters ( ) const

Definition at line 428 of file PRDSystemController.cxx.

429 {
430  return m_d->ui_cuts.checkBox_cut_sct_excludeisolatedclusters->isChecked();
431 }

◆ sctExcludeIsolatedClustersChanged

void PRDSystemController::sctExcludeIsolatedClustersChanged ( bool  )
signal

◆ selectionModeMultiple()

bool PRDSystemController::selectionModeMultiple ( ) const

Definition at line 608 of file PRDSystemController.cxx.

609 {
610  return m_d->ui_int.checkBox_selModeMultiple->isChecked();
611 }

◆ selectionModeMultipleChanged

void PRDSystemController::selectionModeMultipleChanged ( bool  )
signal

◆ setCustomTourEditor()

static void VP1Controller::setCustomTourEditor ( VP1CustomTourEditor editor)
inlinestaticinherited

Definition at line 60 of file VP1Controller.h.

60 { m_customTourEditor=editor;}

◆ setHelperClassName()

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

Definition at line 59 of file VP1HelperClassBase.h.

59 { m_helpername = n; }

◆ 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 }

◆ setupCollWidgetInScrollArea()

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

Definition at line 255 of file VP1Controller.cxx.

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

◆ shownCollectionTypes()

std::set< PRDDetType::Type > PRDSystemController::shownCollectionTypes ( ) const

Definition at line 620 of file PRDSystemController.cxx.

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 }

◆ shownCollectionTypesChanged

void PRDSystemController::shownCollectionTypesChanged ( const std::set< PRDDetType::Type > &  )
signal

◆ showSelectionLine()

bool PRDSystemController::showSelectionLine ( ) const

Definition at line 614 of file PRDSystemController.cxx.

615 {
616  return m_d->ui_int.checkBox_showSelectionLine->isChecked();
617 }

◆ showSelectionLineChanged

void PRDSystemController::showSelectionLineChanged ( bool  )
signal

◆ str() [1/30]

static 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]

static QString VP1String::str ( const bool  b)
inlinestaticinherited

Definition at line 53 of file VP1String.h.

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

◆ str() [3/30]

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

Definition at line 50 of file VP1String.h.

50 { return c; }

◆ str() [4/30]

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

Definition at line 81 of file VP1String.h.

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

◆ str() [5/30]

static 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 >
static 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 >
static 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 >
static 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]

static 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 }

◆ 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)+")"; }

◆ 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)+")"; }

◆ 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 >
static 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]

static QString VP1String::str ( int  n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

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

◆ str() [24/30]

static QString VP1String::str ( long  n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

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

◆ str() [25/30]

static QString VP1String::str ( qlonglong  n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

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

◆ str() [26/30]

static QString VP1String::str ( qulonglong  n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

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

◆ str() [27/30]

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

Definition at line 73 of file VP1String.h.

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

◆ str() [28/30]

static QString VP1String::str ( uint  n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

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

◆ str() [29/30]

static QString VP1String::str ( ulong  n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

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

◆ str() [30/30]

static 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 112 of file VP1Controller.h.

112 { dummyUpdateTrigger(); }

◆ toggleDialogState

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

Definition at line 194 of file VP1Controller.cxx.

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

◆ toString() [1/7]

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

Definition at line 100 of file VP1Controller.cxx.

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

◆ toString() [2/7]

static QString PRDSystemController::toString ( const PRDCollHandleBase::COLOURMETHOD par)
inlinestaticprivate

Definition at line 168 of file PRDSystemController.h.

168 { return PRDCollHandleBase::toString(par); }

◆ toString() [3/7]

static QString PRDSystemController::toString ( const PRDCollHandleBase::DETAIL par)
inlinestaticprivate

Definition at line 167 of file PRDSystemController.h.

167 { return PRDCollHandleBase::toString(par); }

◆ toString() [4/7]

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() [5/7]

static QString PRDSystemController::toString ( const std::set< PRDDetType::Type > &  s)
inlinestaticprivate

Definition at line 169 of file PRDSystemController.h.

169 { return "["+str(s.size())+" types]"; }

◆ toString() [6/7]

template<class T >
static QString PRDSystemController::toString ( const T &  t)
inlinestaticprivate

Definition at line 165 of file PRDSystemController.h.

165 { return VP1Controller::toString(t); }//unhide base methods

◆ toString() [7/7]

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 }

◆ trtMaxLE()

unsigned PRDSystemController::trtMaxLE ( ) const

Definition at line 407 of file PRDSystemController.cxx.

408 {
409  return m_d->ui_cuts.checkbox_cut_trt_LeMax->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_LEMax->value() : 24;
410 }

◆ trtMaxLEChanged

void PRDSystemController::trtMaxLEChanged ( unsigned  )
signal

◆ trtMaxToT()

unsigned PRDSystemController::trtMaxToT ( ) const

Definition at line 395 of file PRDSystemController.cxx.

396 {
397  return m_d->ui_cuts.checkbox_cut_trt_TotMax->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_ToTMax->value() : 24;
398 }

◆ trtMaxToTChanged

void PRDSystemController::trtMaxToTChanged ( unsigned  )
signal

◆ trtMinLE()

unsigned PRDSystemController::trtMinLE ( ) const

Definition at line 401 of file PRDSystemController.cxx.

402 {
403  return m_d->ui_cuts.checkbox_cut_trt_LeMin->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_LEMin->value() : 0;
404 }

◆ trtMinLEChanged

void PRDSystemController::trtMinLEChanged ( unsigned  )
signal

◆ trtMinToT()

unsigned PRDSystemController::trtMinToT ( ) const

Definition at line 389 of file PRDSystemController.cxx.

390 {
391  return m_d->ui_cuts.checkbox_cut_trt_TotMin->isChecked() ? m_d->ui_cuts.spinBox_cut_trt_ToTMin->value() : 0;
392 }

◆ trtMinToTChanged

void PRDSystemController::trtMinToTChanged ( unsigned  )
signal

◆ trtRequireHT()

bool PRDSystemController::trtRequireHT ( ) const

Definition at line 413 of file PRDSystemController.cxx.

414 {
415  return m_d->ui_cuts.checkbox_cut_trt_needHT->isChecked();
416 }

◆ trtRequireHTChanged

void PRDSystemController::trtRequireHTChanged ( bool  )
signal

◆ updateHighlightGui

void PRDSystemController::updateHighlightGui ( )
privateslot

Definition at line 507 of file PRDSystemController.cxx.

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 }

◆ verbose()

static 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

◆ warnUndeletedInstances()

void VP1HelperClassBase::warnUndeletedInstances ( )
staticinherited

Definition at line 183 of file VP1HelperClassBase.cxx.

184 {
185  if (vp1helperclassbase_instanceMap.empty())
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 PRDSystemController::zoomOnClick ( ) const

Definition at line 354 of file PRDSystemController.cxx.

355 {
356  return m_d->ui_int.checkBox_zoom->isChecked();
357 }

Member Data Documentation

◆ m_customTourEditor

VP1CustomTourEditor * VP1Controller::m_customTourEditor =0
staticprivateinherited

Definition at line 125 of file VP1Controller.h.

◆ m_d

Imp* PRDSystemController::m_d
private

Definition at line 162 of file PRDSystemController.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 129 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:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
PRDSystemController::projectSCTHits
bool projectSCTHits() const
Definition: PRDSystemController.cxx:555
VP1Controller::defineRadioButtonGroup
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)
Definition: VP1Controller.cxx:288
PRDSystemController::Imp::highlightmaterial
SoMaterial * highlightmaterial
Definition: PRDSystemController.cxx:41
VP1Controller::addUpdateSlot
const char * addUpdateSlot(const char *slot)
Definition: VP1Controller.cxx:318
beamspotman.r
def r
Definition: beamspotman.py:676
PRDSystemController::possibleChange_trtMinLE
void possibleChange_trtMinLE()
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
VP1Controller::setupCollWidgetInScrollArea
void setupCollWidgetInScrollArea(QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
Definition: VP1Controller.cxx:255
PRDCollHandleBase::BySegmentAndTrack
@ BySegmentAndTrack
Definition: PRDCollHandleBase.h:71
PRDSystemController::Imp::ui_int
Ui::PRDSysSettingsInteractionsForm ui_int
Definition: PRDSystemController.cxx:36
PRDCollHandleBase::ByTechOnly
@ ByTechOnly
Definition: PRDCollHandleBase.h:71
PRDSystemController::possibleChange_mdtExcludeMaskedHits
void possibleChange_mdtExcludeMaskedHits()
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
VP1Controller::toString
static QString toString(const T &par)
Definition: VP1Controller.h:138
VP1Serialise
Definition: VP1Serialise.h:45
InDetProjFlags::Pixel_ecpos
@ Pixel_ecpos
Definition: InDetProjFlags.h:36
PRDSystemController::possibleChange_highLightOutliers
void possibleChange_highLightOutliers()
PRDSystemController::possibleChange_projectCSCHits
void possibleChange_projectCSCHits()
StandaloneBunchgroupHandler.bg
bg
Definition: StandaloneBunchgroupHandler.py:243
VP1Controller::Imp::lastUpdateSlot
const char * lastUpdateSlot
Definition: VP1Controller.cxx:49
VP1Controller::dummyUpdateTrigger
void dummyUpdateTrigger()
PRDSystemController::possibleChange_highLightMaterialWeight
void possibleChange_highLightMaterialWeight()
VP1Controller::VP1Controller
VP1Controller(IVP1System *sys, const QString &classname)
Definition: VP1Controller.cxx:76
PRDSystemController::collWidget
VP1CollectionWidget * collWidget() const
Definition: PRDSystemController.cxx:282
WriteCellNoiseToCool.rb
rb
Definition: WriteCellNoiseToCool.py:229
PRDSystemController::possibleChange_projectPixelHits
void possibleChange_projectPixelHits()
PRDSystemController::Imp::ui_cuts
Ui::PRDSysSettingsCutsForm ui_cuts
Definition: PRDSystemController.cxx:38
hist_file_dump.d
d
Definition: hist_file_dump.py:137
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
PRDSystemController::possibleChange_showSelectionLine
void possibleChange_showSelectionLine()
PRDSystemController::possibleChange_trtMaxLE
void possibleChange_trtMaxLE()
VP1HelperClassBase::m_helpername
QString m_helpername
Definition: VP1HelperClassBase.h:67
PRDDetType::SpacePoints
@ SpacePoints
Definition: PRDDetTypes.h:13
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
VP1Controller::fallBackMaterial
SoMaterial * fallBackMaterial() const
Definition: VP1Controller.cxx:427
VP1HelperClassBase::s_vp1verbose
static const bool s_vp1verbose
Definition: VP1HelperClassBase.h:69
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
VP1Controller::initDialog
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
Definition: VP1Controller.h:144
VP1Controller::Imp::collWidget
VP1CollectionWidget * collWidget
Definition: VP1Controller.cxx:50
PRDSystemController::possibleChange_cutAllowedPhi
void possibleChange_cutAllowedPhi()
skel.it
it
Definition: skel.GENtoEVGEN.py:396
PRDSystemController::updateHighlightGui
void updateHighlightGui()
Definition: PRDSystemController.cxx:507
VP1Controller::actualSaveSettings
virtual void actualSaveSettings(VP1Serialise &) const =0
PRDSystemController::Imp::theclass
PRDSystemController * theclass
Definition: PRDSystemController.cxx:34
PRDSystemController::possibleChange_selectionModeMultiple
void possibleChange_selectionModeMultiple()
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
PRDSystemController::highLightOutliersChanged
void highLightOutliersChanged(bool)
InDetProjFlags::TRT_ecpos
@ TRT_ecpos
Definition: InDetProjFlags.h:41
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
upper
int upper(int c)
Definition: LArBadChannelParser.cxx:49
InDetProjFlags::Pixel_brlpos
@ Pixel_brlpos
Definition: InDetProjFlags.h:34
PRDCollHandleBase::toString
static QString toString(const DETAIL &)
Definition: PRDCollHandleBase.cxx:727
PRDSystemController::inDetPartsFlagsChanged
void inDetPartsFlagsChanged(PRDCommonFlags::InDetPartsFlags)
VP1HelperClassBase::m_system
IVP1System * m_system
Definition: VP1HelperClassBase.h:68
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PRDCollHandleBase::BySegment
@ BySegment
Definition: PRDCollHandleBase.h:71
x
#define x
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
VP1HelperClassBase::messageDebug
void messageDebug(const QString &) const
Definition: VP1HelperClassBase.cxx:65
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
TruthTest.itE
itE
Definition: TruthTest.py:25
PRDSystemController::possibleChange_inDetPartsUsingProjections
void possibleChange_inDetPartsUsingProjections()
PRDSystemController::possibleChange_pixelMinNRDOPerCluster
void possibleChange_pixelMinNRDOPerCluster()
PRDDetType::SCT
@ SCT
Definition: PRDDetTypes.h:13
InDetProjFlags::SCT_brlpos
@ SCT_brlpos
Definition: InDetProjFlags.h:29
VP1Controller::initVarsMode
bool initVarsMode() const
Definition: VP1Controller.h:97
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
Cut::signal
@ signal
Definition: SUSYToolsAlg.cxx:67
PRDSystemController::possibleChange_colourMethod
void possibleChange_colourMethod()
PRDDetType::Type
Type
Definition: PRDDetTypes.h:12
PRDSystemController::possibleChange_trtMinToT
void possibleChange_trtMinToT()
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
VP1Msg::prefix_msg
static const char * prefix_msg()
Definition: VP1Msg.h:56
PRDSystemController::possibleChange_trtMaxToT
void possibleChange_trtMaxToT()
PRDSystemController::projectPixelHitsChanged
void projectPixelHitsChanged(bool)
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
z
#define z
VP1Controller::Imp::fallBackMaterial
SoMaterial * fallBackMaterial
Definition: VP1Controller.cxx:64
InDetProjFlags::SCT_ecpos
@ SCT_ecpos
Definition: InDetProjFlags.h:31
VP1Interval::inf
static double inf()
Definition: VP1Interval.h:25
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
beamspotman.n
n
Definition: beamspotman.py:731
PRDSystemController::Imp::collWidget
VP1CollectionWidget * collWidget
Definition: PRDSystemController.cxx:39
VP1Controller::m_d
Imp * m_d
Definition: VP1Controller.h:127
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
VP1Controller::m_initVarsMode
bool m_initVarsMode
Definition: VP1Controller.h:129
InDetProjFlags::SCT_ecneg
@ SCT_ecneg
Definition: InDetProjFlags.h:32
PRDSystemController::possibleChange_projectMDTHits
void possibleChange_projectMDTHits()
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
PRDSystemController::possibleChange_mdtAllowedADCValues
void possibleChange_mdtAllowedADCValues()
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()
VP1CollectionWidget::appropriateFixedWidth
int appropriateFixedWidth() const
Definition: VP1CollectionWidget.cxx:276
VP1Deserialise
Definition: VP1Deserialise.h:44
CloseEventEater
Definition: CloseEventEater.h:12
PRDSystemController::projectPixelHits
bool projectPixelHits() const
Definition: PRDSystemController.cxx:554
PRDSystemController::highLightMaterialWeight
double highLightMaterialWeight() const
Definition: PRDSystemController.cxx:542
PRDDetType::intToType
static Type intToType(const qint32 &i, bool &status)
Definition: PRDDetTypes.cxx:66
VP1QtInventorUtils::sbcol2qcol
static QColor sbcol2qcol(const SbColor &)
Definition: VP1QtInventorUtils.cxx:1142
PRDSystemController::possibleChange_cutAllowedEta
void possibleChange_cutAllowedEta()
InDetProjFlags::Pixel_ecneg
@ Pixel_ecneg
Definition: InDetProjFlags.h:37
keylayer_zslicemap.sb
sb
Definition: keylayer_zslicemap.py:192
PRDSystemController::shownCollectionTypes
std::set< PRDDetType::Type > shownCollectionTypes() const
Definition: PRDSystemController.cxx:620
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
PRDSystemController::possibleChange_highLightTRTHitsByHighThreshold
void possibleChange_highLightTRTHitsByHighThreshold()
python.selection.number
number
Definition: selection.py:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
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()
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
VP1Controller::Imp::dialogs
QList< DialogInfo * > dialogs
Definition: VP1Controller.cxx:62
VP1Controller::actualRestoreSettings
virtual void actualRestoreSettings(VP1Deserialise &)=0
PRDSystemController::zoomOnClick
bool zoomOnClick() const
Definition: PRDSystemController.cxx:354
PRDSystemController::possibleChange_projectSCTHits
void possibleChange_projectSCTHits()
python.PyAthena.v
v
Definition: PyAthena.py:154
InDetProjFlags::TRT_brlpos
@ TRT_brlpos
Definition: InDetProjFlags.h:39
PRDSystemController::projectSCTHitsChanged
void projectSCTHitsChanged(bool)
InDetProjFlags::NoDet
@ NoDet
Definition: InDetProjFlags.h:28
VP1Msg::prefix_verbose
static const char * prefix_verbose()
Definition: VP1Msg.h:59
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
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
PRDCommonFlags::BarrelNegative
@ BarrelNegative
Definition: PRDCommonFlags.h:25
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
VP1CollectionWidget
Definition: VP1CollectionWidget.h:32
PRDSystemController::clearSelection
void clearSelection() const
PRDCommonFlags::EndCapPositive
@ EndCapPositive
Definition: PRDCommonFlags.h:26
VP1Controller::testForChanges
void testForChanges()
Definition: VP1Controller.h:112
TRT_PAI_physicsConstants::mb
const double mb
1mb to cm2
Definition: TRT_PAI_physicsConstants.h:15
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
PRDSystemController::inDetPartsFlags
PRDCommonFlags::InDetPartsFlags inDetPartsFlags() const
Definition: PRDSystemController.cxx:378
VP1Controller::collWidgetContentChanged
void collWidgetContentChanged()
Definition: VP1Controller.cxx:232
PRDDetType::Pixel
@ Pixel
Definition: PRDDetTypes.h:13
VP1Controller::enabledButtonStateChanged
void enabledButtonStateChanged()
Definition: VP1Controller.cxx:167
InDetProjFlags::TRT_brlneg
@ TRT_brlneg
Definition: InDetProjFlags.h:40
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
str
Definition: BTagTrackIpAccessor.cxx:11
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
PRDSystemController::possibleChange_trtRequireHT
void possibleChange_trtRequireHT()
PRDCommonFlags::EndCapNegative
@ EndCapNegative
Definition: PRDCommonFlags.h:27
PRDSystemController::possibleChange_mdt_cutMdtDriftCircleStatus
void possibleChange_mdt_cutMdtDriftCircleStatus()
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
InDetProjFlags::TRT_ecneg
@ TRT_ecneg
Definition: InDetProjFlags.h:42
VP1Controller::toggleDialogState
void toggleDialogState(QObject *widget=0)
Definition: VP1Controller.cxx:194
PRDSystemController::highLightOutliers
bool highLightOutliers() const
Definition: PRDSystemController.cxx:500
PRDSystemController::projectTRTHitsChanged
void projectTRTHitsChanged(bool)
PRDSystemController::possibleChange_highLightMDTHitsByUpperADCBound
void possibleChange_highLightMDTHitsByUpperADCBound()
PRDDetType::TRT
@ TRT
Definition: PRDDetTypes.h:13
python.compressB64.c
def c
Definition: compressB64.py:93
InDetProjFlags::SCT_brlneg
@ SCT_brlneg
Definition: InDetProjFlags.h:30
PRDSystemController::possibleChange_drawRDOs
void possibleChange_drawRDOs()
VP1Controller::initLastVars
void initLastVars()
Definition: VP1Controller.cxx:68
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336
VP1Controller::m_customTourEditor
static VP1CustomTourEditor * m_customTourEditor
Definition: VP1Controller.h:125
PRDSystemController::possibleChange_inDetPartsFlags
void possibleChange_inDetPartsFlags()
PRDSystemController::possibleChange_projectRPCHits
void possibleChange_projectRPCHits()
PRDSystemController::possibleChange_shownCollectionTypes
void possibleChange_shownCollectionTypes()
VP1Controller::currentSettingsVersion
virtual int currentSettingsVersion() const =0