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

#include <TrackCollHandle_TrkSegment.h>

Inheritance diagram for TrackCollHandle_TrkSegment:
Collaboration diagram for TrackCollHandle_TrkSegment:

Classes

class  Imp
 

Public Types

enum  COLOURBY {
  COLOUR_PERCOLLECTION, COLOUR_RANDOM, COLOUR_BYPID, COLOUR_MOMENTUM,
  COLOUR_CHARGE, COLOUR_DISTANCE, COLOUR_VERTEX
}
 

Public Slots

void rerandomiseRandomTrackColours ()
 
void trackSelectionChanged ()
 
void setShownTSOSParts (TrackCommonFlags::TSOSPartsFlags)
 
void setLabels (TrackSystemController::TrackLabelModes)
 
void setLabelTrkOffset (float)
 
void setLabelPosOffsets (const QList< int > &)
 
void setCustomColouredTSOSParts (TrackCommonFlags::TSOSPartsFlags)
 
void setUseShortTRTMeasurements (bool)
 
void setUseShortMDTMeasurements (bool)
 
void setDrawMeasGlobalPositions (bool)
 
void setMeasurementsShorttubesScale (double)
 
void setNStdDevForParamErrors (const double &)
 
void setNumberOfPointsOnCircles (int)
 
void setMaterialEffectsOnTrackScale (double)
 
void setParTubeErrorsDrawCylinders (bool)
 
void setRequiredNHits (const QList< unsigned > &)
 
void setRequiredDetectorElement (const QString &id)
 
void setOnlyVertexAssocTracks (bool)
 
void extrapolateToThisVolumeChanged (void)
 
void clipVolumeChanged (double)
 
void setVisible (bool)
 
void possibleChangeMatTranspOrBrightness ()
 

Signals

void visibilityChanged (bool)
 

Public Member Functions

 TrackCollHandle_TrkSegment (TrackSysCommonData *, const QString &name)
 
virtual ~TrackCollHandle_TrkSegment ()
 
void setupSettingsFromControllerSpecific (TrackSystemController *)
 
void visibleStateUpdated (TrackHandle_TrkSegment *)
 
bool mightHaveSubSystemHitInfo () const
 
virtual void init (VP1MaterialButtonBase *matBut=0)
 
void setupSettingsFromController (TrackSystemController *)
 
const QString & name () const
 
TrackSysCommonDatacommon () const
 
VP1ExtraSepLayerHelpersephelper () const
 
virtual bool canUsePropagator ()
 
double trackTubeRadius () const
 
virtual QByteArray persistifiableState () const
 Provide specific implementation. More...
 
virtual void setState (const QByteArray &)
 Provide specific implementation. More...
 
void recheckCutStatusOfAllVisibleHandles ()
 
void recheckCutStatusOfAllNotVisibleHandles ()
 
void recheckCutStatusOfAllHandles ()
 
void update3DObjectsOfAllHandles (bool onlythosetouchingmuonchambers=false, bool invalidatePropagatedPoints=false, float maxR=0.0)
 
void updateMaterialOfAllHandles ()
 
void updateInDetProjectionsOfAllHandles ()
 
void updateMuonProjectionsOfAllHandles ()
 
int nShownHandles ()
 
void incrementNShownHandles ()
 
void decrementNShownHandles ()
 
virtual bool mayHaveAssociatedObjects () const
 
Trk::IExtrapolatorpropagator () const
 
TrackSystemController::PropagationOptionFlags propagationOptions ()
 
bool ignoreMEOTinProp () const
 
bool extendTracks () const
 
TrackCommonFlags::TrackPartsFlags parts () const
 
COLOURBY colourBy () const
 
virtual COLOURBY defaultColourBy () const
 
virtual bool allowColourByPID () const
 
virtual bool allowColourByDistanceFromSelectedTrack () const
 
virtual bool allowColourByVertex () const
 
virtual void collMaterialTransparencyAndBrightnessChanged ()
 
bool useDefaultCuts () const
 Return true if this collection uses the default (i.e. More...
 
bool cutOnlyVertexAssocTracks () const
 Return true if this collection should only should tracks associated to a vertex. More...
 
VP1Interval cutAllowedPt () const
 
VP1Interval cutAllowedEta () const
 
QList< VP1IntervalcutAllowedPhi () const
 
QList< unsigned > cutRequiredNHits () const
 
void vertexCutsAllowed (bool)
 
bool cutTruthFromIROnly () const
 
bool cutExcludeBarcodeZero () const
 
bool cutTruthExcludeNeutrals () const
 
bool visible () const
 
bool isLoaded () const
 
bool problemsLoading () const
 
QString text () const
 
SoSwitch * collSwitch () const
 Add this somewhere in your scenegraph (do not add any children here!) More...
 
SoSeparator * collSep () const
 All 3D objects from this coll. More...
 
SoMaterial * material () const
 
double collMaterialTransparency () const
 
double collMaterialBrightness () const
 
virtual void largeChangesBegin ()
 
virtual void largeChangesEnd ()
 
qint32 collTypeID () const
 
QByteArray persistifiableID () const
 
QString section () const
 
QString sectionToolTip () const
 
virtual QList< QWidget * > widgetsForGuiRow () const
 
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 QStringList availableCollections (IVP1System *)
 
static QString toString (const COLOURBY &)
 
static VP1CollStates getStates (const QList< VP1Collection * > &)
 
static void applyStates (const QList< VP1Collection * > &, const VP1CollStates &)
 
static void updateStates (VP1CollStates &state, const VP1CollStates &newInfo)
 
template<class T >
static QList< VP1Collection * > toBaseCollList (const QList< T * > &)
 
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 Member Functions

bool load ()
 
bool cut (TrackHandleBase *)
 
virtual QColor defaultColor () const
 
virtual bool allowColourByMomentum () const
 
virtual bool allowColourByCharge () const
 
void hintNumberOfTracksInEvent (unsigned)
 
void addTrackHandle (TrackHandleBase *)
 
void trackHandleIterationBegin ()
 
TrackHandleBasegetNextTrackHandle ()
 
template<class T >
void cleanupPtrContainer (T &) const
 
void recheckCutStatus (TrackHandleBase *)
 
qint32 provideCollTypeID () const
 
virtual QString provideSection () const
 
virtual QString provideSectionToolTip () const
 
virtual QString provideText () const
 
virtual void assignDefaultMaterial (SoMaterial *) const
 
QList< QWidget * > provideExtraWidgetsForGuiRow () const
 
QByteArray extraWidgetsState () const
 
void setExtraWidgetsState (const QByteArray &)
 
QList< QWidget * > provideWidgetsForGuiRow () const
 
virtual QString checkBoxToolTip () const
 
virtual QString matButtonToolTip () const
 
virtual QByteArray providePersistifiableID () const
 
void setHelperClassName (const QString &n)
 

Private Slots

void colourByComboBoxItemChanged ()
 
void collVisibilityChanged (bool)
 
void setPropagator (Trk::IExtrapolator *)
 
void setPropagationOptions (TrackSystemController::PropagationOptionFlags)
 
void setPropMaxRadius (float)
 
void setParts (TrackCommonFlags::TrackPartsFlags)
 
void setParts (int)
 
void setTrackTubeRadius (const double &)
 
void setColourBy (COLOURBY)
 
void setUseDefaultCuts (bool)
 
void setCutAllowedPt (const VP1Interval &)
 
void setCutAllowedEta (const VP1Interval &)
 
void setCutAllowedPhi (const QList< VP1Interval > &)
 
void setActualPathShown (bool)
 

Private Member Functions

void actualSetShownTSOSPartsOnHandles ()
 
void actualSetCustomColouredTSOSPartsOnHandles ()
 
void fillObjectBrowser ()
 
void updateObjectBrowserVisibilityCounts ()
 

Private Attributes

Impm_d
 
int m_nshownhandles
 
TrackType::Type m_type
 
TrackSysCommonDatam_commonData
 
VP1ExtraSepLayerHelperm_sephelper
 
Trk::IExtrapolatorm_propagator
 
TrackSystemController::PropagationOptionFlags m_propagationOptions
 
float m_propMaxRadius
 
TrackCommonFlags::TrackPartsFlags m_parts
 
TrackSystemController::TrackLabelModes m_labels
 
float m_labelsTrkOffset
 
QList< int > m_labelsPosOffsets
 
double m_trackTubeRadius
 
COLOURBY m_colourby
 
VP1Interval m_cut_allowedPtSq
 
VP1Interval m_cut_allowedEta
 
QList< VP1Intervalm_cut_allowedPhi
 
QList< unsigned > m_cut_requiredNHits
 
QString m_requiredDetectorElement
 
bool m_cut_pt_allowall
 
bool m_cut_eta_allowall
 
bool m_cut_phi_allowall
 
bool m_cut_etaptphi_allwillfail
 
QString m_helpername
 
IVP1Systemm_system
 

Static Private Attributes

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

Detailed Description

Definition at line 25 of file TrackCollHandle_TrkSegment.h.

Member Enumeration Documentation

◆ COLOURBY

Enumerator
COLOUR_PERCOLLECTION 
COLOUR_RANDOM 
COLOUR_BYPID 
COLOUR_MOMENTUM 
COLOUR_CHARGE 
COLOUR_DISTANCE 
COLOUR_VERTEX 

Definition at line 138 of file TrackCollHandleBase.h.

Constructor & Destructor Documentation

◆ TrackCollHandle_TrkSegment()

TrackCollHandle_TrkSegment::TrackCollHandle_TrkSegment ( TrackSysCommonData cd,
const QString &  name 
)

Definition at line 86 of file TrackCollHandle_TrkSegment.cxx.

89 {
90 }

◆ ~TrackCollHandle_TrkSegment()

TrackCollHandle_TrkSegment::~TrackCollHandle_TrkSegment ( )
virtual

Definition at line 93 of file TrackCollHandle_TrkSegment.cxx.

94 {
95  delete m_d;
96 }

Member Function Documentation

◆ actualSetCustomColouredTSOSPartsOnHandles()

void TrackCollHandleBase::actualSetCustomColouredTSOSPartsOnHandles ( )
privateinherited

Definition at line 888 of file TrackCollHandleBase.cxx.

889 {
892  TrackHandleBase* handle;
893  while ((handle=getNextTrackHandle()))
895  largeChangesEnd();
896 }

◆ actualSetShownTSOSPartsOnHandles()

void TrackCollHandleBase::actualSetShownTSOSPartsOnHandles ( )
privateinherited

Definition at line 899 of file TrackCollHandleBase.cxx.

900 {
903  TrackHandleBase* handle;
904  while ((handle=getNextTrackHandle()))
906  largeChangesEnd();
907 
908  fillObjectBrowser(); // FIXME! Probably not the right place to call this
909 }

◆ addTrackHandle()

void TrackCollHandleBase::addTrackHandle ( TrackHandleBase handle)
protectedinherited

Definition at line 515 of file TrackCollHandleBase.cxx.

516 {
517  m_d->trackhandles.push_back(handle);
518 }

◆ allowColourByCharge()

virtual bool TrackCollHandle_TrkSegment::allowColourByCharge ( ) const
inlineprotectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 47 of file TrackCollHandle_TrkSegment.h.

47 { return false; }

◆ allowColourByDistanceFromSelectedTrack()

virtual bool TrackCollHandleBase::allowColourByDistanceFromSelectedTrack ( ) const
inlinevirtualinherited

Definition at line 147 of file TrackCollHandleBase.h.

147 {return VP1QtUtils::environmentVariableIsOn("VP1_TRKSYS_COLOURBYDIST"); }

◆ allowColourByMomentum()

virtual bool TrackCollHandle_TrkSegment::allowColourByMomentum ( ) const
inlineprotectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 46 of file TrackCollHandle_TrkSegment.h.

46 { return false; }

◆ allowColourByPID()

virtual bool TrackCollHandleBase::allowColourByPID ( ) const
inlinevirtualinherited

Reimplemented in TrackCollHandle_SimulationTracks, and TrackCollHandle_TruthTracks.

Definition at line 144 of file TrackCollHandleBase.h.

144 { return false; }

◆ allowColourByVertex()

virtual bool TrackCollHandleBase::allowColourByVertex ( ) const
inlinevirtualinherited

Reimplemented in TrackCollHandle_TrkTrack.

Definition at line 148 of file TrackCollHandleBase.h.

148 { return false; }

◆ applyStates()

void VP1Collection::applyStates ( const QList< VP1Collection * > &  cols,
const VP1CollStates states 
)
staticinherited

Definition at line 108 of file VP1Collection.cxx.

109 {
110  VP1Msg::messageDebug("VP1Collection::applyStates() - start...");
111  for (VP1Collection* col : cols)
112  if (states.contains(col->persistifiableID()))
113  col->setState(states.value(col->persistifiableID()));
114  VP1Msg::messageDebug("VP1Collection::applyStates() - end.");
115 }

◆ assignDefaultMaterial()

void TrackCollHandleBase::assignDefaultMaterial ( SoMaterial *  m) const
protectedvirtualinherited

Implements VP1StdCollection.

Definition at line 1154 of file TrackCollHandleBase.cxx.

1155 {
1156  VP1QtInventorUtils::setMatColor( m, defaultColor(), 0.18/*brightness*/ );
1157 }

◆ availableCollections()

QStringList TrackCollHandle_TrkSegment::availableCollections ( IVP1System sys)
static

Definition at line 37 of file TrackCollHandle_TrkSegment.cxx.

38 {
39  //There must be at least one of the trackers available for this to make sense.
42  sys->messageDebug("TrackCollHandle_TrkSegment::availableCollections: Neither"
43  " Pixel, SCT, TRT or Muon geometry available. Won't"
44  " look in event store for Trk::Track collections");
45  return {};
46  }
47 
48  QStringList keysInSG = VP1SGContentsHelper(sys).getKeys<Trk::SegmentCollection>();
49  if (keysInSG.isEmpty()||Imp::alwaysShowAllTrackColls)
50  return keysInSG;
51 
52  QRegExp needsMuonsPattern("Converted.*|.*MBoy.*|.*Moore.*|.*Mu.*|.*Staco.*");
53  QRegExp needsAllIDPattern(".*Id.*|.*ID.*|.*InDet.*|.*Inner.*");
54  QRegExp needsTRTPattern(".*Trt.*|.*TRT.*|.*trt.*");
55 
56  const bool jobcfgAllID
60 
61  QStringList outkeys;
62 
63  for (const QString& key : keysInSG) {
64  if (!VP1JobConfigInfo::hasMuonGeometry() && needsMuonsPattern.exactMatch(key)) {
65  sys->messageDebug("TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
66  +key+"' since muon geometry is not present in job.");
67  continue;
68  }
69  if (!VP1JobConfigInfo::hasTRTGeometry() && needsTRTPattern.exactMatch(key)) {
70  sys->messageDebug("TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
71  +key+"' since TRT geometry is not present in job.");
72  continue;
73  }
74  if (!jobcfgAllID && needsAllIDPattern.exactMatch(key)) {
75  sys->messageDebug("TrackCollHandle_TrkSegment::availableCollections: Ignoring key '"
76  +key+"' since pixel, sct and trt geometry are not all present in job.");
77  continue;
78  }
79  outkeys<<key;
80  }
81  return outkeys;
82 
83 }

