|
ATLAS Offline Software
|
#include <TrackSystemController.h>
|
| TrackSystemController (IVP1System *sys) |
|
virtual | ~TrackSystemController () |
|
void | initTools () |
|
void | actualRestoreSettings (VP1Deserialise &) |
|
int | currentSettingsVersion () const |
|
void | actualSaveSettings (VP1Serialise &) const |
|
void | setNumberOfSelectedPRDsAndTracks (unsigned prds, unsigned trks) |
|
TrackCollWidget * | collWidget () const |
|
TrackCommonFlags::TrackPartsFlags | shownTrackParts () const |
|
int | vertexProjectionAngle () const |
|
Trk::IExtrapolator * | propagator () const |
|
PropagationOptionFlags | propagationOptions () const |
|
float | propMaxRadius () const |
|
bool | ignoreMeasurementEffectsOnTrackInProp () |
| If true (default) don't use TSOS with MEOT to draw track points. More...
|
|
const Trk::Volume * | extrapolateToThisVolume () const |
| Returns the volume to which we extrapolate ID tracks, or zero if no VolumesSvc found. More...
|
|
Trk::ITrackFitter * | trackFitter () const |
|
Muon::MuonEDMPrinterTool * | muonEDMPrinterTool () const |
|
QString | nameOfNewlyFittedCollections () const |
|
TrackCommonFlags::SELECTIONMODE | selectionMode () const |
|
TrackCommonFlags::FITTERMODE | fitterMode () const |
|
bool | fitterRemoveOutliers () const |
|
Trk::ParticleHypothesis | fitterParticleHypthesis () const |
|
TrackCommonFlags::DETAILLEVEL | assocObjDetailLevel () const |
|
TrackCommonFlags::TSOSPartsFlags | shownTSOSParts () const |
|
TrackCommonFlags::TSOSPartsFlags | customColouredTSOSParts () const |
|
bool | useShortTRTMeasurements () const |
|
bool | useShortMDTMeasurements () const |
|
bool | drawMeasGlobalPositions () const |
|
bool | hideCustomSurfaces () const |
|
bool | hideTubeSurfaces () const |
|
double | measurementsShorttubesScale () const |
|
double | nStdDevForParamErrors () const |
|
bool | parTubeErrorsDrawCylinders () const |
|
int | numberOfPointsOnCircles () const |
|
double | materialEffectsOnTrackScale () const |
|
bool | showTruthAscObjs () const |
|
VP1Interval | cutAllowedPt () const |
|
VP1Interval | cutAllowedEta () const |
|
QList< VP1Interval > | cutAllowedPhi () const |
|
QList< unsigned > | cutRequiredNHits () const |
|
QString | cutRequiredDetectorElement () const |
|
void | vertexCutsAllowed (bool) |
|
bool | cutOnlyVertexAssocTracks () const |
|
bool | cutTruthFromIROnly () const |
|
bool | cutExcludeBarcodeZero () const |
|
bool | cutTruthExcludeNeutrals () const |
|
bool | showTotMomentumOnMultiTrackSelection () const |
|
bool | orientAndZoomOnSingleSelection () const |
|
bool | printInfoOnSingleSelection () const |
|
bool | printVerboseInfoOnSingleSelection () const |
|
bool | printTotMomentumOnMultiTrackSelection () const |
|
SoMaterial * | getMaterialForPDGCode (const int &pdgcode) const |
|
SoMaterial * | getMaterialForCharge (const double &charge) const |
|
SoMaterial * | getMaterialForMomentum (const double &absmom) const |
|
SoMaterial * | customMatMeasurements () const |
|
SoMaterial * | customMatMeasurementsOutliers () const |
|
SoMaterial * | customMatParameters () const |
|
SoMaterial * | customMatHoleParameters () const |
|
SoMaterial * | customMatParameterErrors () const |
|
SoMaterial * | customMatMaterialEffects () const |
|
SoMaterial * | customMatSurfaces () const |
|
SoDrawStyle * | ascObjDrawStyle () const |
|
SoComplexity * | ascObjComplexity () const |
|
QTreeWidget * | trackObjBrowser () const |
| Returns a pointer to the Track Object Browser (if it exists) More...
|
|
TrackSysCommonData * | common () const |
| Returns a pointer to the common data (if it exists) More...
|
|
void | setCommonData (TrackSysCommonData *) |
| set pointer to the common data More...
|
|
std::vector< double > | alignmentShiftValue () |
|
int | alignmentShiftLevel () |
|
bool | doTrackLabels () |
|
TrackLabelModes | trackLabels () |
|
float | trackLabelTrkOffset () |
| Percentage of postion along track. More...
|
|
QList< int > | trackLabelPosOffset () |
| Offset in x,y,z. More...
|
|
int | labelXOffset () |
| Absolute x offset. More...
|
|
int | labelYOffset () |
| Absolute y offset. More...
|
|
int | labelZOffset () |
| Absolute z offset. More...
|
|
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 |
|
|
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) |
|
Definition at line 49 of file TrackSystemController.h.
◆ PropagationOptionFlag
◆ TrackLabelMode
◆ TrackSystemController()
TrackSystemController::TrackSystemController |
( |
IVP1System * |
sys | ) |
|
Definition at line 263 of file TrackSystemController.cxx.
276 m_d->
ui.setupUi(
this);
322 m_d->
ui_proj.checkBox_projections_muonchambers->setChecked(
false);
323 m_d->
ui_proj.checkBox_projections_muonchambers->setEnabled(
false);
328 m_d->
ui_proj.checkBox_projections_indet->setChecked(
false);
329 m_d->
ui_proj.checkBox_projections_indet->setEnabled(
false);
510 l<<
"Object"<<
"Information";
517 QWidget *widget =
new QWidget;
525 m_d->
ui_int.checkBox_selsingle_printinfo->setChecked(
true);
◆ ~TrackSystemController()
TrackSystemController::~TrackSystemController |
( |
| ) |
|
|
virtual |
◆ actualRestoreSettings()
void TrackSystemController::actualRestoreSettings |
( |
VP1Deserialise & |
s | ) |
|
|
virtual |
Implements VP1Controller.
Definition at line 930 of file TrackSystemController.cxx.
932 messageDebug(
"TrackSystemController::actualRestoreSettings()");
946 message(
"Warning: State data in .vp1 file has unsupported version ("+
str(
s.version())+
")");
950 if (
s.version()<17) {
951 message(
"Warning: the VP1 GUI has changed since .vp1 file format version ("+
str(
s.version())+
"), which means you will have lost the line thickness etc. settings formally found in the Colouring pop-up dialogue.");
954 if (
s.version()<17) {
957 QString
tt =
s.restoreString();
959 if (
tt !=
"TrackSystemSettings") {
960 messageDebug(
"\n\nERROR!! Settings order does not match!!");
987 if (
s.version()>=17 &&
s.restoreString() !=
"Projections options")
messageDebug(
"\n\nERROR! --> 'Projections options'");
988 s.restore(
m_d->
ui_proj.checkBox_projections_indet);
989 s.restore(
m_d->
ui_proj.checkBox_projections_muonchambers);
990 if (
s.version()>=15){
991 s.restore(
m_d->
ui_proj.groupBox_projections_vertex);
992 s.restore(
m_d->
ui_proj.spinBox_projections_vertex);
993 s.restore(
m_d->
ui_proj.horizontalSlider_projections_vertex);
1008 if (
s.version()<17){
1020 if (
s.version()>=17 &&
s.restoreString() !=
"Propagation options")
messageDebug(
"\n\nERROR! --> 'Propagation options'");
1033 if (
s.version()>=17 &&
s.restoreString() !=
"Interactions options")
messageDebug(
"\n\nERROR! --> 'Interactions options'");
1034 if (
s.version()>=6) {
1035 s.restore(
m_d->
ui_int.lineEdit_fittedTrackCollName);
1037 s.widgetHandled(
m_d->
ui_int.comboBox_fitters);
1047 if (
s.version()==0) {
1057 if (
s.version()<=2) {
1067 if (
s.version()>=17 &&
s.restoreString() !=
"Colour options")
messageDebug(
"\n\nERROR! --> 'Colour options'");
1073 s.restore(
m_d->
ui_col.matButton_chargedkaons);
1074 s.restore(
m_d->
ui_col.matButton_othercharged);
1078 s.restore(
m_d->
ui_col.matButton_otherneutrals);
1079 if (
s.version()>=2) {
1083 s.restore(
m_d->
ui_col.matButton_charge_neutral);
1096 if (
s.version()>=17 &&
s.restoreString() !=
"Cuts options")
messageDebug(
"\n\nERROR! --> 'Cuts options'");
1099 s.restore(
m_d->
ui_cuts.doubleSpinBox_cut_minpt_gev);
1101 s.restore(
m_d->
ui_cuts.doubleSpinBox_cut_maxpt_gev);
1103 if (
s.version()>=10) {
1107 if (
s.version()>=7) {
1115 s.ignoreObsoletePhiSectionWidgetState();
1118 if (
s.version()>=9) {
1130 s.restore(
m_d->
ui_cuts.checkBox_cut_truthtracks_creationvertexinIR);
1131 s.restore(
m_d->
ui_cuts.checkBox_cut_truthtracks_excludeneutrals);
1132 s.restore(
m_d->
ui_cuts.checkBox_cut_truthtracks_excludebarcode0);
1134 if (
s.version()>=14)
s.restore(
m_d->
ui_cuts.checkBox_vertexAssociated);
1142 if (
s.version()>=17 &&
s.restoreString() !=
"Interactions options")
messageDebug(
"\n\nERROR! --> 'Interactions options'");
1144 s.restore(
m_d->
ui_int.radioButton_selmode_single,
1145 m_d->
ui_int.radioButton_selmode_multitracks,
1146 m_d->
ui_int.radioButton_selmode_trackfits);
1148 s.restore(
m_d->
ui_int.checkBox_selsingle_printinfo);
1149 s.restore(
m_d->
ui_int.checkBox_selsingle_printinfo_verbose);
1150 s.restore(
m_d->
ui_int.checkBox_selsingle_orientzoom);
1151 s.restore(
m_d->
ui_int.checkBox_sel_printtotmom);
1152 s.restore(
m_d->
ui_int.checkBox_sel_showtotmom);
1153 if (
s.version()>=12){
1155 s.restore(
m_d->
ui_int.checkBox_removeOutliers);
1156 s.restore(
m_d->
ui_int.comboBox_particleHypo);
1167 if (
s.version()>=17 &&
s.restoreString() !=
"AscObjs options")
messageDebug(
"\n\nERROR! --> 'AscObjs options'");
1169 s.restore(
m_d->
ui_ascobjs.checkBox_materialeffectsontrack_forceposontrack);
1170 s.restore(
m_d->
ui_ascobjs.checkBox_materialeffectsontrack_hideNoDE);
1173 if (
s.version()>=11)
s.restore(
m_d->
ui_ascobjs.checkBox_measurements_drawGP);
1177 if (
s.version()>=11)
s.restore(
m_d->
ui_ascobjs.checkBox_surfaces_hidetubesurfaces);
1178 s.restore(
m_d->
ui_ascobjs.checkBox_usecolour_materialeffectsontrack);
1181 if (
s.version()<12)
s.restore(
m_d->
ui_ascobjs.checkBox_parametererrors);
1184 if (
s.version()>=14)
1190 if (
s.version()>=12) {
1199 s.restore(
m_d->
ui_ascobjs.horizontalSlider_materialeffectsontrack_scale);
1205 if (
s.version()>=14)
1210 s.restore(
m_d->
ui_ascobjs.doubleSpinBox_measurements_shorttubes_scale);
1223 if (
s.version()>=17 &&
s.restoreString() !=
"Colouring options")
messageDebug(
"\n\nERROR! --> 'Colouring options'");
1224 if (
s.version()>=12){
1226 s.restore(
m_d->
ui_col.horizontalSlider_labels_trkOffset);
1227 s.restore(
m_d->
ui_col.horizontalSlider_labels_xOffset);
1228 s.restore(
m_d->
ui_col.horizontalSlider_labels_yOffset);
1229 s.restore(
m_d->
ui_col.horizontalSlider_labels_zOffset);
1231 s.restore(
m_d->
ui_col.checkBox_trkLabels_Pt);
1232 s.restore(
m_d->
ui_col.checkBox_trkLabels_pid);
1233 s.restore(
m_d->
ui_col.checkBox_trkLabels_hits);
1234 s.restore(
m_d->
ui_col.checkBox_trkLabels_fitQuality);
1236 if (
s.version()>=16)
1237 s.restore(
m_d->
ui_col.checkBox_trkLabels_direction);
1245 if (
s.version()>=17 &&
s.restoreString() !=
"Extrapolator options")
messageDebug(
"\n\nERROR! --> 'Extrapolator options'");
1246 if (
s.version()>=14){
1249 s.restore(
m_d->
ui_extrap.comboBox_extendAllInDetTracksToHere);
1253 if (
s.version()>=15){
1261 messageDebug(
"TrackSystemController::actualRestoreSettings() - DONE.");
◆ actualSaveSettings()
void TrackSystemController::actualSaveSettings |
( |
VP1Serialise & |
s | ) |
const |
|
virtual |
Implements VP1Controller.
Definition at line 686 of file TrackSystemController.cxx.
702 s.save(QString(
"TrackSystemSettings"));
714 s.save(QString(
"Projections options"));
716 s.save(
m_d->
ui_proj.checkBox_projections_muonchambers);
719 s.save(
m_d->
ui_proj.horizontalSlider_projections_vertex);
732 s.save(QString(
"Propagation options"));
743 s.save(QString(
"Interactions options"));
744 s.save(
m_d->
ui_int.lineEdit_fittedTrackCollName);
763 s.save(QString(
"Colour options"));
794 s.save(QString(
"Cuts options"));
816 s.save(
m_d->
ui_cuts.checkBox_cut_truthtracks_creationvertexinIR);
817 s.save(
m_d->
ui_cuts.checkBox_cut_truthtracks_excludeneutrals);
818 s.save(
m_d->
ui_cuts.checkBox_cut_truthtracks_excludebarcode0);
829 s.save(QString(
"Interactions options"));
831 s.save(
m_d->
ui_int.radioButton_selmode_single,
832 m_d->
ui_int.radioButton_selmode_multitracks,
833 m_d->
ui_int.radioButton_selmode_trackfits);
835 s.save(
m_d->
ui_int.checkBox_selsingle_printinfo);
836 s.save(
m_d->
ui_int.checkBox_selsingle_printinfo_verbose);
837 s.save(
m_d->
ui_int.checkBox_selsingle_orientzoom);
849 s.save(QString(
"AscObjs options"));
851 s.save(
m_d->
ui_ascobjs.checkBox_materialeffectsontrack_forceposontrack);
860 s.save(
m_d->
ui_ascobjs.checkBox_usecolour_materialeffectsontrack);
878 s.save(
m_d->
ui_ascobjs.horizontalSlider_materialeffectsontrack_scale);
887 s.save(
m_d->
ui_ascobjs.doubleSpinBox_measurements_shorttubes_scale);
894 s.save(QString(
"Colouring options"));
897 s.save(
m_d->
ui_col.horizontalSlider_labels_trkOffset);
898 s.save(
m_d->
ui_col.horizontalSlider_labels_xOffset);
899 s.save(
m_d->
ui_col.horizontalSlider_labels_yOffset);
900 s.save(
m_d->
ui_col.horizontalSlider_labels_zOffset);
905 s.save(
m_d->
ui_col.checkBox_trkLabels_fitQuality);
906 s.save(
m_d->
ui_col.checkBox_trkLabels_direction);
915 s.save(QString(
"Extrapolator options"));
925 messageVerbose(
"TrackSystemController::actualSaveSettings() - DONE.");
◆ addUpdateSlot()
const char * VP1Controller::addUpdateSlot |
( |
const char * |
slot | ) |
|
|
protectedinherited |
◆ alignmentShiftLevel()
int TrackSystemController::alignmentShiftLevel |
( |
| ) |
|
◆ alignmentShiftValue()
std::vector< double > TrackSystemController::alignmentShiftValue |
( |
| ) |
|
◆ ascObjComplexity()
SoComplexity * TrackSystemController::ascObjComplexity |
( |
| ) |
const |
◆ ascObjDrawStyle()
SoDrawStyle * TrackSystemController::ascObjDrawStyle |
( |
| ) |
const |
◆ assocObjDetailLevel()
◆ assocObjDetailLevelChanged
◆ availableExtrapolatorsChanged
void TrackSystemController::availableExtrapolatorsChanged |
( |
const QStringList & |
ae | ) |
|
|
privateslot |
Definition at line 1938 of file TrackSystemController.cxx.
1945 m_d->
ui_extrap.radioButton_athenaExtrapolator->setEnabled(
false);
1946 bool save1 =
m_d->
ui_extrap.radioButton_none->blockSignals(
true);
1947 bool save2 =
m_d->
ui_extrap.radioButton_helical->blockSignals(
true);
1948 bool save3 =
m_d->
ui_extrap.radioButton_athenaExtrapolator->blockSignals(
true);
1951 m_d->
ui_extrap.radioButton_athenaExtrapolator->setChecked(
false);
1952 if (!save1)
m_d->
ui_extrap.radioButton_none->blockSignals(
false);
1953 if (!save2)
m_d->
ui_extrap.radioButton_helical->blockSignals(
false);
1954 if (!save3)
m_d->
ui_extrap.radioButton_athenaExtrapolator->blockSignals(
false);
1956 m_d->
ui_extrap.radioButton_athenaExtrapolator->setEnabled(
true);
◆ availableFittersChanged
void TrackSystemController::availableFittersChanged |
( |
const QStringList & |
af | ) |
|
|
privateslot |
◆ changed()
template<class T >
bool VP1Controller::changed |
( |
T & |
lastval, |
|
|
const T & |
newval |
|
) |
| |
|
protectedinherited |
◆ collWidget()
◆ collWidgetContentChanged
void VP1Controller::collWidgetContentChanged |
( |
| ) |
|
|
slotinherited |
Definition at line 232 of file VP1Controller.cxx.
235 message(
"ERROR: Unexpected signal in collWidgetContentChanged slot!!");
238 QScrollArea* scrollarea =
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent());
240 scrollarea =
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent()->parent());
242 message(
"ERROR: m_d->collWidget not child or grandchild of a scroll area!!");
248 QScrollBar *
sb = scrollarea->verticalScrollBar();
251 scrollarea->setMinimumWidth(
width+2);
◆ common()
◆ connectToLastUpdateSlot() [1/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QButtonGroup * |
bg | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [2/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QCheckBox * |
cb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [3/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QComboBox * |
cb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [4/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QDoubleSpinBox * |
dsb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [5/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QGroupBox * |
gb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [6/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QObject * |
sender, |
|
|
const char * |
signal |
|
) |
| |
|
protectedinherited |
◆ connectToLastUpdateSlot() [7/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QRadioButton * |
rb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [8/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QSlider * |
s | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [9/10]
void VP1Controller::connectToLastUpdateSlot |
( |
QSpinBox * |
sb | ) |
|
|
protectedinherited |
◆ connectToLastUpdateSlot() [10/10]
◆ currentSettingsVersion()
int TrackSystemController::currentSettingsVersion |
( |
| ) |
const |
|
virtual |
◆ customColouredTSOSParts()
TrackCommonFlags::TSOSPartsFlags TrackSystemController::customColouredTSOSParts |
( |
| ) |
const |
◆ customColouredTSOSPartsChanged
void TrackSystemController::customColouredTSOSPartsChanged |
( |
TrackCommonFlags::TSOSPartsFlags |
| ) |
|
|
signal |
◆ customMatHoleParameters()
SoMaterial * TrackSystemController::customMatHoleParameters |
( |
| ) |
const |
◆ customMatMaterialEffects()
SoMaterial * TrackSystemController::customMatMaterialEffects |
( |
| ) |
const |
◆ customMatMeasurements()
SoMaterial * TrackSystemController::customMatMeasurements |
( |
| ) |
const |
◆ customMatMeasurementsOutliers()
SoMaterial * TrackSystemController::customMatMeasurementsOutliers |
( |
| ) |
const |
◆ customMatParameterErrors()
SoMaterial * TrackSystemController::customMatParameterErrors |
( |
| ) |
const |
◆ customMatParameters()
SoMaterial * TrackSystemController::customMatParameters |
( |
| ) |
const |
◆ customMatSurfaces()
SoMaterial * TrackSystemController::customMatSurfaces |
( |
| ) |
const |
◆ customTourEditor()
◆ cutAllowedEta()
VP1Interval TrackSystemController::cutAllowedEta |
( |
| ) |
const |
◆ cutAllowedEtaChanged
◆ cutAllowedPhi()
QList< VP1Interval > TrackSystemController::cutAllowedPhi |
( |
| ) |
const |
◆ cutAllowedPhiChanged
void TrackSystemController::cutAllowedPhiChanged |
( |
const QList< VP1Interval > & |
| ) |
|
|
signal |
◆ cutAllowedPt()
VP1Interval TrackSystemController::cutAllowedPt |
( |
| ) |
const |
Definition at line 1788 of file TrackSystemController.cxx.
1798 bool isPCut =
m_d->
ui_cuts.comboBox_momtype->currentText()==
"P";
1806 min = (
m_d->
ui_cuts.checkBox_cut_minpt->isChecked() ? minFromInterface : -std::numeric_limits<double>::infinity());
1807 max = (
m_d->
ui_cuts.checkBox_cut_maxpt->isChecked() ? maxFromInterface : std::numeric_limits<double>::infinity());
1809 min = (
m_d->
ui_cuts.checkBox_cut_maxpt->isChecked() ? -maxFromInterface : -std::numeric_limits<double>::infinity());
1810 max = (
m_d->
ui_cuts.checkBox_cut_minpt->isChecked() ? -minFromInterface : std::numeric_limits<double>::infinity());
◆ cutAllowedPtChanged
◆ cutExcludeBarcodeZero()
bool TrackSystemController::cutExcludeBarcodeZero |
( |
| ) |
const |
◆ cutExcludeBarcodeZeroChanged
void TrackSystemController::cutExcludeBarcodeZeroChanged |
( |
bool |
| ) |
|
|
signal |
◆ cutOnlyVertexAssocTracks()
bool TrackSystemController::cutOnlyVertexAssocTracks |
( |
| ) |
const |
◆ cutOnlyVertexAssocTracksChanged
void TrackSystemController::cutOnlyVertexAssocTracksChanged |
( |
bool |
| ) |
|
|
signal |
◆ cutRequiredDetectorElement()
QString TrackSystemController::cutRequiredDetectorElement |
( |
| ) |
const |
◆ cutRequiredDetectorElementChanged
void TrackSystemController::cutRequiredDetectorElementChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ cutRequiredNHits()
QList< unsigned > TrackSystemController::cutRequiredNHits |
( |
| ) |
const |
Definition at line 1834 of file TrackSystemController.cxx.
1836 unsigned npixel =
m_d->
ui_cuts.checkBox_cut_nhits_pixel->isChecked() ?
m_d->
ui_cuts.spinBox_cut_nhits_pixel->value() : 0;
1837 unsigned nsct =
m_d->
ui_cuts.checkBox_cut_nhits_sct->isChecked() ?
m_d->
ui_cuts.spinBox_cut_nhits_sct->value() : 0;
1838 unsigned ntrt =
m_d->
ui_cuts.checkBox_cut_nhits_trt->isChecked() ?
m_d->
ui_cuts.spinBox_cut_nhits_trt->value() : 0;
1839 unsigned nmuon =
m_d->
ui_cuts.checkBox_cut_nhits_muon->isChecked() ?
m_d->
ui_cuts.spinBox_cut_nhits_muon->value() : 0;
1840 unsigned nprecmuon =
m_d->
ui_cuts.checkBox_cut_nprecisionhits_muon->isChecked() ?
m_d->
ui_cuts.spinBox_cut_nprecisionhits_muon->value() : 0;
1843 if (!npixel&&!nsct&&!ntrt&&!nmuon&&!nprecmuon)
1845 l << npixel << nsct << ntrt << nmuon << nprecmuon;
◆ cutRequiredNHitsChanged
void TrackSystemController::cutRequiredNHitsChanged |
( |
const QList< unsigned > & |
| ) |
|
|
signal |
◆ cutTruthExcludeNeutrals()
bool TrackSystemController::cutTruthExcludeNeutrals |
( |
| ) |
const |
◆ cutTruthExcludeNeutralsChanged
void TrackSystemController::cutTruthExcludeNeutralsChanged |
( |
bool |
| ) |
|
|
signal |
◆ cutTruthFromIROnly()
bool TrackSystemController::cutTruthFromIROnly |
( |
| ) |
const |
◆ cutTruthFromIROnlyChanged
void TrackSystemController::cutTruthFromIROnlyChanged |
( |
bool |
| ) |
|
|
signal |
◆ defineRadioButtonGroup() [1/2]
QButtonGroup * VP1Controller::defineRadioButtonGroup |
( |
const QList< QRadioButton * > & |
l | ) |
|
|
protectedinherited |
Definition at line 300 of file VP1Controller.cxx.
302 QRadioButton * rb_checked(0);
303 for (QRadioButton *
rb :
l) {
304 if (
rb->isChecked()) {
309 QButtonGroup * radiogroup =
new QButtonGroup(
this);
310 for (QRadioButton *
rb :
l)
311 radiogroup->addButton(
rb);
313 rb_checked->setChecked(
true);
◆ 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.
293 QList<QRadioButton *>
l;
294 l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
◆ doTrackLabels()
bool TrackSystemController::doTrackLabels |
( |
| ) |
|
◆ drawMeasGlobalPositions()
bool TrackSystemController::drawMeasGlobalPositions |
( |
| ) |
const |
◆ drawMeasGlobalPositionsChanged
void TrackSystemController::drawMeasGlobalPositionsChanged |
( |
bool |
| ) |
|
|
signal |
◆ dummyUpdateTrigger
void VP1Controller::dummyUpdateTrigger |
( |
| ) |
|
|
signalinherited |
◆ emitExtrapolateToHereChanged
void TrackSystemController::emitExtrapolateToHereChanged |
( |
int |
| ) |
|
|
privateslot |
◆ emitRefit
void TrackSystemController::emitRefit |
( |
| ) |
|
|
privateslot |
◆ emitRerandomise
void TrackSystemController::emitRerandomise |
( |
| ) |
|
|
privateslot |
◆ enabledButtonStateChanged
void VP1Controller::enabledButtonStateChanged |
( |
| ) |
|
|
slotinherited |
Definition at line 167 of file VP1Controller.cxx.
169 Imp::DialogInfo * di(0);
171 if (di2->enabledButton==sender()) {
177 message(
"ERROR: enabledButtonStateChanged() triggered with unrecognised sender() ="
178 +QString(sender()?sender()->objectName():
"NULL"));
182 bool on(di->enabledButton->isChecked());
183 if (di->launchButton->isEnabled()!=on)
184 di->launchButton->setEnabled(on);
186 if (di->dialogWidget->isVisible())
187 di->dialogWidget->setVisible(
false);
188 if (di->dialogWidget->windowState()==Qt::WindowMinimized)
189 di->dialogWidget->setWindowState(Qt::WindowNoState);
◆ extrapolateToThisVolume()
Returns the volume to which we extrapolate ID tracks, or zero if no VolumesSvc found.
Definition at line 1691 of file TrackSystemController.cxx.
1693 if (
m_d->
ui_extrap.comboBox_extendAllInDetTracksToHere->currentText()==
"Calorimeter")
1695 if (
m_d->
ui_extrap.comboBox_extendAllInDetTracksToHere->currentText()==
"Muon Entrance")
1697 if (
m_d->
ui_extrap.comboBox_extendAllInDetTracksToHere->currentText()==
"Muon Exit")
◆ extrapolateToThisVolumeChanged
void TrackSystemController::extrapolateToThisVolumeChanged |
( |
void |
| ) |
|
|
signal |
◆ fallBackMaterial()
SoMaterial * VP1Controller::fallBackMaterial |
( |
| ) |
const |
|
protectedinherited |
◆ fitterMode()
Definition at line 1715 of file TrackSystemController.cxx.
1717 if (
m_d->
ui_int.comboBox_fitterMode->currentText()==
"Fit PRDs")
1719 else if (
m_d->
ui_int.comboBox_fitterMode->currentText()==
"Refit Track")
1721 else if (
m_d->
ui_int.comboBox_fitterMode->currentText()==
"Extend Track with PRDs")
1723 else if (
m_d->
ui_int.comboBox_fitterMode->currentText()==
"Combine Two Tracks")
1726 message(
"fitterMode ERROR: Inconsistency detected. Mode not known.");
◆ fitterParticleHypthesis()
Definition at line 1736 of file TrackSystemController.cxx.
1738 if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Pion")
1740 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Non Interacting")
1742 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Electron")
1744 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Muon")
1746 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Kaon")
1748 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Proton")
1750 else if (
m_d->
ui_int.comboBox_particleHypo->currentText()==
"Photon")
1753 message(
"fitterMode ERROR: Inconsistency detected. Mode not known.");
◆ fitterRemoveOutliers()
bool TrackSystemController::fitterRemoveOutliers |
( |
| ) |
const |
◆ getMaterial()
Definition at line 437 of file VP1Controller.cxx.
440 message(
"ERROR: Null material button pointer");
443 QList<SoMaterial*> mats =
mb->handledMaterials();
444 if (mats.count()!=1) {
445 message(
"ERROR: No material in button "+
mb->objectName());
◆ getMaterialForCharge()
SoMaterial * TrackSystemController::getMaterialForCharge |
( |
const double & |
charge | ) |
const |
◆ getMaterialForMomentum()
SoMaterial * TrackSystemController::getMaterialForMomentum |
( |
const double & |
absmom | ) |
const |
◆ getMaterialForPDGCode()
SoMaterial * TrackSystemController::getMaterialForPDGCode |
( |
const int & |
pdgcode | ) |
const |
Definition at line 1289 of file TrackSystemController.cxx.
1292 int abspdg = abs(pdgCode);
1294 case 211: matbutton =
m_d->
ui_col.matButton_pions;
break;
1295 case 11: matbutton =
m_d->
ui_col.matButton_electrons;
break;
1296 case 22: matbutton =
m_d->
ui_col.matButton_photons;
break;
1297 case 13: matbutton =
m_d->
ui_col.matButton_muons;
break;
1298 case 2212: matbutton =
m_d->
ui_col.matButton_protons;
break;
1299 case 2112: matbutton =
m_d->
ui_col.matButton_neutrons;
break;
1309 matbutton =
m_d->
ui_col.matButton_chargedkaons;
break;
1314 matbutton =
m_d->
ui_col.matButton_neutrinos;
break;
1320 message(
"WARNING: Could not look up charge of pdg code "+
str(abspdg)+
". Assuming charged.");
1324 matbutton =
m_d->
ui_col.matButton_otherneutrals;
1326 matbutton =
m_d->
ui_col.matButton_othercharged;
◆ helperClassName()
const QString& VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ hideCustomSurfaces()
bool TrackSystemController::hideCustomSurfaces |
( |
| ) |
const |
◆ hideTubeSurfaces()
bool TrackSystemController::hideTubeSurfaces |
( |
| ) |
const |
◆ ignoreMeasurementEffectsOnTrackInProp()
bool TrackSystemController::ignoreMeasurementEffectsOnTrackInProp |
( |
| ) |
|
◆ initDialog() [1/2]
void VP1Controller::initDialog |
( |
QWidget * |
dialog, |
|
|
QPushButton * |
launchbutton, |
|
|
QPushButton * |
closebutton, |
|
|
QAbstractButton * |
enabledButton = 0 |
|
) |
| |
|
protectedinherited |
Definition at line 123 of file VP1Controller.cxx.
125 QString txt(enabledButton?enabledButton->text():launchButton->text());
126 txt.replace(
"&&",
"&");
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);
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);
141 launchButton->setEnabled(enabledButton->isChecked());
143 m_d->
dialogs <<
new Imp::DialogInfo(launchButton,dialog,enabledButton);
149 dialog->installEventFilter(closeEventEater);
152 closeButton->setText(
"&Close");
153 closeButton->setToolTip(
"Close this dialog [Esc]");
154 connect(closeButton,SIGNAL(clicked()),dialog,SLOT(close()));
156 connect(
new QShortcut(QKeySequence(Qt::Key_Escape), dialog),SIGNAL(activated()),dialog,SLOT(close()));
161 maxwidth =
std::max(maxwidth,di->launchButton->sizeHint().width());
163 di->launchButton->setMinimumWidth(maxwidth);
◆ 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.
145 QWidget *
w =
new QWidget(0,Qt::WindowStaysOnTopHint);
147 initDialog(
w, launchbutton, theUI.pushButton_close,enabledButton);
◆ initLastVars()
void VP1Controller::initLastVars |
( |
| ) |
|
|
inherited |
◆ initTools()
void TrackSystemController::initTools |
( |
| ) |
|
< Really needed here??? FIXME
< Really needed here??? FIXME
Definition at line 535 of file TrackSystemController.cxx.
546 messageVerbose(
"Setting up tool helper to monitor extrapolators - start");
553 messageVerbose(
"Setting up tool helper to monitor extrapolators - end");
555 messageVerbose(
"Setting up tool helper to monitor fitters - start");
557 QStringList fittertypes;
558 fittertypes <<
"Trk::KalmanFitter"
559 <<
"Trk::GlobalChi2Fitter"
560 <<
"Trk::GaussianSumFilter"
561 <<
"Trk::DistributedKalmanFilter"
562 <<
"Trk::DeterministicAnnealingFilter";
567 messageVerbose(
"Setting up tool helper to monitor fitters - end");
574 m_d->
ui_extrap.radioButton_athenaExtrapolator->setEnabled(
false);
578 m_d->
ui_int.comboBox_fitters->setEnabled(
false);
◆ initVarsMode()
bool VP1Controller::initVarsMode |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ labelXOffset()
int TrackSystemController::labelXOffset |
( |
| ) |
|
◆ labelYOffset()
int TrackSystemController::labelYOffset |
( |
| ) |
|
◆ labelZOffset()
int TrackSystemController::labelZOffset |
( |
| ) |
|
◆ materialEffectsOnTrackScale()
double TrackSystemController::materialEffectsOnTrackScale |
( |
| ) |
const |
◆ materialEffectsOnTrackScaleChanged
void TrackSystemController::materialEffectsOnTrackScaleChanged |
( |
double |
| ) |
|
|
signal |
◆ measurementsShorttubesScale()
double TrackSystemController::measurementsShorttubesScale |
( |
| ) |
const |
◆ measurementsShorttubesScaleChanged
void TrackSystemController::measurementsShorttubesScaleChanged |
( |
double |
| ) |
|
|
signal |
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ 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.
133 if (addtostart.isEmpty()) {
137 if (addtoend.isEmpty()) {
138 for (
const QString&
s :
l)
141 for (
const QString&
s :
l)
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 91 of file VP1HelperClassBase.cxx.
93 if (addtoend.isEmpty()) {
94 for (
const QString&
s :
l)
97 for (
const QString&
s :
l)
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ 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.
151 if (addtostart.isEmpty()) {
155 if (addtoend.isEmpty()) {
156 for (
const QString&
s :
l)
159 for (
const QString&
s :
l)
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 103 of file VP1HelperClassBase.cxx.
107 if (addtoend.isEmpty()) {
108 for (
const QString&
s :
l)
111 for (
const QString&
s :
l)
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ 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.
169 if (addtostart.isEmpty()) {
173 if (addtoend.isEmpty()) {
174 for (
const QString&
s :
l)
177 for (
const QString&
s :
l)
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 117 of file VP1HelperClassBase.cxx.
121 if (addtoend.isEmpty()) {
122 for (
const QString&
s :
l)
125 for (
const QString&
s :
l)
◆ muonEDMPrinterTool()
◆ nameOfNewlyFittedCollections()
QString TrackSystemController::nameOfNewlyFittedCollections |
( |
| ) |
const |
◆ nStdDevForParamErrors()
double TrackSystemController::nStdDevForParamErrors |
( |
| ) |
const |
◆ nStdDevForParamErrorsChanged
void TrackSystemController::nStdDevForParamErrorsChanged |
( |
const double & |
| ) |
|
|
signal |
◆ numberOfPointsOnCircles()
int TrackSystemController::numberOfPointsOnCircles |
( |
| ) |
const |
◆ numberOfPointsOnCirclesChanged
void TrackSystemController::numberOfPointsOnCirclesChanged |
( |
int |
| ) |
|
|
signal |
◆ objectBrowserClicked
void TrackSystemController::objectBrowserClicked |
( |
QTreeWidgetItem * |
item, |
|
|
int |
|
|
) |
| |
|
privateslot |
Definition at line 2063 of file TrackSystemController.cxx.
2068 messageVerbose(
"TrackSystemController::objectBrowserClicked: Couldn't get VP1TrackSystem pointer");
2100 if (trkProxyHandle){
2107 messageVerbose(
"TrackSystemController::objectBrowserClicked: Couldn't get node pointer. Maybe object not visible?");
◆ orientAndZoomOnSingleSelection()
bool TrackSystemController::orientAndZoomOnSingleSelection |
( |
| ) |
const |
◆ parTubeErrorsDrawCylinders()
bool TrackSystemController::parTubeErrorsDrawCylinders |
( |
| ) |
const |
◆ parTubeErrorsDrawCylindersChanged
void TrackSystemController::parTubeErrorsDrawCylindersChanged |
( |
bool |
| ) |
|
|
signal |
◆ possibleChange_assocObjDetailLevel
void TrackSystemController::possibleChange_assocObjDetailLevel |
( |
| ) |
|
|
privateslot |
◆ possibleChange_customColouredTSOSParts
void TrackSystemController::possibleChange_customColouredTSOSParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutAllowedEta
void TrackSystemController::possibleChange_cutAllowedEta |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutAllowedPhi
void TrackSystemController::possibleChange_cutAllowedPhi |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutAllowedPt
void TrackSystemController::possibleChange_cutAllowedPt |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutExcludeBarcodeZero
void TrackSystemController::possibleChange_cutExcludeBarcodeZero |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutOnlyVertexAssocTracks
void TrackSystemController::possibleChange_cutOnlyVertexAssocTracks |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutRequiredDetectorElement
void TrackSystemController::possibleChange_cutRequiredDetectorElement |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutRequiredNHits
void TrackSystemController::possibleChange_cutRequiredNHits |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutTruthExcludeNeutrals
void TrackSystemController::possibleChange_cutTruthExcludeNeutrals |
( |
| ) |
|
|
privateslot |
◆ possibleChange_cutTruthFromIROnly
void TrackSystemController::possibleChange_cutTruthFromIROnly |
( |
| ) |
|
|
privateslot |
◆ possibleChange_drawMeasGlobalPositions
void TrackSystemController::possibleChange_drawMeasGlobalPositions |
( |
| ) |
|
|
privateslot |
◆ possibleChange_materialEffectsOnTrackScale
void TrackSystemController::possibleChange_materialEffectsOnTrackScale |
( |
| ) |
|
|
privateslot |
◆ possibleChange_measurementsShorttubesScale
void TrackSystemController::possibleChange_measurementsShorttubesScale |
( |
| ) |
|
|
privateslot |
◆ possibleChange_nStdDevForParamErrors
void TrackSystemController::possibleChange_nStdDevForParamErrors |
( |
| ) |
|
|
privateslot |
◆ possibleChange_numberOfPointsOnCircles
void TrackSystemController::possibleChange_numberOfPointsOnCircles |
( |
| ) |
|
|
privateslot |
◆ possibleChange_parTubeErrorsDrawCylinders
void TrackSystemController::possibleChange_parTubeErrorsDrawCylinders |
( |
| ) |
|
|
privateslot |
◆ possibleChange_propagationOptions
void TrackSystemController::possibleChange_propagationOptions |
( |
| ) |
|
|
privateslot |
◆ possibleChange_propagator
void TrackSystemController::possibleChange_propagator |
( |
| ) |
|
|
privateslot |
◆ possibleChange_propMaxRadius
void TrackSystemController::possibleChange_propMaxRadius |
( |
| ) |
|
|
privateslot |
◆ possibleChange_selectionMode
void TrackSystemController::possibleChange_selectionMode |
( |
| ) |
|
|
privateslot |
◆ possibleChange_shownTrackParts
void TrackSystemController::possibleChange_shownTrackParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_shownTSOSParts
void TrackSystemController::possibleChange_shownTSOSParts |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showTotMomentumOnMultiTrackSelection
void TrackSystemController::possibleChange_showTotMomentumOnMultiTrackSelection |
( |
| ) |
|
|
privateslot |
◆ possibleChange_showTruthAscObjs
void TrackSystemController::possibleChange_showTruthAscObjs |
( |
| ) |
|
|
privateslot |
◆ possibleChange_trackFitter
void TrackSystemController::possibleChange_trackFitter |
( |
| ) |
|
|
privateslot |
◆ possibleChange_trackLabelPosOffset
void TrackSystemController::possibleChange_trackLabelPosOffset |
( |
| ) |
|
|
privateslot |
◆ possibleChange_trackLabels
void TrackSystemController::possibleChange_trackLabels |
( |
| ) |
|
|
privateslot |
◆ possibleChange_trackLabelTrkOffset
void TrackSystemController::possibleChange_trackLabelTrkOffset |
( |
| ) |
|
|
privateslot |
◆ possibleChange_useShortMDTMeasurements
void TrackSystemController::possibleChange_useShortMDTMeasurements |
( |
| ) |
|
|
privateslot |
◆ possibleChange_useShortTRTMeasurements
void TrackSystemController::possibleChange_useShortTRTMeasurements |
( |
| ) |
|
|
privateslot |
◆ possibleChange_vertexProjectionAngle
void TrackSystemController::possibleChange_vertexProjectionAngle |
( |
| ) |
|
|
privateslot |
◆ printInfoOnSingleSelection()
bool TrackSystemController::printInfoOnSingleSelection |
( |
| ) |
const |
◆ printTotMomentumOnMultiTrackSelection()
bool TrackSystemController::printTotMomentumOnMultiTrackSelection |
( |
| ) |
const |
◆ printVerboseInfoOnSingleSelection()
bool TrackSystemController::printVerboseInfoOnSingleSelection |
( |
| ) |
const |
◆ propagationOptions()
TrackSystemController::PropagationOptionFlags TrackSystemController::propagationOptions |
( |
| ) |
const |
◆ propagationOptionsChanged
void TrackSystemController::propagationOptionsChanged |
( |
TrackSystemController::PropagationOptionFlags |
| ) |
|
|
signal |
◆ propagator()
◆ propagatorChanged
◆ propMaxRadius()
float TrackSystemController::propMaxRadius |
( |
| ) |
const |
◆ propMaxRadiusChanged
void TrackSystemController::propMaxRadiusChanged |
( |
float |
| ) |
|
|
signal |
◆ refit
void TrackSystemController::refit |
( |
| ) |
|
|
signal |
◆ rerandomise
void TrackSystemController::rerandomise |
( |
| ) |
|
|
signal |
◆ restoreSettings()
void VP1Controller::restoreSettings |
( |
const QByteArray & |
ba | ) |
|
|
inherited |
Definition at line 387 of file VP1Controller.cxx.
397 s.warnUnrestored((QWidget*)(
this));
399 s.warnUnrestored(di->dialogWidget);
◆ saveSettings()
QByteArray VP1Controller::saveSettings |
( |
| ) |
const |
|
inherited |
Definition at line 405 of file VP1Controller.cxx.
418 s.warnUnsaved((QWidget*)(
this));
420 s.warnUnsaved(di->dialogWidget);
◆ selectionMode()
Definition at line 1703 of file TrackSystemController.cxx.
1705 if (
m_d->
ui_int.radioButton_selmode_single->isChecked())
1707 else if (
m_d->
ui_int.radioButton_selmode_multitracks->isChecked())
1709 else if (
m_d->
ui_int.radioButton_selmode_trackfits->isChecked())
1711 message(
"selectionMode ERROR: Inconsistency detected.");
◆ selectionModeChanged
◆ setCommonData()
◆ setCustomTourEditor()
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setNumberOfSelectedPRDsAndTracks()
void TrackSystemController::setNumberOfSelectedPRDsAndTracks |
( |
unsigned |
prds, |
|
|
unsigned |
trks |
|
) |
| |
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ setupCollWidgetInScrollArea()
void VP1Controller::setupCollWidgetInScrollArea |
( |
QScrollArea * |
scrollarea, |
|
|
VP1CollectionWidget * |
collWidget |
|
) |
| |
|
protectedinherited |
Definition at line 255 of file VP1Controller.cxx.
257 if (!scrollarea || !collWidget) {
258 message(
"ERROR: NULL scrollarea or collWidget");
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);
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);
271 scrollarea->setContentsMargins(0,0,0,0);
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");
◆ shownTrackParts()
TrackCommonFlags::TrackPartsFlags TrackSystemController::shownTrackParts |
( |
| ) |
const |
◆ shownTrackPartsChanged
void TrackSystemController::shownTrackPartsChanged |
( |
TrackCommonFlags::TrackPartsFlags |
| ) |
|
|
signal |
◆ shownTSOSParts()
TrackCommonFlags::TSOSPartsFlags TrackSystemController::shownTSOSParts |
( |
| ) |
const |
◆ shownTSOSPartsChanged
void TrackSystemController::shownTSOSPartsChanged |
( |
TrackCommonFlags::TSOSPartsFlags |
| ) |
|
|
signal |
◆ showTotMomentumOnMultiTrackSelection()
bool TrackSystemController::showTotMomentumOnMultiTrackSelection |
( |
| ) |
const |
◆ showTotMomentumOnMultiTrackSelectionChanged
void TrackSystemController::showTotMomentumOnMultiTrackSelectionChanged |
( |
bool |
| ) |
|
|
signal |
◆ showTruthAscObjs()
bool TrackSystemController::showTruthAscObjs |
( |
| ) |
const |
◆ showTruthAscObjsChanged
void TrackSystemController::showTruthAscObjsChanged |
( |
bool |
| ) |
|
|
signal |
◆ str() [1/30]
◆ 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 |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ 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.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ testForChanges
void VP1Controller::testForChanges |
( |
| ) |
|
|
inlineprotectedslotinherited |
◆ toggleDialogState
void VP1Controller::toggleDialogState |
( |
QObject * |
widget = 0 | ) |
|
|
slotinherited |
Definition at line 194 of file VP1Controller.cxx.
196 Imp::DialogInfo * di(0);
198 if (di2->launchButton==sender() || (widget && di2->dialogWidget==widget)) {
205 message(
"ERROR: toggleDialogState() triggered with unrecognised sender() ="
206 +QString(sender()?sender()->objectName():
"NULL"));
210 bool oldvis = di->dialogWidget->isVisible();
212 if (oldvis&&di->dialogWidget->windowState()==Qt::WindowMinimized) {
213 di->dialogWidget->setWindowState(Qt::WindowNoState);
215 di->dialogWidget->setVisible(!oldvis);
216 if (!oldvis && di->neverShown) {
217 di->neverShown =
false;
226 if (di->launchButton->isCheckable() && oldvis){
227 di->launchButton->setChecked(
false);
◆ toString() [1/8]
QString VP1Controller::toString |
( |
const bool & |
par | ) |
|
|
staticprotectedinherited |
◆ toString() [2/8]
QString TrackSystemController::toString |
( |
const QList< int > & |
par | ) |
|
|
staticprivate |
◆ toString() [3/8]
QString TrackSystemController::toString |
( |
const QList< unsigned > & |
par | ) |
|
|
staticprivate |
◆ toString() [4/8]
◆ toString() [5/8]
template<class T >
static QString TrackSystemController::toString |
( |
const T & |
t | ) |
|
|
inlinestaticprivate |
◆ toString() [6/8]
◆ toString() [7/8]
◆ toString() [8/8]
QString VP1Controller::toString |
( |
SbColor4f |
p | ) |
|
|
staticprotectedinherited |
◆ trackFitter()
◆ trackFitterChanged
◆ trackLabelPosOffset()
QList< int > TrackSystemController::trackLabelPosOffset |
( |
| ) |
|
◆ trackLabelPosOffsetChanged
void TrackSystemController::trackLabelPosOffsetChanged |
( |
QList< int > |
| ) |
|
|
signal |
◆ trackLabels()
TrackSystemController::TrackLabelModes TrackSystemController::trackLabels |
( |
| ) |
|
◆ trackLabelsChanged
void TrackSystemController::trackLabelsChanged |
( |
TrackSystemController::TrackLabelModes |
| ) |
|
|
signal |
◆ trackLabelTrkOffset()
float TrackSystemController::trackLabelTrkOffset |
( |
| ) |
|
Percentage of postion along track.
Definition at line 2186 of file TrackSystemController.cxx.
2188 return static_cast<float>(
m_d->
ui_col.horizontalSlider_labels_trkOffset->value())/
static_cast<float>(
m_d->
ui_col.horizontalSlider_labels_trkOffset->maximum());
◆ trackLabelTrkOffsetChanged
void TrackSystemController::trackLabelTrkOffsetChanged |
( |
float |
| ) |
|
|
signal |
◆ trackObjBrowser()
QTreeWidget * TrackSystemController::trackObjBrowser |
( |
| ) |
const |
◆ updateAscObjComplexity
void TrackSystemController::updateAscObjComplexity |
( |
| ) |
|
|
privateslot |
◆ updateAscObjDrawStyle
void TrackSystemController::updateAscObjDrawStyle |
( |
| ) |
|
|
privateslot |
◆ updateFitPRDButtonState
void TrackSystemController::updateFitPRDButtonState |
( |
| ) |
|
|
privateslot |
◆ useShortMDTMeasurements()
bool TrackSystemController::useShortMDTMeasurements |
( |
| ) |
const |
◆ useShortMDTMeasurementsChanged
void TrackSystemController::useShortMDTMeasurementsChanged |
( |
bool |
| ) |
|
|
signal |
◆ useShortTRTMeasurements()
bool TrackSystemController::useShortTRTMeasurements |
( |
| ) |
const |
◆ useShortTRTMeasurementsChanged
void TrackSystemController::useShortTRTMeasurementsChanged |
( |
bool |
| ) |
|
|
signal |
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ vertexCutsAllowed()
void TrackSystemController::vertexCutsAllowed |
( |
bool |
b | ) |
|
◆ vertexProjectionAngle()
int TrackSystemController::vertexProjectionAngle |
( |
| ) |
const |
◆ vertexProjectionAngleChanged
void TrackSystemController::vertexProjectionAngleChanged |
( |
int |
| ) |
|
|
signal |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
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;
◆ m_customTourEditor
◆ m_d
Imp* TrackSystemController::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_initVarsMode
bool VP1Controller::m_initVarsMode |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
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)
void possibleChange_selectionMode()
const char * addUpdateSlot(const char *slot)
void setupCollWidgetInScrollArea(QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
void possibleChange_cutRequiredNHits()
static double getValueLineWidthSlider(const QSlider *)
static QString toString(const T &par)
void updateFitPRDButtonState()
Ui::TrackSysSettingsCutsForm ui_cuts
void possibleChange_cutAllowedPt()
const char * lastUpdateSlot
void dummyUpdateTrigger()
void possibleChange_trackLabelPosOffset()
VP1Controller(IVP1System *sys, const QString &classname)
SoNode * zoomToTSOS(unsigned int index)
Depending on controller configuration attempt to zoom to the corresponding TSOS & returned detailed n...
unsigned numberOfSelectedPRDs
void possibleChange_trackFitter()
static bool updateComboBoxContents(QComboBox *cb, const QStringList &l, QString &restoredSelection)
void messageVerbose(const QString &) const
QString restoredLastPropagator
SoMaterial * getMat(VP1MaterialButton *) const
SoMaterial * fallBackMaterial() const
SoNode * node(TrackHandleBase *h)
Returns the node associated with this handle.
void possibleChange_nStdDevForParamErrors()
SoDrawStyle * ascObjDrawStyle
static const bool s_vp1verbose
TrackCollWidget * trackcollwidget
void availableFittersChanged(const QStringList &)
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
Trk::ITrackFitter * last_trackFitter
VP1CollectionWidget * collWidget
Ui::VP1TrackControllerForm ui
virtual void actualSaveSettings(VP1Serialise &) const =0
SoMaterial * getMixedMaterial(const std::set< SoMaterial * > &)
void possibleChange_customColouredTSOSParts()
void updateAscObjDrawStyle()
@ TSOS_MaterialEffectsWithNoDeltaE
bit 12
void possibleChange_useShortTRTMeasurements()
@ TSOS_TrackParsErrorsPerigee
bit 2
void extrapolateToThisVolumeChanged(void)
static QString str(const QString &s)
void messageDebug(const QString &) const
void connectToLastUpdateSlot(QObject *sender, const char *signal)
void emitExtrapolateToHereChanged(int)
QString restoredLastFitter
Ui::TrackSysSettingsAscObjsForm ui_ascobjs
Ui::TrackObjectBrowser ui_objBrowser
bool initVarsMode() const
int currentSettingsVersion() const
@ TSOS_AnyMeasCompetingRioOnTrack
void possibleChange_trackLabelTrkOffset()
SoNode * zoomToTSOS(unsigned int index)
Depending on controller configuration attempt to zoom to the corresponding TSOS & returned detailed n...
static double getValuePointSizeSlider(const QSlider *)
Ui::TrackSysSettingsInteractionsForm ui_int
void possibleChange_cutTruthFromIROnly()
static const char * prefix_msg()
void objectBrowserClicked(QTreeWidgetItem *item, int)
void possibleChange_propagator()
void availableExtrapolatorsChanged(const QStringList &)
Trk::Volume * muonSpectrometerEntryLayer
static bool environmentVariableIsOn(const QString &name)
SoMaterial * fallBackMaterial
void possibleChange_propagationOptions()
TrackSysCommonData * common
QTreeWidget * objBrowserWidget
void possibleChange_measurementsShorttubesScale()
void possibleChange_cutRequiredDetectorElement()
SoMaterial * materialFallback
Trk::Volume * muonSpectrometerExitLayer
static bool hasSCTGeometry()
static double particleCharge(const int &pdgcode, bool &ok)
const QString & name() const
void possibleChange_parTubeErrorsDrawCylinders()
void possibleChange_useShortMDTMeasurements()
Ui::TrackSysSettingsProjectionsForm ui_proj
Trk::IExtrapolator * last_propagator
static bool hasTRTGeometry()
bool printInfoOnSingleSelection() const
Ui::TrackSysSettingsColouringForm ui_col
void possibleChange_shownTSOSParts()
@ TSOS_AnyMaterialEffects
@ TSOS_MaterialEffects
bit 13
VP1AvailableToolsHelper * toolhelper_extrapolators
unsigned numberOfSelectedTracks
static QColor sbcol2qcol(const SbColor &)
TrackCommonFlags::FITTERMODE fitterMode() const
void cutOnlyVertexAssocTracksChanged(bool)
IVP1System * systemBase() const
void possibleChange_cutAllowedEta()
static void ensureFittersCreated(IVP1System *)
void possibleChange_trackLabels()
void possibleChange_showTotMomentumOnMultiTrackSelection()
@ TSOS_SurfacesDetElem
bit 9
double charge(const T &p)
static const char * prefix_debug()
Ui::TrackSysShiftMuonChambersForm ui_shiftmuonchambers
SoComplexity * ascObjComplexity
TrackHandleBase * trackHandle(SoNode *n)
QList< DialogInfo * > dialogs
virtual void actualRestoreSettings(VP1Deserialise &)=0
void possibleChange_showTruthAscObjs()
void possibleChange_propMaxRadius()
static const char * prefix_verbose()
@ TSOS_AnyMeasurementNotOutlier
static const QString noneAvailString
VP1SoMaterialMixer * matmixer
@ TSOS_AnyMeasurementOutlier
void updateAscObjComplexity()
const double mb
1mb to cm2
void possibleChange_materialEffectsOnTrackScale()
@ TSOS_TrackParsErrorsNotPerigee
bit 1
static QString toString(const SELECTIONMODE &)
void collWidgetContentChanged()
QStringList lastUpdatedAvailableExtrapolators
void enabledButtonStateChanged()
TrackSysCommonData * common() const
Returns a pointer to the common data (if it exists)
Ui::TrackSysSettingsExtrapolationsForm ui_extrap
void possibleChange_vertexProjectionAngle()
void message(const QString &) const
void possibleChange_drawMeasGlobalPositions()
void possibleChange_cutTruthExcludeNeutrals()
void possibleChange_shownTrackParts()
@ TSOS_SurfacesCustom
bit 10
void possibleChange_numberOfPointsOnCircles()
void possibleChange_cutOnlyVertexAssocTracks()
static bool hasPixelGeometry()
void possibleChange_cutExcludeBarcodeZero()
@ TSOS_TubeSurfaces
bit 11
TrackSystemController * theclass
void toggleDialogState(QObject *widget=0)
static void ensureExtrapolatorsCreated(IVP1System *)
VP1ToolAccessHelper * toolaccesshelper
VP1AvailableToolsHelper * toolhelper_fitters
static bool hasMuonGeometry()
QStringList lastUpdatedAvailableFitters
void possibleChange_assocObjDetailLevel()
PropagationOptionFlags last_propagationOptions
Trk::Volume * calorimeterEntryLayer
void updateFitPRDButtonState()
void message(const QString &) const
static VP1CustomTourEditor * m_customTourEditor
void setNumberOfSelectedPRDsAndTracks(unsigned prds, unsigned trks)
void possibleChange_cutAllowedPhi()
virtual int currentSettingsVersion() const =0