◆ canUsePropagator()

virtual bool TrackCollHandleBase::canUsePropagator ( )
inlinevirtualinherited

Definition at line 83 of file TrackCollHandleBase.h.

83 { return true; }

◆ checkBoxToolTip()

virtual QString VP1StdCollection::checkBoxToolTip ( ) const
inlineprotectedvirtualinherited

Reimplemented in VP1MissingEtHandle, VP1MissingEtCaloHandle, and VP1MissingEtTruthHandle.

Definition at line 76 of file VP1StdCollection.h.

76 { return "Collection "+text(); }

◆ cleanupPtrContainer()

template<class T >
void TrackCollHandleBase::cleanupPtrContainer ( T &  t) const
protectedinherited

Definition at line 254 of file TrackCollHandleBase.h.

255 {
256  typename T::iterator it(t.begin()), itE(t.end());
257  for (;it!=itE;++it)
258  delete *it;
259  t.clear();
260 }

◆ clipVolumeChanged

void TrackCollHandleBase::clipVolumeChanged ( double  radius)
slotinherited

Definition at line 552 of file TrackCollHandleBase.cxx.

552  {
553  messageVerbose("clipVolumeChanged ==> Changed");
554  update3DObjectsOfAllHandles(false, false, radius);
555 }

◆ collMaterialBrightness()

double VP1StdCollection::collMaterialBrightness ( ) const
inherited

Definition at line 342 of file VP1StdCollection.cxx.

343 {
344  return m_d->lastMatBrightness;
345 }

◆ collMaterialTransparency()

double VP1StdCollection::collMaterialTransparency ( ) const
inherited

Definition at line 336 of file VP1StdCollection.cxx.

337 {
338  return m_d->lastMatTransparency;
339 }

◆ collMaterialTransparencyAndBrightnessChanged()

void TrackCollHandleBase::collMaterialTransparencyAndBrightnessChanged ( )
virtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1220 of file TrackCollHandleBase.cxx.

1221 {
1222  messageVerbose("Collection colour changed");
1223 
1224  if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByRandom()) {
1227  TrackHandleBase* handle;
1228  while ((handle=getNextTrackHandle()))
1230  largeChangesEnd();
1231  } else {
1233  }
1234 }

◆ collSep()

SoSeparator * VP1StdCollection::collSep ( ) const
inherited

All 3D objects from this coll.

belongs under here.

Definition at line 212 of file VP1StdCollection.cxx.

213 {
214  if (!m_d->collsep)
215  message("ERROR: collSep() called before init()");
216  return m_d->collsep;
217 }

◆ collSwitch()

SoSwitch * VP1StdCollection::collSwitch ( ) const
inherited

Add this somewhere in your scenegraph (do not add any children here!)

Definition at line 204 of file VP1StdCollection.cxx.

205 {
206  if (!m_d->theswitch)
207  message("ERROR: collSwitch() called before init()");
208  return m_d->theswitch;
209 }

◆ collTypeID()

qint32 VP1StdCollection::collTypeID ( ) const
inherited

Definition at line 315 of file VP1StdCollection.cxx.

316 {
317  if (!m_d->idProvided) {
318  m_d->idProvided = true;
319  m_d->id = provideCollTypeID();
320  }
321  return m_d->id;
322 }

◆ collVisibilityChanged

void TrackCollHandleBase::collVisibilityChanged ( bool  vis)
privateslotinherited

Definition at line 1055 of file TrackCollHandleBase.cxx.

1056 {
1057  if (!m_sephelper)
1059 
1060  if (VP1Msg::verbose())
1061  messageVerbose("TrackCollHandleBase::collVisibilityChanged => "+str(vis));
1062  if (vis){
1063  recheckCutStatusOfAllNotVisibleHandles();//Fixme -> ofallhandles? All must be not visible anyway...
1065  if (m_d->objBrowseTree) m_d->objBrowseTree->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled); // selectable, enabled
1066  }else{
1068 // QTreeWidget* trkObjBrowser = common()->controller()->trackObjBrowser();
1069 // if (m_d->objBrowseTree && trkObjBrowser) {
1070 // trkObjBrowser->takeTopLevelItem(trkObjBrowser->indexOfTopLevelItem(m_d->objBrowseTree));
1071 // delete m_d->objBrowseTree; m_d->objBrowseTree=0;
1072 // }
1073  // FIXME - need to loop through handles setting pointers to deleted QTreeWidgetItems
1074  if (m_d->objBrowseTree) m_d->objBrowseTree->setFlags(Qt::ItemFlags()); // not selectable, not enabled
1075  }
1078 }

◆ colourBy()

COLOURBY TrackCollHandleBase::colourBy ( ) const
inlineinherited

Definition at line 141 of file TrackCollHandleBase.h.

141 { return m_colourby; }

◆ colourByComboBoxItemChanged

void TrackCollHandleBase::colourByComboBoxItemChanged ( )
privateslotinherited

Definition at line 1200 of file TrackCollHandleBase.cxx.

1201 {
1202  messageVerbose("Collection detail level combo box changed index");
1203  if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByPID())
1205  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByRandom())
1207  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByMomentum())
1209  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByCharge())
1213  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByVertex())
1215  else
1217 }

◆ common()

TrackSysCommonData* TrackCollHandleBase::common ( ) const
inlineinherited

Definition at line 79 of file TrackCollHandleBase.h.

79 { return m_commonData; }

◆ cut()

bool TrackCollHandle_TrkSegment::cut ( TrackHandleBase handle)
protectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 132 of file TrackCollHandle_TrkSegment.cxx.

133 {
134  if (!TrackCollHandleBase::cut(handle))
135  return false;
136 
137  //fixme: more?
138  return true;
139 }

◆ cutAllowedEta()

VP1Interval TrackCollHandleBase::cutAllowedEta ( ) const
inherited

◆ cutAllowedPhi()

QList<VP1Interval> TrackCollHandleBase::cutAllowedPhi ( ) const
inherited

◆ cutAllowedPt()

VP1Interval TrackCollHandleBase::cutAllowedPt ( ) const
inherited

◆ cutExcludeBarcodeZero()

bool TrackCollHandleBase::cutExcludeBarcodeZero ( ) const
inherited

◆ cutOnlyVertexAssocTracks()

bool TrackCollHandleBase::cutOnlyVertexAssocTracks ( ) const
inherited

Return true if this collection should only should tracks associated to a vertex.

Definition at line 1245 of file TrackCollHandleBase.cxx.

1246 {
1247  if (!m_d->matButton) {
1248  message("ERROR: cutOnlyVertexAssocTracks(..) called before init()");
1249  return false;
1250  }
1253 }

◆ cutRequiredNHits()

QList<unsigned> TrackCollHandleBase::cutRequiredNHits ( ) const
inherited

◆ cutTruthExcludeNeutrals()

bool TrackCollHandleBase::cutTruthExcludeNeutrals ( ) const
inherited

◆ cutTruthFromIROnly()

bool TrackCollHandleBase::cutTruthFromIROnly ( ) const
inherited

◆ decrementNShownHandles()

void TrackCollHandleBase::decrementNShownHandles ( )
inlineinherited

Definition at line 126 of file TrackCollHandleBase.h.

126 { --m_nshownhandles; }

◆ defaultColor()

virtual QColor TrackCollHandle_TrkSegment::defaultColor ( ) const
inlineprotectedvirtual

Implements TrackCollHandleBase.

Definition at line 45 of file TrackCollHandle_TrkSegment.h.

45 { return QColor::fromRgbF(0.75f, 0.39f, 1.0f ); }

◆ defaultColourBy()

virtual COLOURBY TrackCollHandleBase::defaultColourBy ( ) const
inlinevirtualinherited

Reimplemented in TrackCollHandle_SimulationTracks, and TrackCollHandle_TruthTracks.

Definition at line 143 of file TrackCollHandleBase.h.

143 { return COLOUR_PERCOLLECTION; }

◆ extendTracks()

bool TrackCollHandleBase::extendTracks ( ) const
inlineinherited

Definition at line 135 of file TrackCollHandleBase.h.

◆ extrapolateToThisVolumeChanged

void TrackCollHandleBase::extrapolateToThisVolumeChanged ( void  )
slotinherited

Definition at line 547 of file TrackCollHandleBase.cxx.

547  {
548  messageVerbose("extrapolateToThisVolume ==> Changed");
549  update3DObjectsOfAllHandles(false,true);
550 }

◆ extraWidgetsState()

QByteArray TrackCollHandleBase::extraWidgetsState ( ) const
protectedvirtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1180 of file TrackCollHandleBase.cxx.

1181 {
1182  VP1Serialise serialise(0/*version*/,systemBase());
1184  serialise.disableUnsavedChecks();
1185  return serialise.result();
1186 }

◆ fillObjectBrowser()

void TrackCollHandleBase::fillObjectBrowser ( )
privateinherited

Definition at line 1092 of file TrackCollHandleBase.cxx.

1093 {
1094  QElapsedTimer t;
1095  t.start();
1096 
1097  QTreeWidget* trkObjBrowser = common()->controller()->trackObjBrowser();
1098  if (!trkObjBrowser) {
1099  messageVerbose("TrackCollHandleBase::fillObjectBrowser: no common()->controller()->trackObjBrowser(). Aborting");
1100  return;
1101  }
1102  if (!nShownHandles()) {
1103  //messageVerbose("TrackCollHandleBase::fillObjectBrowser: no shown handles, so leaving.");
1104  return; // don't bother with hidden collection
1105  }
1106  messageVerbose("TrackCollHandleBase::fillObjectBrowser called for "+name());
1107 
1108  trkObjBrowser->setUpdatesEnabled(false);
1109 
1110  bool firstTime=false;
1111  if (!m_d->objBrowseTree) {
1112  m_d->objBrowseTree = new QTreeWidgetItem(0);
1113  firstTime=true;
1114  messageVerbose("TrackCollHandleBase::fillObjectBrowser: First time so creating QTreeWidgetItem.");
1115  } else {
1116  int index = trkObjBrowser->indexOfTopLevelItem(m_d->objBrowseTree);
1117  if (index==-1 ) {
1118  messageVerbose("Missing from WidgetTree! Will continue but something must be wrong");
1119  }
1120  }
1121 
1122  messageVerbose("TrackCollHandleBase::fillObjectBrowser about to start looping over tracks at "+QString::number(t.elapsed())+" ms");
1123 
1124  QList<QTreeWidgetItem *> list;
1126  TrackHandleBase* trkHandle=nullptr;
1127  unsigned int i=0;
1128  unsigned int numVisible=0;
1129  while ((trkHandle=getNextTrackHandle()))
1130  {
1131  if (firstTime){
1132  trkHandle->fillObjectBrowser(list);
1133  } else {
1134  trkHandle->updateObjectBrowser();
1135  }
1136 
1137  if (trkHandle->visible() ) numVisible++;
1138  i++;
1139  }
1140 
1141  QString text(QString(": (")+QString::number(numVisible)+QString("/")+QString::number(i)+QString(") visible"));
1142 
1143  m_d->objBrowseTree->setText(0, name());
1144  m_d->objBrowseTree->setText(1, text);
1145  m_d->objBrowseTree->addChildren(list);
1146  trkObjBrowser->addTopLevelItem(m_d->objBrowseTree);
1147  trkObjBrowser->setUpdatesEnabled(true);
1148 
1149  messageVerbose("TrackCollHandleBase::fillObjectBrowser completed in "+QString::number(t.elapsed())+" ms");
1150 
1151 }

◆ getNextTrackHandle()

TrackHandleBase * TrackCollHandleBase::getNextTrackHandle ( )
protectedinherited

Definition at line 724 of file TrackCollHandleBase.cxx.

724  {
726  return nullptr;
727  else
728  return *(m_d->itTrackHandles++);
729 }

◆ getStates()

VP1CollStates VP1Collection::getStates ( const QList< VP1Collection * > &  cols)
staticinherited

Definition at line 92 of file VP1Collection.cxx.

93 {
94  VP1Msg::messageDebug("VP1Collection::getStates() - start...");
95 
97  for (VP1Collection* col : cols) {
98  VP1Msg::messageDebug("inserting collection: " + col->section() );
99  states.insert(col->persistifiableID(),col->persistifiableState());
100  }
101 
102  VP1Msg::messageDebug("VP1Collection::getStates() - end.");
103 
104  return states;
105 }

◆ helperClassName()

const QString& VP1HelperClassBase::helperClassName ( ) const
inlineinherited

Definition at line 51 of file VP1HelperClassBase.h.

51 { return m_helpername; }

◆ hintNumberOfTracksInEvent()

void TrackCollHandleBase::hintNumberOfTracksInEvent ( unsigned  n)
protectedinherited

Definition at line 509 of file TrackCollHandleBase.cxx.

510 {
511  m_d->trackhandles.reserve(n);
512 }

◆ ignoreMEOTinProp()

bool TrackCollHandleBase::ignoreMEOTinProp ( ) const
inlineinherited

Definition at line 134 of file TrackCollHandleBase.h.

◆ incrementNShownHandles()

void TrackCollHandleBase::incrementNShownHandles ( )
inlineinherited

Definition at line 125 of file TrackCollHandleBase.h.

125 { ++m_nshownhandles; }

◆ init()

void TrackCollHandleBase::init ( VP1MaterialButtonBase matBut = 0)
virtualinherited

Reimplemented from VP1StdCollection.

Definition at line 144 of file TrackCollHandleBase.cxx.

145 {
147  m_d->matButton->setText(text());
148  VP1StdCollection::init(m_d->matButton);//this call is required. Passing in TrackCollectionSettingsButton means we have the more complex button.
149 
150  setupSettingsFromController(common()->controller());
151 
152  //Setup colour by:
153  m_d->comboBox_colourby->setToolTip("Determine how tracks from this collection are coloured.\n The 'Dist. Sel.' option means the tracks will be coloured by distance from the last selected track. ");
154  QStringList l;
157  if (allowColourByPID())
159  if (allowColourByMomentum())
161  if (allowColourByCharge())
165  if (allowColourByVertex()) {
166  // messageVerbose("Allow colour by vertex!");
168  }
169  m_d->comboBox_colourby->addItems(l);
170  m_d->comboBox_colourby->setCurrentIndex(0);//corresponds to per collection.
171  connect(m_d->comboBox_colourby,SIGNAL(currentIndexChanged(int)),
172  this,SLOT(colourByComboBoxItemChanged()));
173 
174  connect(this,SIGNAL(visibilityChanged(bool)),this,SLOT(collVisibilityChanged(bool)));
176 
177  // add stuff to control per collection settings.
178  collSwitch()->addChild(m_d->matButton->trackLightModel());
179  collSwitch()->addChild(m_d->matButton->trackDrawStyle());
180 }

◆ isLoaded()

bool VP1StdCollection::isLoaded ( ) const
inherited

Definition at line 148 of file VP1StdCollection.cxx.

149 {
150  return m_d->loaded;
151 }

◆ largeChangesBegin()

void VP1StdCollection::largeChangesBegin ( )
virtualinherited

Reimplemented in VP1CaloClusterCollection.

Definition at line 228 of file VP1StdCollection.cxx.

229 {
230  if (!m_d->collsep)
231  message("ERROR: largeChangesBegin() called before init()");
232  m_d->collsep->enableNotify(false);
234  m_d->theswitch->enableNotify(false);
236 }

◆ largeChangesEnd()

void VP1StdCollection::largeChangesEnd ( )
virtualinherited

Reimplemented in VP1CaloClusterCollection.

Definition at line 239 of file VP1StdCollection.cxx.

240 {
241  if (!m_d->collsep)
242  message("ERROR: largeChangesEnd() called before init()");
243  if (m_d->largechangescount_sep>0) {
244  if (--(m_d->largechangescount_sep)==0) {
245  m_d->collsep->enableNotify(true);
246  m_d->collsep->touch();
247  }
248  }
249  if (m_d->largechangescount_switch>0) {
250  if (--(m_d->largechangescount_switch)==0) {
251  m_d->theswitch->enableNotify(true);
252  m_d->theswitch->touch();
253  }
254  }
255 }

◆ load()

bool TrackCollHandle_TrkSegment::load ( )
protectedvirtual

Implements VP1StdCollection.

Definition at line 105 of file TrackCollHandle_TrkSegment.cxx.

106 {
107  //Get collection:
108  const Trk::SegmentCollection *segmentColl(nullptr);
109  if (!VP1SGAccessHelper(systemBase()).retrieve(segmentColl, name())) {
110  common()->systemBase()->message("Error: Could not retrieve segment collection with key="+name());
111  return false;
112  }
113 
114  //Make appropriate trk::segment handles:
115  hintNumberOfTracksInEvent(segmentColl->size());
116  int i(0);
117  Trk::SegmentCollection::const_iterator segItr, segItrEnd = segmentColl->end();
118  for ( segItr = segmentColl->begin() ; segItr != segItrEnd; ++segItr) {
119  if (*segItr)
120  addTrackHandle(new TrackHandle_TrkSegment(this,*segItr));
121  else
122  common()->systemBase()->messageDebug("WARNING: Ignoring null Trk::Segment pointer.");
123 
124  if (!(i++%100))
125  common()->systemBase()->updateGUI();
126  }
127 
128  return true;
129 }

◆ matButtonToolTip()

virtual QString VP1StdCollection::matButtonToolTip ( ) const
inlineprotectedvirtualinherited

Reimplemented in AODCollHandleBase.

Definition at line 77 of file VP1StdCollection.h.

77 { return "Edit the material of "+text(); }

◆ material()

SoMaterial * VP1StdCollection::material ( ) const
inherited

Definition at line 220 of file VP1StdCollection.cxx.

221 {
222  if (!m_d->material)
223  message("ERROR: material() called before init()");
224  return m_d->material;
225 }

◆ mayHaveAssociatedObjects()

virtual bool TrackCollHandleBase::mayHaveAssociatedObjects ( ) const
inlinevirtualinherited

Definition at line 128 of file TrackCollHandleBase.h.

128 { return false; }

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

◆ mightHaveSubSystemHitInfo()

bool TrackCollHandle_TrkSegment::mightHaveSubSystemHitInfo ( ) const
inlinevirtual

Reimplemented from TrackCollHandleBase.

Definition at line 40 of file TrackCollHandle_TrkSegment.h.

40 { return true; }

◆ name()

const QString & TrackCollHandleBase::name ( ) const
inherited

Definition at line 310 of file TrackCollHandleBase.cxx.

311 {
312  return m_d->name;
313 }

◆ nShownHandles()

int TrackCollHandleBase::nShownHandles ( )
inlineinherited

Definition at line 123 of file TrackCollHandleBase.h.

123 { return m_nshownhandles; }

◆ parts()

TrackCommonFlags::TrackPartsFlags TrackCollHandleBase::parts ( ) const
inlineinherited

Definition at line 136 of file TrackCollHandleBase.h.

136 { return m_parts; }

◆ persistifiableID()

QByteArray VP1Collection::persistifiableID ( ) const
inherited

Definition at line 49 of file VP1Collection.cxx.

50 {
51  VP1Msg::messageDebug("VP1Collection::persistifiableID()");
52 
53  if (!m_d->persistIDProvided) {
54  m_d->persistIDProvided = true;
55  m_d->persistID = providePersistifiableID().toHex();//toHex() necessary for some unknown reason!
56  //Without it keys in maps are apparently considered similar! (Qt bug??)
57  }
58  return m_d->persistID;
59 }

◆ persistifiableState()

QByteArray TrackCollHandleBase::persistifiableState ( ) const
virtualinherited

Provide specific implementation.

Reimplemented from VP1StdCollection.

Definition at line 1283 of file TrackCollHandleBase.cxx.

1284 {
1285  if (!m_d->matButton) {
1286  message("ERROR: persistifiableState() called before init()");
1287  return {};
1288  }
1289  VP1Serialise serialise(1/*version*/);
1290  serialise.disableUnsavedChecks();
1291  serialise.save(visible());
1292  Q_ASSERT(m_d->matButton&&"Did you forget to call init() on this VP1StdCollection?");
1293  serialise.save(m_d->matButton->saveState());
1294  serialise.save(extraWidgetsState());//version 1+
1295  return serialise.result();
1296 }

◆ possibleChangeMatTranspOrBrightness

void VP1StdCollection::possibleChangeMatTranspOrBrightness ( )
slotinherited

Definition at line 348 of file VP1StdCollection.cxx.

349 {
350  double t = m_d->matButton->lastAppliedTransparency();
351  double b = m_d->matButton->lastAppliedBrightness();
352  if ( m_d->lastMatTransparency == t && m_d->lastMatBrightness == b )
353  return;
357 }

◆ problemsLoading()

bool VP1StdCollection::problemsLoading ( ) const
inherited

Definition at line 154 of file VP1StdCollection.cxx.

155 {
156  return m_d->problemsloading;
157 }

◆ propagationOptions()

TrackSystemController::PropagationOptionFlags TrackCollHandleBase::propagationOptions ( )
inlineinherited

Definition at line 132 of file TrackCollHandleBase.h.

132 { return m_propagationOptions; }

◆ propagator()

Trk::IExtrapolator* TrackCollHandleBase::propagator ( ) const
inlineinherited

Definition at line 131 of file TrackCollHandleBase.h.

131 { return m_propagator; }

◆ provideCollTypeID()

qint32 TrackCollHandleBase::provideCollTypeID ( ) const
protectedvirtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1049 of file TrackCollHandleBase.cxx.

1050 {
1051  return TrackType::typeToInt(m_type);
1052 }

◆ provideExtraWidgetsForGuiRow()

QList< QWidget * > TrackCollHandleBase::provideExtraWidgetsForGuiRow ( ) const
protectedvirtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1173 of file TrackCollHandleBase.cxx.

1174 {
1175  return QList<QWidget*>() << m_d->comboBox_colourby;
1176 
1177 }

◆ providePersistifiableID()

QByteArray VP1StdCollection::providePersistifiableID ( ) const
protectedvirtualinherited

Implements VP1Collection.

Reimplemented in VP1MissingEtHandle.

Definition at line 325 of file VP1StdCollection.cxx.

326 {
327  VP1Serialise serialise(-10/*version*/);//we use negative versions here (0 and -10 already used),
328  //to allow derived classes to use positive numbers.
329  serialise.disableUnsavedChecks();
330  serialise.save(collTypeID());
331  serialise.save(text());
332  return serialise.result();
333 }

◆ provideSection()

virtual QString TrackCollHandleBase::provideSection ( ) const
inlineprotectedvirtualinherited

Implements VP1Collection.

Definition at line 171 of file TrackCollHandleBase.h.

171 { return TrackType::typeToSectionHeader(m_type); };//FIXME

◆ provideSectionToolTip()

virtual QString TrackCollHandleBase::provideSectionToolTip ( ) const
inlineprotectedvirtualinherited

Reimplemented from VP1Collection.

Definition at line 172 of file TrackCollHandleBase.h.

◆ provideText()

virtual QString TrackCollHandleBase::provideText ( ) const
inlineprotectedvirtualinherited

Implements VP1StdCollection.

Definition at line 173 of file TrackCollHandleBase.h.

173 { return name(); };//FIXME

◆ provideWidgetsForGuiRow()

QList< QWidget * > VP1StdCollection::provideWidgetsForGuiRow ( ) const
protectedvirtualinherited

Implements VP1Collection.

Definition at line 258 of file VP1StdCollection.cxx.

259 {
261 
262  QList<QWidget*> l;
263  l << m_d->checkBox;
264  l << m_d->matButton;
265  l << m_d->extraWidgets;
266  return l;
267 }

◆ recheckCutStatus()

void TrackCollHandleBase::recheckCutStatus ( TrackHandleBase handle)
protectedinherited

Definition at line 380 of file TrackCollHandleBase.cxx.

381 {
382  handle->setVisible( visible() && cut(handle));
383 }

◆ recheckCutStatusOfAllHandles()

void TrackCollHandleBase::recheckCutStatusOfAllHandles ( )
inherited

Definition at line 425 of file TrackCollHandleBase.cxx.

426 {
427  if (!isLoaded())
428  return;
431  for (;it!=itE;++it)
434  largeChangesEnd();
435 
436  message("recheckCutStatusOfAllHandles: "+str(nShownHandles())+"/"+str(m_d->trackhandles.size())+" pass cuts");
437 }

◆ recheckCutStatusOfAllNotVisibleHandles()

void TrackCollHandleBase::recheckCutStatusOfAllNotVisibleHandles ( )
inherited

Definition at line 407 of file TrackCollHandleBase.cxx.

408 {
409  if (!isLoaded())
410  return;
411 
414  for (;it!=itE;++it) {
415  if (!(*it)->visible())
417  }
419  largeChangesEnd();
420 
421  message("recheckCutStatusOfAllNotVisibleHandles: "+str(nShownHandles())+"/"+str(m_d->trackhandles.size())+" pass cuts");
422 }

◆ recheckCutStatusOfAllVisibleHandles()

void TrackCollHandleBase::recheckCutStatusOfAllVisibleHandles ( )
inherited

Definition at line 386 of file TrackCollHandleBase.cxx.

387 {
388  if (!isLoaded())
389  return;
390 
391  //This method is called when a cut is tightened - thus we better start by deselectAll to avoid weird highlighting issues.
392  common()->system()->deselectAll();
393 
396  for (;it!=itE;++it) {
397  if ((*it)->visible())
399  }
401  largeChangesEnd();
402 
403  message("recheckCutStatusOfAllVisibleHandles: "+str(nShownHandles())+"/"+str(m_d->trackhandles.size())+" pass cuts");
404 }

◆ rerandomiseRandomTrackColours

void TrackCollHandleBase::rerandomiseRandomTrackColours ( )
slotinherited

Definition at line 689 of file TrackCollHandleBase.cxx.

690 {
691  if (!isLoaded())
692  return;
693  messageVerbose("rerandomiseRandomTrackColours start");
696  for (;it!=itE;++it)
697  (*it)->rerandomiseRandomMaterial();
698  largeChangesEnd();
699  messageVerbose("rerandomiseRandomTrackColours end");
700 }

◆ section()

QString VP1Collection::section ( ) const
inherited

Definition at line 72 of file VP1Collection.cxx.

73 {
74  if (!m_d->sectionProvided) {
75  m_d->sectionProvided = true;
77  }
78  return m_d->section;
79 }

◆ sectionToolTip()

QString VP1Collection::sectionToolTip ( ) const
inherited

Definition at line 82 of file VP1Collection.cxx.

83 {
87  }
88  return m_d->sectionToolTip;
89 }

◆ sephelper()

VP1ExtraSepLayerHelper* TrackCollHandleBase::sephelper ( ) const
inlineinherited

Definition at line 81 of file TrackCollHandleBase.h.

81 { return m_sephelper; }//For attaching/detaching. FIXME: TO BASE!!

◆ setActualPathShown

void TrackCollHandleBase::setActualPathShown ( bool  hide)
privateslotinherited

Definition at line 579 of file TrackCollHandleBase.cxx.

580 {
581  messageVerbose("setActualPathShown(bool) called with hide="+str(hide));
582 
583  TrackCommonFlags::TrackPartsFlags parts = m_parts;
584  if (hide) parts &= ~TrackCommonFlags::ActualPath;
586  setParts(parts);
587 }

◆ setColourBy

void TrackCollHandleBase::setColourBy ( TrackCollHandleBase::COLOURBY  cb)
privateslotinherited

Definition at line 634 of file TrackCollHandleBase.cxx.

635 {
636  messageVerbose("setColourBy called");
637  if (m_colourby==cb)
638  return;
639  messageVerbose("setColourBy ==> Changed");
640  m_colourby=cb;
641 
642  //Update gui combobox:
643  QString targetText;
644  switch(cb) {
645  case COLOUR_BYPID:
646  targetText = Imp::comboBoxEntry_ColourByPID();
647  break;
648  case COLOUR_RANDOM:
649  targetText = Imp::comboBoxEntry_ColourByRandom();
650  break;
651  case COLOUR_MOMENTUM:
653  break;
654  case COLOUR_CHARGE:
655  targetText = Imp::comboBoxEntry_ColourByCharge();
656  break;
657  case COLOUR_DISTANCE:
659  break;
660  case COLOUR_VERTEX:
661  targetText = Imp::comboBoxEntry_ColourByVertex();
662  break;
663  default:
666  break;
667  }
668  if (targetText!=m_d->comboBox_colourby->currentText()) {
669  int i = m_d->comboBox_colourby->findText(targetText);
670  if (i>=0&&i<m_d->comboBox_colourby->count()) {
671  bool save = m_d->comboBox_colourby->blockSignals(true);
672  m_d->comboBox_colourby->setCurrentIndex(i);
673  m_d->comboBox_colourby->blockSignals(save);
674  } else {
675  message("ERROR: Problems finding correct text in combo box");
676  }
677  }
678 
679  //Actual material updates:
681  m_commonData->system()->deselectAll();//Todo: Reselect the selected track handles
682  //afterwards (collhandles should know selected handles)
684  largeChangesEnd();
685 
686 }

◆ setCustomColouredTSOSParts

void TrackCollHandleBase::setCustomColouredTSOSParts ( TrackCommonFlags::TSOSPartsFlags  f)
slotinherited

Definition at line 923 of file TrackCollHandleBase.cxx.

924 {
926  return;
928  if (visible()) messageVerbose("custom coloured TSOS parts changed to "+str(f));
930 }

◆ setCutAllowedEta

void TrackCollHandleBase::setCutAllowedEta ( const VP1Interval allowedEta)
privateslotinherited

Definition at line 784 of file TrackCollHandleBase.cxx.

785 {
786  messageVerbose("signal received in setCutAllowedEta ("+allowedEta.toString()+")");
787  if (!allowedEta.isSane())
788  return;
789 
790  if (m_cut_allowedEta==allowedEta)
791  return;
792  m_cut_eta_allowall = allowedEta.isAllR();
794 
795  if (!m_cut_allowedEta.contains(allowedEta)&&!allowedEta.contains(m_cut_allowedEta)) {
796  m_cut_allowedEta = allowedEta;
798  return;
799  }
800  bool relaxcut = allowedEta.contains(m_cut_allowedEta);
801  m_cut_allowedEta = allowedEta;
802  if (relaxcut)
804  else
806 }

◆ setCutAllowedPhi

void TrackCollHandleBase::setCutAllowedPhi ( const QList< VP1Interval > &  allowedPhi)
privateslotinherited

Definition at line 809 of file TrackCollHandleBase.cxx.

810 {
811  messageVerbose("signal received in setCutAllowedPhi.");
812 
813  if (m_cut_allowedPhi==allowedPhi)
814  return;
815  m_cut_allowedPhi = allowedPhi;
816 
817  m_cut_phi_allowall = m_cut_allowedPhi.count()==1 && m_cut_allowedPhi.at(0).isAllR();
819 
820  if (m_cut_phi_allowall) {
822  return;
823  }
826  return;
827  }
829 }

◆ setCutAllowedPt

void TrackCollHandleBase::setCutAllowedPt ( const VP1Interval allowedpt)
privateslotinherited

Definition at line 745 of file TrackCollHandleBase.cxx.

746 {
747  if (!allowedpt.isSane())
748  return;
749 
750  //why do we need to do this? Why does it matter if it's negative?
751  //double minptsq = allowedpt.lower() <= 0.0 ? -std::numeric_limits<double>::infinity() : allowedpt.lower()*allowedpt.lower();
752  //VP1Interval allowedptsq(minptsq,allowedpt.upper()*allowedpt.upper());
753 
754  //Modified code from EJWM
755  double signMin = allowedpt.lower()<0.0 ? -1.0 : 1.0;
756  double signMax = allowedpt.upper()<0.0 ? -1.0 : 1.0;
757  double minptsq = allowedpt.lower() == -std::numeric_limits<double>::infinity() ? -std::numeric_limits<double>::infinity() : signMin*(allowedpt.lower()*allowedpt.lower());
758  double maxptsq = allowedpt.upper() == std::numeric_limits<double>::infinity() ? std::numeric_limits<double>::infinity() : signMax*(allowedpt.upper()*allowedpt.upper());
759 
760  VP1Interval allowedptsq(minptsq,maxptsq);
761  // std::cout<<"allowedptsq:isAllR"<<allowedptsq.isAllR()<<std::endl;
762  // std::cout<<"allowedptsq.isEmpty()"<<allowedptsq.isEmpty()<<std::endl;
763 
764 
765  if (m_cut_allowedPtSq==allowedptsq)
766  return;
767  m_cut_pt_allowall = allowedptsq.isAllR();
768  m_cut_etaptphi_allwillfail = allowedptsq.isEmpty() || m_cut_allowedEta.isEmpty() || m_cut_allowedPhi.isEmpty();
769 
770  if (!m_cut_allowedPtSq.contains(allowedptsq)&&!allowedptsq.contains(m_cut_allowedPtSq)) {
771  m_cut_allowedPtSq = allowedptsq;
773  return;
774  }
775  bool relaxcut = allowedptsq.contains(m_cut_allowedPtSq);
776  m_cut_allowedPtSq = allowedptsq;
777  if (relaxcut)
779  else
781 }

◆ setDrawMeasGlobalPositions

void TrackCollHandleBase::setDrawMeasGlobalPositions ( bool  b)
slotinherited

Definition at line 962 of file TrackCollHandleBase.cxx.

963 {
964  // if (visible()) messageVerbose("TrackCollHandleBase::setDrawMeasGlobalPositions => "+str(b));
965 
967  return;
969 
972  TrackHandleBase* handle;
973  while ((handle=getNextTrackHandle()))
975  largeChangesEnd();
976 }

◆ setExtraWidgetsState()

void TrackCollHandleBase::setExtraWidgetsState ( const QByteArray &  ba)
protectedvirtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1189 of file TrackCollHandleBase.cxx.

1190 {
1191  VP1Deserialise state(ba, systemBase());
1192  if (state.version()!=0)
1193  return;//just ignore silently... i guess we ought to warn?
1194  state.restore(m_d->comboBox_colourby);
1195  state.disableUnrestoredChecks();
1197 }

◆ setHelperClassName()

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

Definition at line 59 of file VP1HelperClassBase.h.

59 { m_helpername = n; }

◆ setLabelPosOffsets

void TrackCollHandleBase::setLabelPosOffsets ( const QList< int > &  offsets)
slotinherited

Definition at line 612 of file TrackCollHandleBase.cxx.

613 {
614  messageVerbose("setLabelPosOffsets called");
615  if (m_labelsPosOffsets==offsets)
616  return;
617  messageVerbose("setLabelPosOffsets ==> Changed");
618  m_labelsPosOffsets = offsets;
620 }

◆ setLabels

void TrackCollHandleBase::setLabels ( TrackSystemController::TrackLabelModes  labels)
slotinherited

Definition at line 590 of file TrackCollHandleBase.cxx.

591 {
592  messageVerbose("setLabels called");
593  if (m_labels==labels)
594  return;
595  messageVerbose("setLabels ==> Changed");
596  m_labels = labels;
598 }

◆ setLabelTrkOffset

void TrackCollHandleBase::setLabelTrkOffset ( float  offset)
slotinherited

Definition at line 601 of file TrackCollHandleBase.cxx.

602 {
603  messageVerbose("setLabelTrkOffset called");
605  return;
606  messageVerbose("setLabelTrkOffset ==> Changed to "+QString::number(offset));
609 }

◆ setMaterialEffectsOnTrackScale

void TrackCollHandleBase::setMaterialEffectsOnTrackScale ( double  n)
slotinherited

Definition at line 1021 of file TrackCollHandleBase.cxx.

1022 {
1024  return;
1028  TrackHandleBase* handle;
1029  while ((handle=getNextTrackHandle()))
1031  largeChangesEnd();
1032 }

◆ setMeasurementsShorttubesScale

void TrackCollHandleBase::setMeasurementsShorttubesScale ( double  n)
slotinherited

Definition at line 979 of file TrackCollHandleBase.cxx.

980 {
982  return;
986  TrackHandleBase* handle;
987  while ((handle=getNextTrackHandle()))
989  largeChangesEnd();
990 }

◆ setNStdDevForParamErrors

void TrackCollHandleBase::setNStdDevForParamErrors ( const double &  nstddev)
slotinherited

Definition at line 993 of file TrackCollHandleBase.cxx.

994 {
995  if (m_d->tsos_nStdDevForParamErrors==nstddev)
996  return;
1000  TrackHandleBase* handle;
1001  while ((handle=getNextTrackHandle()))
1002  handle->updateShapes_TSOSWithErrors();
1003  largeChangesEnd();
1004 }

◆ setNumberOfPointsOnCircles

void TrackCollHandleBase::setNumberOfPointsOnCircles ( int  n)
slotinherited

Definition at line 1007 of file TrackCollHandleBase.cxx.

1008 {
1010  return;
1014  TrackHandleBase* handle;
1015  while ((handle=getNextTrackHandle()))
1016  handle->updateShapes_TSOSWithErrors();
1017  largeChangesEnd();
1018 }

◆ setOnlyVertexAssocTracks

void TrackCollHandleBase::setOnlyVertexAssocTracks ( bool  b)
slotinherited

Definition at line 878 of file TrackCollHandleBase.cxx.

878  {
879  messageVerbose("setOnlyVertexAssocTracks changed to "+str(b));
880 
881  if (b)
883  else
885 }

◆ setParts [1/2]

void TrackCollHandleBase::setParts ( int  angle)
privateslotinherited

Definition at line 570 of file TrackCollHandleBase.cxx.

571 {
572  messageVerbose("setParts(int) called with angle="+str(angle));
573  //bit of a hack this- didn't want to make entire new machinery just to track angle.
574  // FIXME
575  update3DObjectsOfAllHandles(false,true);
576 }

◆ setParts [2/2]

void TrackCollHandleBase::setParts ( TrackCommonFlags::TrackPartsFlags  parts)
privateslotinherited

Definition at line 558 of file TrackCollHandleBase.cxx.

559 {
560  messageVerbose("setParts called");
561  if (m_parts==parts)
562  return;
563  messageVerbose("setParts ==> Changed");
564  bool onlymuonprojflagchanged = ( (parts^m_parts) == TrackCommonFlags::MuonProjections );
565  m_parts = parts;
566  update3DObjectsOfAllHandles(onlymuonprojflagchanged);
567 }

◆ setParTubeErrorsDrawCylinders

void TrackCollHandleBase::setParTubeErrorsDrawCylinders ( bool  b)
slotinherited

Definition at line 1035 of file TrackCollHandleBase.cxx.

1036 {
1038  return;
1042  TrackHandleBase* handle;
1043  while ((handle=getNextTrackHandle()))
1044  handle->updateShapes_TSOSWithErrors();
1045  largeChangesEnd();
1046 }

◆ setPropagationOptions

void TrackCollHandleBase::setPropagationOptions ( TrackSystemController::PropagationOptionFlags  options)
privateslotinherited

Definition at line 535 of file TrackCollHandleBase.cxx.

535  {
536  messageVerbose("setPropagationOptions ==> Changed");
538  update3DObjectsOfAllHandles(false,true);
539 }

◆ setPropagator

void TrackCollHandleBase::setPropagator ( Trk::IExtrapolator p)
privateslotinherited

Definition at line 521 of file TrackCollHandleBase.cxx.

522 {
523  bool ignoreMEOT = common()->controller()->ignoreMeasurementEffectsOnTrackInProp();
524  messageVerbose("setPropagator ("+str(p)+") "+ (ignoreMEOT?str("ignoring MEOT"):str("using MEOT")) );
525  if (m_propagator==p)
526  return;
527  messageVerbose("setPropagator ==> Changed");
528  m_propagator=p;
529  bool mustUpdatePropagatedPoints = (p && m_d->lastUsedPropagator!=p);
530  update3DObjectsOfAllHandles(false,mustUpdatePropagatedPoints);
531  if (p)
533 }

◆ setPropMaxRadius

void TrackCollHandleBase::setPropMaxRadius ( float  radius)
privateslotinherited

Definition at line 541 of file TrackCollHandleBase.cxx.

541  {
542  messageVerbose("setPropMaxRadius ==> Changed to "+str(radius));
544  update3DObjectsOfAllHandles(false,true);
545 }

◆ setRequiredDetectorElement

void TrackCollHandleBase::setRequiredDetectorElement ( const QString &  id)
slotinherited

Definition at line 872 of file TrackCollHandleBase.cxx.

◆ setRequiredNHits

void TrackCollHandleBase::setRequiredNHits ( const QList< unsigned > &  l)
slotinherited

Definition at line 832 of file TrackCollHandleBase.cxx.

833 {
835  return;//never deal with this...
836  if (m_cut_requiredNHits==l)
837  return;
838 
839  //A bit complex to figure out if the cut change is pure relaxation or tightening:
840  bool relaxed(false),tightened(false);
841  if (m_cut_requiredNHits.isEmpty()) {
842  relaxed = false;
843  tightened = true;
844  } else {
845  if (l.isEmpty()) {
846  relaxed = true;
847  tightened = false;
848  } else {
849  assert(l.count()==m_cut_requiredNHits.count());
850  relaxed = false;
851  tightened = false;
852  for (int i=0;i<l.count();++i) {
853  if (m_cut_requiredNHits[i]>l[i])
854  relaxed=true;
855  else if (m_cut_requiredNHits[i]<l[i])
856  tightened = true;
857  }
858  }
859  }
860  assert(relaxed||tightened);
862  if (relaxed&&tightened) {
864  } else {
865  if (relaxed)
867  else
869  }
870 }

◆ setShownTSOSParts

void TrackCollHandleBase::setShownTSOSParts ( TrackCommonFlags::TSOSPartsFlags  f)
slotinherited

Definition at line 912 of file TrackCollHandleBase.cxx.

913 {
914  if (m_d->shownTSOSParts==f)
915  return;
917  if (visible()) messageVerbose("shown TSOS parts changed to "+str(f));
919 }

◆ setState()

void TrackCollHandleBase::setState ( const QByteArray &  state)
virtualinherited

Provide specific implementation.

Reimplemented from VP1StdCollection.

Definition at line 1259 of file TrackCollHandleBase.cxx.

1260 {
1261  if (!m_d->matButton) {
1262  message("ERROR: setState(..) called before init()");
1263  return;
1264  }
1265  VP1Deserialise des(state);
1266  des.disableUnrestoredChecks();
1267  if (des.version()!=0&&des.version()!=1) {
1268  messageDebug("Warning: Ignoring state with wrong version");
1269  return;
1270  }
1271  bool vis = des.restoreBool();
1272 
1273  QByteArray matState = des.restoreByteArray();
1274  m_d->matButton->restoreFromState(matState);
1275  QByteArray extraWidgetState = des.version()>=1 ? des.restoreByteArray() : QByteArray();
1276  setVisible(vis);
1277 
1278  if (extraWidgetState!=QByteArray())
1279  setExtraWidgetsState(extraWidgetState);
1280 }

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

◆ setTrackTubeRadius

void TrackCollHandleBase::setTrackTubeRadius ( const double &  r)
privateslotinherited

Definition at line 623 of file TrackCollHandleBase.cxx.

624 {
625  messageVerbose("setTrackTubeRadius called");
626  if (m_trackTubeRadius==r)
627  return;
629  messageVerbose("setTrackTubeRadius ==> Changed");
631 }

◆ setupSettingsFromController()

void TrackCollHandleBase::setupSettingsFromController ( TrackSystemController controller)
inherited

Definition at line 198 of file TrackCollHandleBase.cxx.

199 {
200  messageVerbose("setupSettingsFromController start");
201 
202  assert(controller);
204 
205  connect(TrackSystemController::customTourEditor(),SIGNAL(clipVolumeRadiusChanged(double)),this,SLOT(clipVolumeChanged(double)));
206 
207  connect(controller,SIGNAL(propagatorChanged(Trk::IExtrapolator *)),this,SLOT(setPropagator(Trk::IExtrapolator *)));
208  setPropagator(controller->propagator());
209 
210  connect(controller,SIGNAL(propagationOptionsChanged(TrackSystemController::PropagationOptionFlags)),this,SLOT(setPropagationOptions(TrackSystemController::PropagationOptionFlags)));
212 
213  connect(controller,SIGNAL(propMaxRadiusChanged(float)),this,SLOT(setPropMaxRadius(float)));
214  setPropMaxRadius(controller->propMaxRadius());
215 
216  // Doing this in a slightly different way to avoid making lots of new stuff in controller.
217  connect(controller,SIGNAL(extrapolateToThisVolumeChanged(void)),this,SLOT(extrapolateToThisVolumeChanged(void)));
218 
219  connect(controller,SIGNAL(shownTrackPartsChanged(TrackCommonFlags::TrackPartsFlags)),this,SLOT(setParts(TrackCommonFlags::TrackPartsFlags)));
220  connect(m_d->matButton,SIGNAL(hideActualTrackPathChanged(bool)),this,SLOT(setActualPathShown(bool)));
221  setParts(controller->shownTrackParts());
222 
223  connect(controller,SIGNAL(vertexProjectionAngleChanged(int)),this,SLOT(setParts(int)));
224  setParts(controller->vertexProjectionAngle());
225 
226  // connect(controller,SIGNAL(trackTubeRadiusChanged(const double&)),this,SLOT(setTrackTubeRadius(const double&)));
227  connect(m_d->matButton,SIGNAL(trackTubeRadiusChanged(const double&)),this,SLOT(setTrackTubeRadius(const double&)));
229 
230  connect(controller,SIGNAL(rerandomise()),this,SLOT(rerandomiseRandomTrackColours()));
231 
232  connect(common()->system(),SIGNAL(newTrackSelected( const TrackHandleBase&)),this,SLOT(trackSelectionChanged()));
233 
234  //cuts
235  connect(m_d->matButton,SIGNAL(useDefaultCutsChanged(bool)),this,SLOT(setUseDefaultCuts(bool)));
237 
238  connect(controller,SIGNAL(cutAllowedPtChanged(const VP1Interval&)),this,SLOT(setCutAllowedPt(const VP1Interval&)));
239  connect(m_d->matButton,SIGNAL(cutAllowedPtChanged(const VP1Interval&)),this,SLOT(setCutAllowedPt(const VP1Interval&)));
241 
242  connect(controller,SIGNAL(cutAllowedEtaChanged(const VP1Interval&)),this,SLOT(setCutAllowedEta(const VP1Interval&)));
243  connect(m_d->matButton,SIGNAL(cutAllowedEtaChanged(const VP1Interval&)),this,SLOT(setCutAllowedEta(const VP1Interval&)));
245 
246  connect(controller,SIGNAL(cutAllowedPhiChanged(const QList<VP1Interval>&)),this,SLOT(setCutAllowedPhi(const QList<VP1Interval>&)));
247  connect(m_d->matButton,SIGNAL(cutAllowedPhiChanged(const QList<VP1Interval>&)),this,SLOT(setCutAllowedPhi(const QList<VP1Interval>&)));
249 
250  connect(controller,SIGNAL(cutRequiredNHitsChanged(const QList<unsigned>&)),this,SLOT(setRequiredNHits(const QList<unsigned>&)));
251  connect(m_d->matButton,SIGNAL(cutRequiredNHitsChanged(const QList<unsigned>&)),this,SLOT(setRequiredNHits(const QList<unsigned>&)));
253 
254  connect(controller,SIGNAL(cutRequiredDetectorElementChanged(const QString&)),this,SLOT(setRequiredDetectorElement(const QString&)));
255  connect(m_d->matButton,SIGNAL(cutRequiredDetectorElementChanged(const QString&)),this,SLOT(setRequiredDetectorElement(const QString&)));
256 
257  connect(controller,SIGNAL(cutOnlyVertexAssocTracksChanged(bool)),this,SLOT(setOnlyVertexAssocTracks(bool)));
258  connect(m_d->matButton,SIGNAL(cutOnlyVertexAssocTracksChanged(bool)),this,SLOT(setOnlyVertexAssocTracks(bool)));
260 
261  connect(controller,SIGNAL(customColouredTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
262  this,SLOT(setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags)));
264 
265  connect(controller,SIGNAL(useShortTRTMeasurementsChanged(bool)),this,SLOT(setUseShortTRTMeasurements(bool)));
267 
268  connect(controller,SIGNAL(useShortMDTMeasurementsChanged(bool)),this,SLOT(setUseShortMDTMeasurements(bool)));
270 
271  connect(controller,SIGNAL(drawMeasGlobalPositionsChanged(bool)),this,SLOT(setDrawMeasGlobalPositions(bool)));
273 
274  connect(controller,SIGNAL(measurementsShorttubesScaleChanged(double)),this,SLOT(setMeasurementsShorttubesScale(double)));
276 
277  connect(controller,SIGNAL(nStdDevForParamErrorsChanged(const double&)),this,SLOT(setNStdDevForParamErrors(const double&)));
279 
280  connect(controller,SIGNAL(numberOfPointsOnCirclesChanged(int)),this,SLOT(setNumberOfPointsOnCircles(int)));
282 
283  connect(controller,SIGNAL(materialEffectsOnTrackScaleChanged(double)),this,SLOT(setMaterialEffectsOnTrackScale(double)));
285 
286  connect(controller,SIGNAL(parTubeErrorsDrawCylindersChanged(bool)),this,SLOT(setParTubeErrorsDrawCylinders(bool)));
288 
289  connect(controller,SIGNAL(shownTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
290  this,SLOT(setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags)));
291  setShownTSOSParts(controller->shownTSOSParts());
292 
293  connect(controller,SIGNAL(customColouredTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
294  this,SLOT(setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags)));
296 
297  connect(controller,SIGNAL(trackLabelsChanged(TrackSystemController::TrackLabelModes)),this,SLOT(setLabels(TrackSystemController::TrackLabelModes)));
298  connect(controller,SIGNAL(trackLabelTrkOffsetChanged(float)),this,SLOT(setLabelTrkOffset(float)));
299  connect(controller,SIGNAL(trackLabelPosOffsetChanged(QList<int>)),this,SLOT(setLabelPosOffsets(QList<int>)));
300  setLabels(controller->trackLabels());
301 
303 
304  largeChangesEnd();
305  messageVerbose("setupSettingsFromController end");
306 
307 }

◆ setupSettingsFromControllerSpecific()

void TrackCollHandle_TrkSegment::setupSettingsFromControllerSpecific ( TrackSystemController )
virtual

Reimplemented from TrackCollHandleBase.

Definition at line 99 of file TrackCollHandle_TrkSegment.cxx.

100 {
101 
102 }

◆ setUseDefaultCuts

void TrackCollHandleBase::setUseDefaultCuts ( bool  useDefaults)
privateslotinherited

Definition at line 732 of file TrackCollHandleBase.cxx.

732  {
733  if ( (m_d->last_useDefaultCuts) == useDefaults) return;
734  messageVerbose("setUseDefaultCuts changed to "+str(useDefaults)+"- rechecking all handles");
735  // recheckCutStatusOfAllHandles();
736 
742 }

◆ setUseShortMDTMeasurements

void TrackCollHandleBase::setUseShortMDTMeasurements ( bool  b)
slotinherited

Definition at line 948 of file TrackCollHandleBase.cxx.

949 {
951  return;
955  TrackHandleBase* handle;
956  while ((handle=getNextTrackHandle()))
958  largeChangesEnd();
959 }

◆ setUseShortTRTMeasurements

void TrackCollHandleBase::setUseShortTRTMeasurements ( bool  b)
slotinherited

Definition at line 933 of file TrackCollHandleBase.cxx.

934 {
936  return;
940  TrackHandleBase* handle;
941  while ((handle=getNextTrackHandle()))
943  largeChangesEnd();
944 }

◆ setVisible

void VP1StdCollection::setVisible ( bool  b)
slotinherited

Definition at line 160 of file VP1StdCollection.cxx.

161 {
162  if (m_d->visible==b||problemsLoading())
163  return;
164  m_d->visible=b;
165  messageVerbose("Visible state ("+text()+") => "+str(m_d->visible));
166 
167  //Possibly load:
168  if (m_d->visible&&!m_d->loaded) {
169  m_d->loaded = true;
170  m_d->theswitch->whichChild = SO_SWITCH_NONE;
171  bool ok = load();
172  if (!ok) {
173  m_d->problemsloading = true;
174  m_d->visible = false;
175  m_d->checkBox->blockSignals(true);
176  m_d->checkBox->setChecked(false);
177  m_d->checkBox->setToolTip("Problems encountered during attempt to load this collection");
178  for (QWidget*w : widgetsForGuiRow())
179  w->setEnabled(false);
180  message("Problems loading "+text());
181  return;
182  }
183  m_d->theswitch->addChild(m_d->material);
184  m_d->theswitch->addChild(m_d->collsep);
185  }
186 
187  Q_ASSERT(!problemsLoading());
188 
189  //Update checkbox and switch:
190  if (m_d->checkBox->isChecked()!=m_d->visible) {
191  bool save = m_d->checkBox->blockSignals(true);
192  m_d->checkBox->setChecked(m_d->visible);
193  if (!save)
194  m_d->checkBox->blockSignals(false);
195  }
196  if ((m_d->theswitch->whichChild.getValue()==SO_SWITCH_ALL) != m_d->visible)
197  m_d->theswitch->whichChild = ( m_d->visible ? SO_SWITCH_ALL : SO_SWITCH_NONE );
198 
200 }

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

◆ text()

QString VP1StdCollection::text ( ) const
inherited

Definition at line 132 of file VP1StdCollection.cxx.

133 {
134  if (!m_d->textProvided) {
135  m_d->textProvided = true;
136  m_d->text = provideText();
137  }
138  return m_d->text;
139 }

◆ toBaseCollList()

template<class T >
QList< VP1Collection * > VP1Collection::toBaseCollList ( const QList< T * > &  in)
staticinherited

Definition at line 80 of file VP1Collection.h.

81 {
82  QList<VP1Collection*> l;
83  for (T * t : in)
84  l << static_cast<T*>(t);
85  return l;
86 }

◆ toString()

QString TrackCollHandleBase::toString ( const COLOURBY cb)
staticinherited

Definition at line 1160 of file TrackCollHandleBase.cxx.

1161 {
1162  switch (cb) {
1163  case COLOUR_PERCOLLECTION: return "COLOUR_PERCOLLECTION";
1164  case COLOUR_RANDOM: return "COLOUR_RANDOM";
1165  case COLOUR_MOMENTUM: return "COLOUR_MOMENTUM";
1166  case COLOUR_CHARGE: return "COLOUR_CHARGE";
1167  case COLOUR_BYPID: return "COLOUR_BYPID";
1168  case COLOUR_DISTANCE: return "COLOUR_DISTANCE";
1169  default: return "Unknown (ERROR)";
1170  }
1171 }

◆ trackHandleIterationBegin()

void TrackCollHandleBase::trackHandleIterationBegin ( )
protectedinherited

Definition at line 717 of file TrackCollHandleBase.cxx.

718 {
719  m_d->itTrackHandles = m_d->trackhandles.begin();
721 }

◆ trackSelectionChanged

void TrackCollHandleBase::trackSelectionChanged ( )
slotinherited

Definition at line 703 of file TrackCollHandleBase.cxx.

704 {
705  if (!isLoaded() || colourBy()!= COLOUR_DISTANCE)
706  return;
707  messageVerbose("trackSelectionChanged start");
710  for (;it!=itE;++it)
711  (*it)->updateMaterial();
712  largeChangesEnd();
713  messageVerbose("trackSelectionChanged end");
714 }

◆ trackTubeRadius()

double TrackCollHandleBase::trackTubeRadius ( ) const
inlineinherited

Definition at line 85 of file TrackCollHandleBase.h.

85 { return m_trackTubeRadius; }

◆ update3DObjectsOfAllHandles()

void TrackCollHandleBase::update3DObjectsOfAllHandles ( bool  onlythosetouchingmuonchambers = false,
bool  invalidatePropagatedPoints = false,
float  maxR = 0.0 
)
inherited

Definition at line 440 of file TrackCollHandleBase.cxx.

441 {
442  if (!isLoaded())
443  return;
444  if (VP1Msg::verbose())
445  messageVerbose("update3DObjectsOfAllHandles start (onlythosetouchingmuonchambers = "
446  +str(onlythosetouchingmuonchambers)+", invalidatePropagatedPoints = "
447  +str(invalidatePropagatedPoints)+")");
450  if (onlythosetouchingmuonchambers) {
451  for (;it!=itE;++it)
452  if (!(*it)->touchedMuonChambers().empty())
453  (*it)->update3DObjects(invalidatePropagatedPoints, maxR);
454  } else {
455  for (;it!=itE;++it)
456  (*it)->update3DObjects(invalidatePropagatedPoints, maxR);
457  }
458  largeChangesEnd();
459  messageVerbose("update3DObjectsOfAllHandles end");
460 }

◆ updateInDetProjectionsOfAllHandles()

void TrackCollHandleBase::updateInDetProjectionsOfAllHandles ( )
inherited

Definition at line 465 of file TrackCollHandleBase.cxx.

466 {
467  if (!isLoaded())
468  return;
469  messageVerbose("updateInDetProjectionsOfAllHandles start");
472  for (;it!=itE;++it)
473  (*it)->updateInDetProjections();
474  largeChangesEnd();
475  messageVerbose("updateInDetProjectionsOfAllHandles end");
476 
477 }

◆ updateMaterialOfAllHandles()

void TrackCollHandleBase::updateMaterialOfAllHandles ( )
inherited

Definition at line 495 of file TrackCollHandleBase.cxx.

496 {
497  if (!isLoaded())
498  return;
499  messageVerbose("updateMaterialOfAllHandles start");
502  for (;it!=itE;++it)
503  (*it)->updateMaterial();
504  largeChangesEnd();
505  messageVerbose("updateMaterialOfAllHandles end");
506 }

◆ updateMuonProjectionsOfAllHandles()

void TrackCollHandleBase::updateMuonProjectionsOfAllHandles ( )
inherited

Definition at line 480 of file TrackCollHandleBase.cxx.

481 {
482  if (!isLoaded())
483  return;
484  messageVerbose("updateMuonProjectionsOfAllHandles start");
487  for (;it!=itE;++it)
488  (*it)->updateMuonProjections();
489  largeChangesEnd();
490  messageVerbose("updateMuonProjectionsOfAllHandles end");
491 
492 }

◆ updateObjectBrowserVisibilityCounts()

void TrackCollHandleBase::updateObjectBrowserVisibilityCounts ( )
privateinherited

Definition at line 1080 of file TrackCollHandleBase.cxx.

1080  {
1081  messageVerbose("TrackCollHandleBase::updateObjectBrowserVisibilityCounts called for "+name());
1082  QTreeWidget* trkObjBrowser = common()->controller()->trackObjBrowser();
1083  if (!trkObjBrowser || !m_d->objBrowseTree) {
1084  messageVerbose("TrackCollHandleBase::updateObjectBrowserVisibilityCounts: no common()->controller()->trackObjBrowser() and/or m_d->objBrowseTree. Aborting");
1085  messageVerbose("trkObjBrowser: "+str(trkObjBrowser)+"\t m_d->objBrowseTree: "+str(m_d->objBrowseTree));
1086  return;
1087  }
1088  QString text(QString(": (")+QString::number(nShownHandles())+QString("/")+QString::number(m_d->trackhandles.size())+QString(") visible"));
1089  m_d->objBrowseTree->setText(1, text);
1090 }

◆ updateStates()

void VP1Collection::updateStates ( VP1CollStates state,
const VP1CollStates newInfo 
)
staticinherited

Definition at line 118 of file VP1Collection.cxx.

119 {
120  VP1Msg::messageDebug("VP1Collection::updateStates() - start...");
121  QMapIterator<QByteArray,QByteArray> it(newInfo);
122  while (it.hasNext()) {
123  it.next();
124  state.insert(it.key(),it.value());
125  }
126  VP1Msg::messageDebug("VP1Collection::updateStates() - end.");
127 }

◆ useDefaultCuts()

bool TrackCollHandleBase::useDefaultCuts ( ) const
inherited

Return true if this collection uses the default (i.e.

controller) cuts

Definition at line 1236 of file TrackCollHandleBase.cxx.

1237 {
1238  if (!m_d->matButton) {
1239  message("ERROR: useDefaultCuts(..) called before init()");
1240  return true;
1241  }
1242  return m_d->matButton->useDefaultCuts();
1243 }

◆ 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

◆ vertexCutsAllowed()

void TrackCollHandleBase::vertexCutsAllowed ( bool  )
inherited

◆ visibilityChanged

void VP1StdCollection::visibilityChanged ( bool  )
signalinherited

◆ visible()

bool VP1StdCollection::visible ( ) const
inherited

Definition at line 142 of file VP1StdCollection.cxx.

143 {
144  return m_d->visible;
145 }

◆ visibleStateUpdated()

void TrackCollHandle_TrkSegment::visibleStateUpdated ( TrackHandle_TrkSegment handle)

Definition at line 142 of file TrackCollHandle_TrkSegment.cxx.

143 {
144  common()->visTrkSegmentsToMaterialHelper()->setState(handle->trkSegmentPointer(), (handle->visible() ? handle->currentMaterial() : nullptr ));
145 }

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

◆ widgetsForGuiRow()

QList< QWidget * > VP1Collection::widgetsForGuiRow ( ) const
virtualinherited

Definition at line 62 of file VP1Collection.cxx.

63 {
67  }
68  return m_d->widgetsForGuiRow;
69 }

Member Data Documentation

◆ m_colourby

COLOURBY TrackCollHandleBase::m_colourby
privateinherited

Definition at line 220 of file TrackCollHandleBase.h.

◆ m_commonData

TrackSysCommonData* TrackCollHandleBase::m_commonData
privateinherited

Definition at line 209 of file TrackCollHandleBase.h.

◆ m_cut_allowedEta

VP1Interval TrackCollHandleBase::m_cut_allowedEta
privateinherited

Definition at line 223 of file TrackCollHandleBase.h.

◆ m_cut_allowedPhi

QList<VP1Interval> TrackCollHandleBase::m_cut_allowedPhi
privateinherited

Definition at line 224 of file TrackCollHandleBase.h.

◆ m_cut_allowedPtSq

VP1Interval TrackCollHandleBase::m_cut_allowedPtSq
privateinherited

Definition at line 222 of file TrackCollHandleBase.h.

◆ m_cut_eta_allowall

bool TrackCollHandleBase::m_cut_eta_allowall
privateinherited

Definition at line 228 of file TrackCollHandleBase.h.

◆ m_cut_etaptphi_allwillfail

bool TrackCollHandleBase::m_cut_etaptphi_allwillfail
privateinherited

Definition at line 230 of file TrackCollHandleBase.h.

◆ m_cut_phi_allowall

bool TrackCollHandleBase::m_cut_phi_allowall
privateinherited

Definition at line 229 of file TrackCollHandleBase.h.

◆ m_cut_pt_allowall

bool TrackCollHandleBase::m_cut_pt_allowall
privateinherited

Definition at line 227 of file TrackCollHandleBase.h.

◆ m_cut_requiredNHits

QList<unsigned> TrackCollHandleBase::m_cut_requiredNHits
privateinherited

Definition at line 225 of file TrackCollHandleBase.h.

◆ m_d

Imp* TrackCollHandle_TrkSegment::m_d
private

Definition at line 52 of file TrackCollHandle_TrkSegment.h.

◆ m_helpername

QString VP1HelperClassBase::m_helpername
privateinherited

Definition at line 67 of file VP1HelperClassBase.h.

◆ m_labels

TrackSystemController::TrackLabelModes TrackCollHandleBase::m_labels
privateinherited

Definition at line 216 of file TrackCollHandleBase.h.

◆ m_labelsPosOffsets

QList<int> TrackCollHandleBase::m_labelsPosOffsets
privateinherited

Definition at line 218 of file TrackCollHandleBase.h.

◆ m_labelsTrkOffset

float TrackCollHandleBase::m_labelsTrkOffset
privateinherited

Definition at line 217 of file TrackCollHandleBase.h.

◆ m_nshownhandles

int TrackCollHandleBase::m_nshownhandles
privateinherited

Definition at line 207 of file TrackCollHandleBase.h.

◆ m_parts

TrackCommonFlags::TrackPartsFlags TrackCollHandleBase::m_parts
privateinherited

Definition at line 215 of file TrackCollHandleBase.h.

◆ m_propagationOptions

TrackSystemController::PropagationOptionFlags TrackCollHandleBase::m_propagationOptions
privateinherited

Definition at line 213 of file TrackCollHandleBase.h.

◆ m_propagator

Trk::IExtrapolator* TrackCollHandleBase::m_propagator
privateinherited

Definition at line 212 of file TrackCollHandleBase.h.

◆ m_propMaxRadius

float TrackCollHandleBase::m_propMaxRadius
privateinherited

Definition at line 214 of file TrackCollHandleBase.h.

◆ m_requiredDetectorElement

QString TrackCollHandleBase::m_requiredDetectorElement
privateinherited

Definition at line 226 of file TrackCollHandleBase.h.

◆ m_sephelper

VP1ExtraSepLayerHelper* TrackCollHandleBase::m_sephelper
privateinherited

Definition at line 211 of file TrackCollHandleBase.h.

◆ m_system

IVP1System* VP1HelperClassBase::m_system
privateinherited

Definition at line 68 of file VP1HelperClassBase.h.

◆ m_trackTubeRadius

double TrackCollHandleBase::m_trackTubeRadius
privateinherited

Definition at line 219 of file TrackCollHandleBase.h.

◆ m_type

TrackType::Type TrackCollHandleBase::m_type
privateinherited

Definition at line 208 of file TrackCollHandleBase.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:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TrackCollHandleBase::allowColourByMomentum
virtual bool allowColourByMomentum() const
Definition: TrackCollHandleBase.h:145
TrackCollHandleBase::nShownHandles
int nShownHandles()
Definition: TrackCollHandleBase.h:123
TrackSystemController::useShortTRTMeasurements
bool useShortTRTMeasurements() const
Definition: TrackSystemController.cxx:1561
TrackCollHandleBase::Imp::comboBoxEntry_ColourByDistanceFromSelectedTrack
static QString comboBoxEntry_ColourByDistanceFromSelectedTrack()
Definition: TrackCollHandleBase.cxx:86
TrackCollHandleBase::m_cut_requiredNHits
QList< unsigned > m_cut_requiredNHits
Definition: TrackCollHandleBase.h:225
TrackCollHandleBase::setLabelTrkOffset
void setLabelTrkOffset(float)
Definition: TrackCollHandleBase.cxx:601
VP1CollStates
QMap< QByteArray, QByteArray > VP1CollStates
Definition: VP1Collection.h:27
beamspotman.r
def r
Definition: beamspotman.py:676
TrackCollectionSettingsButton::cutAllowedPt
VP1Interval cutAllowedPt() const
Definition: TrackCollectionSettingsButton.cxx:489
TrackCollHandleBase::Imp::trackhandles
std::vector< TrackHandleBase * > trackhandles
Definition: TrackCollHandleBase.cxx:59
VP1Interval::isSane
bool isSane() const
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
TrackCollHandleBase::m_nshownhandles
int m_nshownhandles
Definition: TrackCollHandleBase.h:207
TrackCollHandleBase::Imp::comboBoxEntry_ColourByMomentum
static QString comboBoxEntry_ColourByMomentum()
Definition: TrackCollHandleBase.cxx:83
TrackCollHandleBase::setRequiredDetectorElement
void setRequiredDetectorElement(const QString &id)
Definition: TrackCollHandleBase.cxx:872
TrackCollHandleBase::Imp::comboBoxEntry_ColourByVertex
static QString comboBoxEntry_ColourByVertex()
Definition: TrackCollHandleBase.cxx:87
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
TrackCollHandleBase::setShownTSOSParts
void setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags)
Definition: TrackCollHandleBase.cxx:912
TrackCollectionSettingsButton::restoreFromState
void restoreFromState(const QByteArray &)
Definition: TrackCollectionSettingsButton.cxx:440
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrackSystemController::propagationOptions
PropagationOptionFlags propagationOptions() const
Definition: TrackSystemController.cxx:1646
VP1Serialise
Definition: VP1Serialise.h:45
TrackSysCommonData::controller
TrackSystemController * controller() const
Definition: TrackSysCommonData.h:124
TrackHandleBase::fillObjectBrowser
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Called in child classes.
Definition: TrackHandleBase.cxx:2009
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
TrackCollHandleBase::m_cut_allowedPtSq
VP1Interval m_cut_allowedPtSq
Definition: TrackCollHandleBase.h:222
TrackCollHandle_TrkSegment::Imp::alwaysShowAllTrackColls
static bool alwaysShowAllTrackColls
Definition: TrackCollHandle_TrkSegment.cxx:29
VP1StdCollection::Imp::theswitch
SoSwitch * theswitch
Definition: VP1StdCollection.cxx:47
TrackCollHandleBase::Imp::tsos_nStdDevForParamErrors
double tsos_nStdDevForParamErrors
Definition: TrackCollHandleBase.cxx:73
VP1Collection::Imp::widgetsForGuiRow
QList< QWidget * > widgetsForGuiRow
Definition: VP1Collection.cxx:31
TrackCollHandleBase::setCutAllowedPhi
void setCutAllowedPhi(const QList< VP1Interval > &)
Definition: TrackCollHandleBase.cxx:809
RoiUtil::serialise
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
Definition: RoiSerialise.cxx:45
VP1StdCollection::Imp::loaded
bool loaded
Definition: VP1StdCollection.cxx:55
TrackSystemController::propagator
Trk::IExtrapolator * propagator() const
Definition: TrackSystemController.cxx:1633
TrackCollHandleBase::Imp::comboBoxEntry_ColourByCharge
static QString comboBoxEntry_ColourByCharge()
Definition: TrackCollHandleBase.cxx:84
VP1Collection::provideWidgetsForGuiRow
virtual QList< QWidget * > provideWidgetsForGuiRow() const =0
TrackCollHandleBase::parts
TrackCommonFlags::TrackPartsFlags parts() const
Definition: TrackCollHandleBase.h:136
TrackCollHandleBase::setUseDefaultCuts
void setUseDefaultCuts(bool)
Definition: TrackCollHandleBase.cxx:732
TrackCollHandleBase::Imp::tsos_drawMeasGlobalPositions
bool tsos_drawMeasGlobalPositions
Definition: TrackCollHandleBase.cxx:71
TrackCollHandleBase::Imp::last_useDefaultCuts
bool last_useDefaultCuts
Definition: TrackCollHandleBase.cxx:91
index
Definition: index.py:1
TrackCollHandleBase::m_cut_allowedEta
VP1Interval m_cut_allowedEta
Definition: TrackCollHandleBase.h:223
VP1StdCollection::collTypeID
qint32 collTypeID() const
Definition: VP1StdCollection.cxx:315
hist_file_dump.d
d
Definition: hist_file_dump.py:137
TrackCollHandleBase::clipVolumeChanged
void clipVolumeChanged(double)
Definition: TrackCollHandleBase.cxx:552
TrackSystemController::customColouredTSOSParts
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts() const
Definition: TrackSystemController.cxx:1539
TrackCollectionSettingsButton::trackLightModel
SoLightModel * trackLightModel() const
Definition: TrackCollectionSettingsButton.cxx:297
TrackSystemController::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
Definition: TrackSystemController.cxx:1781
VP1HelperClassBase::m_helpername
QString m_helpername
Definition: VP1HelperClassBase.h:67
VP1Collection::Imp::sectionToolTip
QString sectionToolTip
Definition: VP1Collection.cxx:28
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
TrackCollHandleBase::Imp::lastUsedPropagator
Trk::IExtrapolator * lastUsedPropagator
Definition: TrackCollHandleBase.cxx:64
VP1Collection::Imp::persistID
QByteArray persistID
Definition: VP1Collection.cxx:25
TrackCollHandleBase::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(TrackSystemController *)
Definition: TrackCollHandleBase.h:70
TrackCollHandleBase::m_cut_phi_allowall
bool m_cut_phi_allowall
Definition: TrackCollHandleBase.h:229
VP1StdCollection::collSwitch
SoSwitch * collSwitch() const
Add this somewhere in your scenegraph (do not add any children here!)
Definition: VP1StdCollection.cxx:204
VP1HelperClassBase::s_vp1verbose
static const bool s_vp1verbose
Definition: VP1HelperClassBase.h:69
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
TrackSystemController::ExtendTrack
@ ExtendTrack
Definition: TrackSystemController.h:78
TrackCollHandleBase::COLOUR_MOMENTUM
@ COLOUR_MOMENTUM
Definition: TrackCollHandleBase.h:138
TrackCollHandleBase::m_parts
TrackCommonFlags::TrackPartsFlags m_parts
Definition: TrackCollHandleBase.h:215
TrackCommonFlags
Definition: TrackCommonFlags.h:21
TrackSystemController::nStdDevForParamErrors
double nStdDevForParamErrors() const
Definition: TrackSystemController.cxx:1598
skel.it
it
Definition: skel.GENtoEVGEN.py:396
TrackSystemController::shownTrackParts
TrackCommonFlags::TrackPartsFlags shownTrackParts() const
Definition: TrackSystemController.cxx:1479
TrackCommonFlags::MuonProjections
@ MuonProjections
Definition: TrackCommonFlags.h:28
VP1MaterialButtonBase::lastAppliedBrightness
virtual double lastAppliedBrightness() const =0
TrackHandle_TrkSegment
Definition: TrackHandle_TrkSegment.h:28
TrackCollectionSettingsButton::useDefaultCuts
bool useDefaultCuts() const
Definition: TrackCollectionSettingsButton.cxx:308
TrackSysCommonData::system
VP1TrackSystem * system() const
Definition: TrackSysCommonData.h:122
TrackCollHandleBase::Imp::comboBoxEntry_ColourByPID
static QString comboBoxEntry_ColourByPID()
Definition: TrackCollHandleBase.cxx:85
VP1StdCollection::Imp::collsep
SoSeparator * collsep
Definition: VP1StdCollection.cxx:48
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
TrackCollHandleBase::setLabels
void setLabels(TrackSystemController::TrackLabelModes)
Definition: TrackCollHandleBase.cxx:590
VP1StdCollection::init
virtual void init(VP1MaterialButtonBase *button=0)
Definition: VP1StdCollection.cxx:73
TrackHandleBase::updateShapes_TSOSWithMeasurements
void updateShapes_TSOSWithMeasurements()
Definition: TrackHandleBase.cxx:261
TrackCollHandleBase::setDrawMeasGlobalPositions
void setDrawMeasGlobalPositions(bool)
Definition: TrackCollHandleBase.cxx:962
TrackSystemController::vertexProjectionAngle
int vertexProjectionAngle() const
Definition: TrackSystemController.cxx:1490
TrackSystemController::IgnoreMEOT
@ IgnoreMEOT
Definition: TrackSystemController.h:78
TrackCollHandleBase::setCustomColouredTSOSParts
void setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags)
Definition: TrackCollHandleBase.cxx:923
TrackCollectionSettingsButton::trackDrawStyle
SoDrawStyle * trackDrawStyle() const
Definition: TrackCollectionSettingsButton.cxx:292
TrackCollHandleBase::setOnlyVertexAssocTracks
void setOnlyVertexAssocTracks(bool)
Definition: TrackCollHandleBase.cxx:878
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1StdCollection::largeChangesBegin
virtual void largeChangesBegin()
Definition: VP1StdCollection.cxx:228
upper
int upper(int c)
Definition: LArBadChannelParser.cxx:49
TrackCollectionSettingsButton::trackTubeRadius
double trackTubeRadius() const
Definition: TrackCollectionSettingsButton.cxx:254
TrackCollHandleBase::recheckCutStatusOfAllNotVisibleHandles
void recheckCutStatusOfAllNotVisibleHandles()
Definition: TrackCollHandleBase.cxx:407
TrackCollHandleBase::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
Return true if this collection should only should tracks associated to a vertex.
Definition: TrackCollHandleBase.cxx:1245
VP1Interval::upper
double upper() const
TrackSystemController::parTubeErrorsDrawCylinders
bool parTubeErrorsDrawCylinders() const
Definition: TrackSystemController.cxx:1604
VP1HelperClassBase::m_system
IVP1System * m_system
Definition: VP1HelperClassBase.h:68
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TrackCollHandleBase::m_cut_pt_allowall
bool m_cut_pt_allowall
Definition: TrackCollHandleBase.h:227
VP1Collection::Imp::section
QString section
Definition: VP1Collection.cxx:27
TrackCollHandleBase::hintNumberOfTracksInEvent
void hintNumberOfTracksInEvent(unsigned)
Definition: TrackCollHandleBase.cxx:509
x
#define x
TrackCollHandleBase::actualSetShownTSOSPartsOnHandles
void actualSetShownTSOSPartsOnHandles()
Definition: TrackCollHandleBase.cxx:899
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
TrackCollHandleBase::TrackCollHandleBase
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
Definition: TrackCollHandleBase.cxx:97
TrackCollHandleBase::defaultColourBy
virtual COLOURBY defaultColourBy() const
Definition: TrackCollHandleBase.h:143
TrackCollHandleBase::Imp::shownTSOSParts
TrackCommonFlags::TSOSPartsFlags shownTSOSParts
Definition: TrackCollHandleBase.cxx:67
VP1HelperClassBase::messageDebug
void messageDebug(const QString &) const
Definition: VP1HelperClassBase.cxx:65
TrackCollHandleBase::setParts
void setParts(TrackCommonFlags::TrackPartsFlags)
Definition: TrackCollHandleBase.cxx:558
TrackCollHandleBase::defaultColor
virtual QColor defaultColor() const =0
TrackCollHandleBase::useDefaultCuts
bool useDefaultCuts() const
Return true if this collection uses the default (i.e.
Definition: TrackCollHandleBase.cxx:1236
TrackCollHandleBase::m_cut_eta_allowall
bool m_cut_eta_allowall
Definition: TrackCollHandleBase.h:228
TrackCollHandleBase::m_labelsTrkOffset
float m_labelsTrkOffset
Definition: TrackCollHandleBase.h:217
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1Collection::Imp::sectionProvided
bool sectionProvided
Definition: VP1Collection.cxx:29
TrackSystemController::shownTSOSParts
TrackCommonFlags::TSOSPartsFlags shownTSOSParts() const
Definition: TrackSystemController.cxx:1505
TrackCollectionSettingsButton::setText
void setText(const QString &)
Definition: TrackCollectionSettingsButton.cxx:84
TruthTest.itE
itE
Definition: TruthTest.py:25
TrackSystemController::measurementsShorttubesScale
double measurementsShorttubesScale() const
Definition: TrackSystemController.cxx:1592
TrackHandleBase::updateObjectBrowser
virtual void updateObjectBrowser()
Definition: TrackHandleBase.h:134
VP1SGContentsHelper::getKeys
QStringList getKeys() const
Definition: VP1SGContentsHelper.h:55
TrackType::typeToSectionHeader
static QString typeToSectionHeader(const Type &)
Definition: TrackTypes.cxx:88
TrackCollHandleBase::Imp::tsos_parTubeErrorsDrawCylinders
bool tsos_parTubeErrorsDrawCylinders
Definition: TrackCollHandleBase.cxx:76
TrackCollHandleBase::setPropagator
void setPropagator(Trk::IExtrapolator *)
Definition: TrackCollHandleBase.cxx:521
TrackCollHandleBase::cut
virtual bool cut(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:316
TrackSystemController::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition: TrackSystemController.cxx:1822
TrackCollHandleBase::m_cut_allowedPhi
QList< VP1Interval > m_cut_allowedPhi
Definition: TrackCollHandleBase.h:224
TrackCollHandleBase::COLOUR_PERCOLLECTION
@ COLOUR_PERCOLLECTION
Definition: TrackCollHandleBase.h:138
TrackCollectionSettingsButton
Definition: TrackCollectionSettingsButton.h:13
VP1StdCollection::Imp::id
qint32 id
Definition: VP1StdCollection.cxx:58
VP1Controller::customTourEditor
static VP1CustomTourEditor * customTourEditor()
Definition: VP1Controller.h:61
TrackCollHandleBase::Imp::comboBox_colourby
QComboBox * comboBox_colourby
Definition: TrackCollHandleBase.cxx:79
TrackCollHandleBase::setNumberOfPointsOnCircles
void setNumberOfPointsOnCircles(int)
Definition: TrackCollHandleBase.cxx:1007
TrackCollHandleBase::colourByComboBoxItemChanged
void colourByComboBoxItemChanged()
Definition: TrackCollHandleBase.cxx:1200
TrackCollHandleBase::setRequiredNHits
void setRequiredNHits(const QList< unsigned > &)
Definition: TrackCollHandleBase.cxx:832
beamspotnt.cols
list cols
Definition: bin/beamspotnt.py:1114
TrackCollHandleBase::allowColourByVertex
virtual bool allowColourByVertex() const
Definition: TrackCollHandleBase.h:148
TrackCollectionSettingsButton::cutRequiredNHits
QList< unsigned > cutRequiredNHits() const
Definition: TrackCollectionSettingsButton.cxx:535
VP1StdCollection::Imp::material
SoMaterial * material
Definition: VP1StdCollection.cxx:50
TrackCollHandleBase::allowColourByDistanceFromSelectedTrack
virtual bool allowColourByDistanceFromSelectedTrack() const
Definition: TrackCollHandleBase.h:147
beamspotnt.labels
list labels
Definition: bin/beamspotnt.py:1447
checkTP.save
def save(self, fileName="./columbo.out")
Definition: checkTP.py:178
TrackSystemController::drawMeasGlobalPositions
bool drawMeasGlobalPositions() const
Definition: TrackSystemController.cxx:1585
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TrackHandleBase::updateShapes_TSOSWithErrors
void updateShapes_TSOSWithErrors()
Definition: TrackHandleBase.cxx:274
VP1Interval::lower
double lower() const
VP1StdCollection::Imp::visible
bool visible
Definition: VP1StdCollection.cxx:54
VP1Msg::prefix_msg
static const char * prefix_msg()
Definition: VP1Msg.h:56
VP1ExtraSepLayerHelper
Definition: VP1ExtraSepLayerHelper.h:22
TrackCollHandleBase::Imp::itTrackHandles
std::vector< TrackHandleBase * >::iterator itTrackHandles
Definition: TrackCollHandleBase.cxx:61
TrackCollHandleBase::updateMaterialOfAllHandles
void updateMaterialOfAllHandles()
Definition: TrackCollHandleBase.cxx:495
TrackSystemController::useShortMDTMeasurements
bool useShortMDTMeasurements() const
Definition: TrackSystemController.cxx:1567
VP1StdCollection::setVisible
void setVisible(bool)
Definition: VP1StdCollection.cxx:160
VP1QtUtils::environmentVariableIsOn
static bool environmentVariableIsOn(const QString &name)
Definition: VP1QtUtils.cxx:127
TrackHandleBase::setCustomColouredTSOSParts
void setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags f)
Definition: TrackHandleBase.cxx:356
TrackHandleBase::updateRandomColourTransparencyAndBrightness
void updateRandomColourTransparencyAndBrightness()
Definition: TrackHandleBase.cxx:1436
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
TrackCollHandleBase::Imp::comboBoxEntry_ColourByRandom
static QString comboBoxEntry_ColourByRandom()
Definition: TrackCollHandleBase.cxx:82
VP1StdCollection::load
virtual bool load()=0
beamspotman.n
n
Definition: beamspotman.py:731
TrackHandleBase::visible
bool visible() const
Definition: TrackHandleBase.h:67
TrackCollHandleBase::updateObjectBrowserVisibilityCounts
void updateObjectBrowserVisibilityCounts()
Definition: TrackCollHandleBase.cxx:1080
TrackHandleBase::setShownTSOSParts
void setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags f)
Definition: TrackHandleBase.cxx:312
TrackCollHandleBase::colourBy
COLOURBY colourBy() const
Definition: TrackCollHandleBase.h:141
angle
double angle(const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b)
Definition: TRTDetectorFactory_Full.cxx:73
TrackCollHandleBase::m_propMaxRadius
float m_propMaxRadius
Definition: TrackCollHandleBase.h:214
urldecode::states
states
Definition: urldecode.h:39
VP1StdCollection::Imp::matButton
VP1MaterialButtonBase * matButton
Definition: VP1StdCollection.cxx:53
TrackCommonFlags::ActualPath
@ ActualPath
Definition: TrackCommonFlags.h:26
TrackCollHandleBase::cutAllowedEta
VP1Interval cutAllowedEta() const
TrackCollHandleBase::setCutAllowedEta
void setCutAllowedEta(const VP1Interval &)
Definition: TrackCollHandleBase.cxx:784
VP1StdCollection::visibilityChanged
void visibilityChanged(bool)
TrackHandle_TrkSegment::trkSegmentPointer
const Trk::Segment * trkSegmentPointer() const
Definition: TrackHandle_TrkSegment.h:50
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
TrackSystemController::trackLabels
TrackLabelModes trackLabels()
Definition: TrackSystemController.cxx:2215
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
VP1StdCollection::provideExtraWidgetsForGuiRow
virtual QList< QWidget * > provideExtraWidgetsForGuiRow() const
Definition: VP1StdCollection.h:88
TrackCollHandleBase::m_cut_etaptphi_allwillfail
bool m_cut_etaptphi_allwillfail
Definition: TrackCollHandleBase.h:230
TrackCollHandleBase::setMeasurementsShorttubesScale
void setMeasurementsShorttubesScale(double)
Definition: TrackCollHandleBase.cxx:979
VP1StdCollection::Imp::extraWidgets
QList< QWidget * > extraWidgets
Definition: VP1StdCollection.cxx:61
TrackHandleBase::currentMaterial
SoMaterial * currentMaterial() const
Definition: TrackHandleBase.h:76
hist_file_dump.f
f
Definition: hist_file_dump.py:135
VP1Collection::m_d
Imp * m_d
Definition: VP1Collection.h:59
TrackCollHandleBase::allowColourByPID
virtual bool allowColourByPID() const
Definition: TrackCollHandleBase.h:144
VP1StdCollection::text
QString text() const
Definition: VP1StdCollection.cxx:132
TrackCollHandleBase::COLOUR_VERTEX
@ COLOUR_VERTEX
Definition: TrackCollHandleBase.h:138
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
python.AtlRunQueryLib.options
options
Definition: AtlRunQueryLib.py:379
TrackCollHandleBase::Imp::objBrowseTree
QTreeWidgetItem * objBrowseTree
Definition: TrackCollHandleBase.cxx:89
TrackType::typeToInt
static qint32 typeToInt(const Type &)
Definition: TrackTypes.cxx:8
TrackCollHandleBase::trackSelectionChanged
void trackSelectionChanged()
Definition: TrackCollHandleBase.cxx:703
TrackSystemController::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: TrackSystemController.cxx:1828
TrackCollHandleBase::cutRequiredNHits
QList< unsigned > cutRequiredNHits() const
TrackCollHandleBase::recheckCutStatusOfAllHandles
void recheckCutStatusOfAllHandles()
Definition: TrackCollHandleBase.cxx:425
TrackCollHandleBase::Imp::tsos_useShortMDTMeasurements
bool tsos_useShortMDTMeasurements
Definition: TrackCollHandleBase.cxx:70
TrackSystemController::cutRequiredNHits
QList< unsigned > cutRequiredNHits() const
Definition: TrackSystemController.cxx:1834
VP1Deserialise
Definition: VP1Deserialise.h:44
DataVector< Trk::Segment >
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
TrackSysCommonData::visTrkSegmentsToMaterialHelper
VisibleObjectToMaterialHelper< Trk::Segment > * visTrkSegmentsToMaterialHelper() const
Definition: TrackSysCommonData.h:133
VP1StdCollection::Imp::idProvided
bool idProvided
Definition: VP1StdCollection.cxx:59
VP1Collection
Definition: VP1Collection.h:31
VP1StdCollection::problemsLoading
bool problemsLoading() const
Definition: VP1StdCollection.cxx:154
TrackCollHandleBase::setPropagationOptions
void setPropagationOptions(TrackSystemController::PropagationOptionFlags)
Definition: TrackCollHandleBase.cxx:535
TrackCollHandleBase::m_d
Imp * m_d
Definition: TrackCollHandleBase.h:204
TrackCollHandleBase::setLabelPosOffsets
void setLabelPosOffsets(const QList< int > &)
Definition: TrackCollHandleBase.cxx:612
TrackCollHandleBase::update3DObjectsOfAllHandles
void update3DObjectsOfAllHandles(bool onlythosetouchingmuonchambers=false, bool invalidatePropagatedPoints=false, float maxR=0.0)
Definition: TrackCollHandleBase.cxx:440
VP1StdCollection::collMaterialTransparencyAndBrightnessChanged
virtual void collMaterialTransparencyAndBrightnessChanged()
Definition: VP1StdCollection.h:79
TrackCollHandleBase::setPropMaxRadius
void setPropMaxRadius(float)
Definition: TrackCollHandleBase.cxx:541
VP1StdCollection::Imp::lastMatBrightness
double lastMatBrightness
Definition: VP1StdCollection.cxx:63
VP1StdCollection::Imp::lastMatTransparency
double lastMatTransparency
Definition: VP1StdCollection.cxx:62
VP1QtInventorUtils::sbcol2qcol
static QColor sbcol2qcol(const SbColor &)
Definition: VP1QtInventorUtils.cxx:1142
VP1Interval::isEmpty
bool isEmpty() const
TrackCollHandleBase::m_trackTubeRadius
double m_trackTubeRadius
Definition: TrackCollHandleBase.h:219
TrackCollHandleBase::COLOUR_DISTANCE
@ COLOUR_DISTANCE
Definition: TrackCollHandleBase.h:138
TrackCollHandleBase::extraWidgetsState
QByteArray extraWidgetsState() const
Definition: TrackCollHandleBase.cxx:1180
VP1StdCollection::Imp::problemsloading
bool problemsloading
Definition: VP1StdCollection.cxx:56
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
TrackCollHandleBase::actualSetCustomColouredTSOSPartsOnHandles
void actualSetCustomColouredTSOSPartsOnHandles()
Definition: TrackCollHandleBase.cxx:888
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
VP1Collection::providePersistifiableID
virtual QByteArray providePersistifiableID() const =0
IVP1System::messageDebug
void messageDebug(const QString &) const
Definition: IVP1System.cxx:347
python.selection.number
number
Definition: selection.py:20
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
VP1Interval::contains
bool contains(const double &x) const
TrackCollHandleBase::addTrackHandle
void addTrackHandle(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:515
TrackCollHandleBase::setExtraWidgetsState
void setExtraWidgetsState(const QByteArray &)
Definition: TrackCollHandleBase.cxx:1189
VP1Collection::widgetsForGuiRow
virtual QList< QWidget * > widgetsForGuiRow() const
Definition: VP1Collection.cxx:62
VP1StdCollection::isLoaded
bool isLoaded() const
Definition: VP1StdCollection.cxx:148
TrackCollHandleBase::m_requiredDetectorElement
QString m_requiredDetectorElement
Definition: TrackCollHandleBase.h:226
TrackCollHandleBase::fillObjectBrowser
void fillObjectBrowser()
Definition: TrackCollHandleBase.cxx:1092
TrackCollHandleBase::setMaterialEffectsOnTrackScale
void setMaterialEffectsOnTrackScale(double)
Definition: TrackCollHandleBase.cxx:1021
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
TrackSystemController::materialEffectsOnTrackScale
double materialEffectsOnTrackScale() const
Definition: TrackSystemController.cxx:1627
TrackCollHandleBase::setActualPathShown
void setActualPathShown(bool)
Definition: TrackCollHandleBase.cxx:579
TrackCollHandleBase::COLOUR_BYPID
@ COLOUR_BYPID
Definition: TrackCollHandleBase.h:138
VisibleObjectToMaterialHelper::setState
void setState(const objectT *, SoMaterial *mat)
TrackSystemController::cutAllowedPt
VP1Interval cutAllowedPt() const
Definition: TrackSystemController.cxx:1788
VP1Interval::toString
QString toString() const
Trk::IExtrapolator
Definition: IExtrapolator.h:62
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
query_example.col
col
Definition: query_example.py:7
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
TrackCollHandleBase::trackHandleIterationBegin
void trackHandleIterationBegin()
Definition: TrackCollHandleBase.cxx:717
TrackCollHandleBase::Imp::tsos_materialEffectsOnTrackScale
double tsos_materialEffectsOnTrackScale
Definition: TrackCollHandleBase.cxx:75
TrackCollectionSettingsButton::saveState
QByteArray saveState() const
fill out with the state of the object (used for drag and drop etc)
Definition: TrackCollectionSettingsButton.cxx:394
VP1Collection::Imp::widgetsForGuiRowProvided
bool widgetsForGuiRowProvided
Definition: VP1Collection.cxx:32
TrackCollectionSettingsButton::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
Return true if this collection should only should tracks associated to a vertex.
Definition: TrackCollectionSettingsButton.cxx:313
VP1StdCollection::largeChangesEnd
virtual void largeChangesEnd()
Definition: VP1StdCollection.cxx:239
VP1Collection::provideSection
virtual QString provideSection() const =0
python.PyAthena.v
v
Definition: PyAthena.py:154
TrackCollHandleBase::cutAllowedPt
VP1Interval cutAllowedPt() const
TrackCollHandleBase::rerandomiseRandomTrackColours
void rerandomiseRandomTrackColours()
Definition: TrackCollHandleBase.cxx:689
TrackHandleBase::updateShapes_TSOSWithMaterialEffects
void updateShapes_TSOSWithMaterialEffects()
Definition: TrackHandleBase.cxx:287
TrackCollHandleBase::setCutAllowedPt
void setCutAllowedPt(const VP1Interval &)
Definition: TrackCollHandleBase.cxx:745
VP1Collection::Imp::sectionToolTipProvided
bool sectionToolTipProvided
Definition: VP1Collection.cxx:30
TrackCollHandleBase::setParTubeErrorsDrawCylinders
void setParTubeErrorsDrawCylinders(bool)
Definition: TrackCollHandleBase.cxx:1035
VP1Msg::prefix_verbose
static const char * prefix_verbose()
Definition: VP1Msg.h:59
VP1Interval
Definition: VP1Interval.h:23
VP1Collection::Imp::persistIDProvided
bool persistIDProvided
Definition: VP1Collection.cxx:26
VP1StdCollection::Imp::largechangescount_sep
int largechangescount_sep
Definition: VP1StdCollection.cxx:51
TrackCollHandleBase::m_labels
TrackSystemController::TrackLabelModes m_labels
Definition: TrackCollHandleBase.h:216
VP1Msg::messageDebug
static void messageDebug(const QString &)
Definition: VP1Msg.cxx:39
y
#define y
TrackCollHandleBase::m_propagator
Trk::IExtrapolator * m_propagator
Definition: TrackCollHandleBase.h:212
VP1Collection::provideSectionToolTip
virtual QString provideSectionToolTip() const
Definition: VP1Collection.h:53
TrackCollHandleBase::Imp::tsos_numberOfPointsOnCircles
int tsos_numberOfPointsOnCircles
Definition: TrackCollHandleBase.cxx:74
TrackHandleBase::setVisible
void setVisible(bool)
use by the collection handle.
Definition: TrackHandleBase.cxx:434
TrackSystemController::trackObjBrowser
QTreeWidget * trackObjBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
Definition: TrackSystemController.cxx:2051
TrackCollHandleBase::allowColourByCharge
virtual bool allowColourByCharge() const
Definition: TrackCollHandleBase.h:146
IVP1System::updateGUI
void updateGUI()
Definition: IVP1System.cxx:262
VP1StdCollection::Imp::largechangescount_switch
int largechangescount_switch
Definition: VP1StdCollection.cxx:52
VP1QtInventorUtils::setMatColor
static void setMatColor(SoMaterial *, const double &r, const double &g, const double &b, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1QtInventorUtils.cxx:1482
TrackCollHandleBase::setNStdDevForParamErrors
void setNStdDevForParamErrors(const double &)
Definition: TrackCollHandleBase.cxx:993
TrackCollHandleBase::m_propagationOptions
TrackSystemController::PropagationOptionFlags m_propagationOptions
Definition: TrackCollHandleBase.h:213
TrackCollHandleBase::setupSettingsFromController
void setupSettingsFromController(TrackSystemController *)
Definition: TrackCollHandleBase.cxx:198
TrackCollHandle_TrkSegment::m_d
Imp * m_d
Definition: TrackCollHandle_TrkSegment.h:51
VP1Interval::isAllR
bool isAllR() const
VP1StdCollection::collSep
SoSeparator * collSep() const
All 3D objects from this coll.
Definition: VP1StdCollection.cxx:212
VP1StdCollection::visible
bool visible() const
Definition: VP1StdCollection.cxx:142
TrackCollHandleBase::Imp::itTrackHandlesEnd
std::vector< TrackHandleBase * >::iterator itTrackHandlesEnd
Definition: TrackCollHandleBase.cxx:62
TrackCollHandleBase::Imp::tsos_measurementsShorttubesScale
double tsos_measurementsShorttubesScale
Definition: TrackCollHandleBase.cxx:72
TrackCollectionSettingsButton::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition: TrackCollectionSettingsButton.cxx:523
TrackSystemController::propMaxRadius
float propMaxRadius() const
Definition: TrackSystemController.cxx:1653
TrackCollHandleBase::COLOUR_RANDOM
@ COLOUR_RANDOM
Definition: TrackCollHandleBase.h:138
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
TrackType::TrkSegment
@ TrkSegment
Definition: TrackTypes.h:14
TrackCollHandleBase::m_labelsPosOffsets
QList< int > m_labelsPosOffsets
Definition: TrackCollHandleBase.h:218
calibdata.cd
cd
Definition: calibdata.py:51
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
TrackCollHandleBase::Imp::comboBoxEntry_ColourByCollection
static QString comboBoxEntry_ColourByCollection()
Definition: TrackCollHandleBase.cxx:81
TrackSystemController::ignoreMeasurementEffectsOnTrackInProp
bool ignoreMeasurementEffectsOnTrackInProp()
If true (default) don't use TSOS with MEOT to draw track points.
Definition: TrackSystemController.cxx:1662
str
Definition: BTagTrackIpAccessor.cxx:11
TrackCollHandleBase::recheckCutStatusOfAllVisibleHandles
void recheckCutStatusOfAllVisibleHandles()
Definition: TrackCollHandleBase.cxx:386
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
TrackCollHandleBase::Imp::name
QString name
Definition: TrackCollHandleBase.cxx:56
VP1StdCollection::Imp::text
QString text
Definition: VP1StdCollection.cxx:60
TrackCollHandleBase::Imp::tsos_useShortTRTMeasurements
bool tsos_useShortTRTMeasurements
Definition: TrackCollHandleBase.cxx:69
VP1SGAccessHelper
Definition: VP1SGAccessHelper.h:25
TrackCollHandleBase::setColourBy
void setColourBy(COLOURBY)
Definition: TrackCollHandleBase.cxx:634
TrackCollHandleBase::recheckCutStatus
void recheckCutStatus(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:380
TrackCollHandleBase::setUseShortMDTMeasurements
void setUseShortMDTMeasurements(bool)
Definition: TrackCollHandleBase.cxx:948
TrackCollHandleBase::Imp::customColouredTSOSParts
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts
Definition: TrackCollHandleBase.cxx:68
TrackCollHandleBase::m_commonData
TrackSysCommonData * m_commonData
Definition: TrackCollHandleBase.h:209
TrackCollHandleBase::common
TrackSysCommonData * common() const
Definition: TrackCollHandleBase.h:79
VP1StdCollection::Imp::checkBox
QCheckBox * checkBox
Definition: VP1StdCollection.cxx:49
VP1JobConfigInfo::hasPixelGeometry
static bool hasPixelGeometry()
Definition: VP1JobConfigInfo.cxx:127
TrackCollHandleBase::setTrackTubeRadius
void setTrackTubeRadius(const double &)
Definition: TrackCollHandleBase.cxx:623
TrackCollHandleBase::getNextTrackHandle
TrackHandleBase * getNextTrackHandle()
Definition: TrackCollHandleBase.cxx:724
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
TrackCollHandleBase::m_type
TrackType::Type m_type
Definition: TrackCollHandleBase.h:208
VP1StdCollection::m_d
Imp * m_d
Definition: VP1StdCollection.h:102
TrackHandleBase
Definition: TrackHandleBase.h:56
TrackCollHandleBase::m_colourby
COLOURBY m_colourby
Definition: TrackCollHandleBase.h:220
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
TrackCollHandleBase::m_sephelper
VP1ExtraSepLayerHelper * m_sephelper
Definition: TrackCollHandleBase.h:211
python.compressB64.c
def c
Definition: compressB64.py:93
VP1StdCollection::provideText
virtual QString provideText() const =0
TrackType::typeToSectionHeaderToolTip
static QString typeToSectionHeaderToolTip(const Type &)
Definition: TrackTypes.cxx:128
TrackCollHandleBase::setUseShortTRTMeasurements
void setUseShortTRTMeasurements(bool)
Definition: TrackCollHandleBase.cxx:933
VP1StdCollection::Imp::textProvided
bool textProvided
Definition: VP1StdCollection.cxx:57
TrackCollHandleBase::collVisibilityChanged
void collVisibilityChanged(bool)
Definition: TrackCollHandleBase.cxx:1055
TrackCollectionSettingsButton::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: TrackCollectionSettingsButton.cxx:529
TrackSystemController::numberOfPointsOnCircles
int numberOfPointsOnCircles() const
Definition: TrackSystemController.cxx:1610
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336
VP1StdCollection::provideCollTypeID
virtual qint32 provideCollTypeID() const
Definition: VP1StdCollection.h:92
IVP13DSystem::deselectAll
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
Definition: IVP13DSystem.cxx:331
TrackCollHandleBase::COLOUR_CHARGE
@ COLOUR_CHARGE
Definition: TrackCollHandleBase.h:138
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
query_example.des
des
Definition: query_example.py:9
VP1MaterialButtonBase::lastAppliedTransparency
virtual double lastAppliedTransparency() const =0
TrackCollHandleBase::Imp::matButton
TrackCollectionSettingsButton * matButton
Definition: TrackCollHandleBase.cxx:90
TrackCollHandleBase::mightHaveSubSystemHitInfo
virtual bool mightHaveSubSystemHitInfo() const
Definition: TrackCollHandleBase.h:87
TrackCollHandleBase::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
TrackCollHandleBase::name
const QString & name() const
Definition: TrackCollHandleBase.cxx:310
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
TrackCollHandleBase::extrapolateToThisVolumeChanged
void extrapolateToThisVolumeChanged(void)
Definition: TrackCollHandleBase.cxx:547