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_TruthTracks Class Reference

#include <TrackCollHandle_TruthTracks.h>

Inheritance diagram for TrackCollHandle_TruthTracks:
Collaboration diagram for TrackCollHandle_TruthTracks:

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_TruthTracks (TrackSysCommonData *, const QString &name)
 
virtual ~TrackCollHandle_TruthTracks ()
 
virtual void setupSettingsFromControllerSpecific (TrackSystemController *)
 
virtual void init (VP1MaterialButtonBase *matBut=0)
 
void setupSettingsFromController (TrackSystemController *)
 
QString name () const
 
TrackSysCommonDatacommon () const
 
VP1ExtraSepLayerHelpersephelper () const
 
virtual bool canUsePropagator ()
 
double trackTubeRadius () const
 
virtual bool mightHaveSubSystemHitInfo () 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 bool allowColourByMomentum () const
 
virtual bool allowColourByCharge () 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
 
QString helperClassName () const
 

Static Public Member Functions

static QStringList availableCollections (IVP1System *)
 
static QString toString (const COLOURBY &)
 
static VP1CollStates getStates (QList< VP1Collection * >)
 
static void applyStates (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

virtual COLOURBY defaultColourBy () const
 
virtual bool allowColourByPID () const
 
virtual bool load ()
 
virtual bool cut (TrackHandleBase *)
 
virtual QColor defaultColor () 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 setCutFromIROnly (bool)
 
void setCutExcludeBarcodeZero (bool)
 
void setCutExcludeNeutrals (bool)
 
void setShowAscObjs (bool)
 
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 fixPDGCode (SimHitHandleBase *) const
 
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_TruthTracks.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_TruthTracks()

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

Definition at line 159 of file TrackCollHandle_TruthTracks.cxx.

162 {
163  setHelperClassName("TrackCollHandle_TruthTracks");
164  m_d->theclass = this;
165  m_d->updateGUICounter = 0;
166  m_d->cut_fromIROnly = true;
167  m_d->cut_excludeBarcodeZero = true;
168  m_d->cut_excludeNeutrals = true;
169  m_d->displayAscObjs = false;
170 }

◆ ~TrackCollHandle_TruthTracks()

TrackCollHandle_TruthTracks::~TrackCollHandle_TruthTracks ( )
virtual

Definition at line 173 of file TrackCollHandle_TruthTracks.cxx.

174 {
175  delete m_d;
176 }

Member Function Documentation

◆ actualSetCustomColouredTSOSPartsOnHandles()

void TrackCollHandleBase::actualSetCustomColouredTSOSPartsOnHandles ( )
privateinherited

Definition at line 889 of file TrackCollHandleBase.cxx.

890 {
893  TrackHandleBase* handle;
894  while ((handle=getNextTrackHandle()))
896  largeChangesEnd();
897 }

◆ actualSetShownTSOSPartsOnHandles()

void TrackCollHandleBase::actualSetShownTSOSPartsOnHandles ( )
privateinherited

Definition at line 900 of file TrackCollHandleBase.cxx.

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

◆ addTrackHandle()

void TrackCollHandleBase::addTrackHandle ( TrackHandleBase handle)
protectedinherited

Definition at line 516 of file TrackCollHandleBase.cxx.

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

◆ allowColourByCharge()

virtual bool TrackCollHandleBase::allowColourByCharge ( ) const
inlinevirtualinherited

Reimplemented in TrackCollHandle_TrkSegment.

Definition at line 146 of file TrackCollHandleBase.h.

146 { return true; }

◆ 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 TrackCollHandleBase::allowColourByMomentum ( ) const
inlinevirtualinherited

Reimplemented in TrackCollHandle_TrkSegment.

Definition at line 145 of file TrackCollHandleBase.h.

145 { return true; }

◆ allowColourByPID()

virtual bool TrackCollHandle_TruthTracks::allowColourByPID ( ) const
inlineprotectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 41 of file TrackCollHandle_TruthTracks.h.

41 { return true; }

◆ 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 ( 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 1157 of file TrackCollHandleBase.cxx.

1158 {
1159  VP1QtInventorUtils::setMatColor( m, defaultColor(), 0.18/*brightness*/ );
1160 }

◆ availableCollections()

QStringList TrackCollHandle_TruthTracks::availableCollections ( IVP1System sys)
static

Definition at line 113 of file TrackCollHandle_TruthTracks.cxx.

114 {
115  QStringList l;
116  VP1SGContentsHelper sgcont(sys);
117 
118  QStringList mcevent_keys = sgcont.getKeys<McEventCollection>();
119  QStringList trackrecord_keys = sgcont.getKeys<TrackRecordCollection>();
120 
121  QStringList keys_siliconhits, keys_trthits, keys_mdthits,
122  keys_rpchits, keys_tgchits, keys_cschits;
123 
125  keys_siliconhits = sgcont.getKeys<SiHitCollection>();//"PixelHits" and "SCT_Hits"
127  keys_trthits = sgcont.getKeys<TRTUncompressedHitCollection>();//"TRTUncompressedHits"
128  if (false&&/*fixme!!*/VP1JobConfigInfo::hasMuonGeometry()) {
129  keys_mdthits = sgcont.getKeys<MDTSimHitCollection>();
130  keys_rpchits = sgcont.getKeys<RPCSimHitCollection>();
131  keys_tgchits = sgcont.getKeys<TGCSimHitCollection>();
132  keys_cschits = sgcont.getKeys<CSCSimHitCollection>();
133  }
134 
135  bool extrainfo = ! ( keys_siliconhits.empty() && keys_trthits.empty()
136  && keys_mdthits.empty() && keys_rpchits.empty()
137  && keys_tgchits.empty() && keys_cschits.empty()
138  && trackrecord_keys.empty() );
139 
140  if (extrainfo&&mcevent_keys.empty()) {
142  return l;
143  }
144 
145  for (QString mcevent_key : mcevent_keys) {
146  l << mcevent_key;
147  if (extrainfo)
148  l << mcevent_key + Imp::nameHepMCAugmentedEnd;
149  }
150 
151  //Fixme: REMOVE THIS (only for testing!!):
152  if (extrainfo)
154 
155  return l;
156 }

◆ 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 553 of file TrackCollHandleBase.cxx.

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

◆ 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 1223 of file TrackCollHandleBase.cxx.

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

◆ 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 1056 of file TrackCollHandleBase.cxx.

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

◆ 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 1203 of file TrackCollHandleBase.cxx.

1204 {
1205  messageVerbose("Collection detail level combo box changed index");
1206  if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByPID())
1208  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByRandom())
1210  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByMomentum())
1212  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByCharge())
1216  else if (m_d->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByVertex())
1218  else
1220 }

◆ common()

TrackSysCommonData* TrackCollHandleBase::common ( ) const
inlineinherited

Definition at line 79 of file TrackCollHandleBase.h.

79 { return m_commonData; }

◆ cut()

bool TrackCollHandle_TruthTracks::cut ( TrackHandleBase handle)
protectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 484 of file TrackCollHandle_TruthTracks.cxx.

485 {
486  if (!TrackCollHandleBase::cut(handle))
487  return false;
488 
489  if (m_d->cut_excludeNeutrals && handle->hasCharge() && handle->charge()==0.0)
490  return false;
491 
492  TrackHandle_TruthTrack * truthhandle = static_cast<TrackHandle_TruthTrack *>(handle);
493  if (m_d->cut_excludeBarcodeZero && truthhandle->hasBarCodeZero())
494  return false;
495 
496  if (m_d->cut_fromIROnly && ! truthhandle->hasVertexAtIR(2.8*CLHEP::cm*2.8*CLHEP::cm,50*CLHEP::cm))
497  return false;
498 
499  return true;
500 }

◆ 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 1248 of file TrackCollHandleBase.cxx.

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

◆ 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_TruthTracks::defaultColor ( ) const
inlineprotectedvirtual

Implements TrackCollHandleBase.

Definition at line 44 of file TrackCollHandle_TruthTracks.h.

44 { return QColor::fromRgbF(0.42f, 0.96f, 0.16f); }

◆ defaultColourBy()

virtual COLOURBY TrackCollHandle_TruthTracks::defaultColourBy ( ) const
inlineprotectedvirtual

Reimplemented from TrackCollHandleBase.

Definition at line 40 of file TrackCollHandle_TruthTracks.h.

40 { return COLOUR_BYPID; }

◆ extendTracks()

bool TrackCollHandleBase::extendTracks ( ) const
inlineinherited

Definition at line 135 of file TrackCollHandleBase.h.

◆ extrapolateToThisVolumeChanged

void TrackCollHandleBase::extrapolateToThisVolumeChanged ( void  )
slotinherited

Definition at line 548 of file TrackCollHandleBase.cxx.

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

◆ extraWidgetsState()

QByteArray TrackCollHandleBase::extraWidgetsState ( ) const
protectedvirtualinherited

Reimplemented from VP1StdCollection.

Definition at line 1183 of file TrackCollHandleBase.cxx.

1184 {
1185  VP1Serialise serialise(0/*version*/,systemBase());
1187  serialise.disableUnsavedChecks();
1188  return serialise.result();
1189 }

◆ fillObjectBrowser()

void TrackCollHandleBase::fillObjectBrowser ( )
privateinherited

Definition at line 1093 of file TrackCollHandleBase.cxx.

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

◆ fixPDGCode()

void TrackCollHandle_TruthTracks::fixPDGCode ( SimHitHandleBase handle) const
private

Definition at line 298 of file TrackCollHandle_TruthTracks.cxx.

299 {
300  int pdgfromsimhit =handle->actualPDGCodeFromSimHit();
301  bool isNonUniqueSecondary = handle->simBarCode().isNonUniqueSecondary();
302  SimBarCode::ExtBarCode extBarCode = handle->simBarCode().extBarCode();
303 
304  if (pdgfromsimhit!=SimBarCode::unknownPDG) {
305  handle->setPDG(handle->actualPDGCodeFromSimHit());
306  std::map<SimBarCode::ExtBarCode,int>::const_iterator it = m_d->extBarCode2pdg.find(extBarCode);
307  if ( !isNonUniqueSecondary && it==m_d->extBarCode2pdg.end())
308  m_d->extBarCode2pdg[extBarCode] = pdgfromsimhit;
309  return;
310  }
311  if (isNonUniqueSecondary)
312  return;
313  std::map<SimBarCode::ExtBarCode,int>::const_iterator it = m_d->extBarCode2pdg.find(extBarCode);
314  if (it!=m_d->extBarCode2pdg.end()) {
315  handle->setPDG(it->second);
316  }
317 }

◆ getNextTrackHandle()

TrackHandleBase * TrackCollHandleBase::getNextTrackHandle ( )
protectedinherited

Definition at line 725 of file TrackCollHandleBase.cxx.

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

◆ getStates()

VP1CollStates VP1Collection::getStates ( 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()

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 510 of file TrackCollHandleBase.cxx.

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

◆ 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_TruthTracks::load ( )
protectedvirtual

Implements VP1StdCollection.

Definition at line 376 of file TrackCollHandle_TruthTracks.cxx.

377 {
378  //Decode name to figure out if we need to load simhits/track records and which HepMC key to use.
379  bool augmentedonly = name()==Imp::nameAugmentedOnly;
380  bool augmented = augmentedonly || name().endsWith(Imp::nameHepMCAugmentedEnd);
381  QString hepmckey;
382  if (!augmentedonly) {
383  hepmckey = name();
384  if (augmented)
385  hepmckey.chop(Imp::nameHepMCAugmentedEnd.count());
386  }
387 
388  //get genparticles (should be done BEFORE we load sim. hits., so the barCode2pdg map gets filled):
389  std::map<SimBarCode,HepMC::ConstGenParticlePtr> genParticles;
390  if (!hepmckey.isEmpty())
391  if (!m_d->loadGenParticles(genParticles,hepmckey))
392  return false;
393 
394  //get sim hits and track records:
395  std::map<SimBarCode,SimHitList> hitLists;
396  if (augmented) {
397  if (!m_d->loadHitLists(hitLists))
398  return false;
399  messageVerbose("TrackCollHandle_TruthTracks "+name()
400  +": Found "+str(hitLists.size())+" truth particles from simhits");
401  }
402 
403  //Finally we need to combine the info we thus found, and construct
404  //actual track handles:
405 
406  //We do this by looping through the simhit list, and checking for
407  //genparticles with the same SimBarCode. Those gen particles we use
408  //in this way, we take out of the map (put to null), to indicate we
409  //already used them. In the final step we add genparticle-only
410  //handles for the remaining genparticle (unless they have production
411  //and decay vertices ultra-close to each other):
412 
413  std::map<SimBarCode,HepMC::ConstGenParticlePtr>::iterator itGenPart, itGenPartEnd(genParticles.end());
414  std::map<SimBarCode,SimHitList>::iterator itHitList, itHitListEnd(hitLists.end()), itHitListTemp;
415 
416  //First we attempt to sort secondaries with barcode=0 into new lists
417  //of hits that are likely to have come from the same particle.
418 
419  int newBarCode(-1);
420  std::map<SimBarCode,SimHitList> secondaryHitLists;
421  messageVerbose("Sorting non-unique secondaries into lists of hits likely to originate from the same track.");
422  QElapsedTimer timer;timer.start();
423  for (itHitList = hitLists.begin();itHitList!=itHitListEnd;) {
424  if (itHitList->first.isNonUniqueSecondary()) {
425  m_d->createSecondaryHitLists(itHitList->first,itHitList->second,secondaryHitLists,newBarCode);
426  itHitListTemp = itHitList;
427  ++itHitList;
428  hitLists.erase(itHitListTemp);
429  } else {
430  ++itHitList;
431  }
432  }
433  messageVerbose("Finished sorting non-unique secondaries into lists. Time spent: "+str(timer.elapsed()*0.001)+" seconds");
434  std::map<SimBarCode,SimHitList>::iterator itSecondaryList,itSecondaryListEnd(secondaryHitLists.end());
435  for (itSecondaryList = secondaryHitLists.begin();itSecondaryList!=itSecondaryListEnd;++itSecondaryList)
436  hitLists[itSecondaryList->first] = itSecondaryList->second;//Fixme: Check that it does not already exist!
437 
438  for (itHitList = hitLists.begin();itHitList!=itHitListEnd;++itHitList) {
439  if (itHitList->second.empty()) {
440  message("load WARNING: Ignoring empty hit list.");
441  continue;
442  }
443  itGenPart = genParticles.find(itHitList->first);
444  HepMC::ConstGenParticlePtr p{nullptr};
445  if (itGenPart!=itGenPartEnd) {
446  p = itGenPart->second;
447  itGenPart->second = 0;
448  }
449 
451 
452  if (m_d->fixMomentumInfoInSimHits(p,itHitList->second))//Provide guesses for momentum in simhits that needs them (and deletes the rest).
453  addTrackHandle( new TrackHandle_TruthTrack( this, itHitList->first, itHitList->second, p ) );
454  }
455 
456  const double minSpacialSeparation = 1.0e-3*CLHEP::mm;
457  const double minSepSq = minSpacialSeparation*minSpacialSeparation;
458  for (itGenPart=genParticles.begin();itGenPart!=itGenPartEnd;++itGenPart) {
459  HepMC::ConstGenParticlePtr p = itGenPart->second;
460  if (!p)
461  continue;
462  if (abs(p->pdg_id())>=Imp::maxPdgCode)//Internal particle... (fixme: find proper limit!!)
463  continue;
464  if (!p->production_vertex())
465  continue;
466  if (p->end_vertex()) {
467  double dx(p->end_vertex()->position().x()-p->production_vertex()->position().x());
468  double dy(p->end_vertex()->position().y()-p->production_vertex()->position().y());
469  double dz(p->end_vertex()->position().z()-p->production_vertex()->position().z());
470  if ( dx*dx+dy*dy+dz*dz < minSepSq )
471  continue;
472  }
474  addTrackHandle( new TrackHandle_TruthTrack( this, itGenPart->first, SimHitList(), p ) );
475  }
476 
477  //Maybe we need to show measurements, etc.:
479 
480  return true;
481 }

◆ 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 (QString s : l)
139  message(addtostart+s);
140  } else {
141  for (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 (QString s : l)
95  message(s);
96  } else {
97  for (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 (QString s : l)
157  messageDebug(addtostart+s);
158  } else {
159  for (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 (QString s : l)
109  messageDebug(s);
110  } else {
111  for (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 (QString s : l)
175  messageVerbose(addtostart+s);
176  } else {
177  for (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 (QString s : l)
123  messageVerbose(s);
124  } else {
125  for (QString s : l)
126  messageVerbose(s+addtoend);
127  }
128 }

◆ mightHaveSubSystemHitInfo()

virtual bool TrackCollHandleBase::mightHaveSubSystemHitInfo ( ) const
inlinevirtualinherited

◆ name()

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 1286 of file TrackCollHandleBase.cxx.

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

◆ 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 1050 of file TrackCollHandleBase.cxx.

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

◆ provideExtraWidgetsForGuiRow()

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

Reimplemented from VP1StdCollection.

Definition at line 1176 of file TrackCollHandleBase.cxx.

1177 {
1178  return QList<QWidget*>() << m_d->comboBox_colourby;
1179 
1180 }

◆ 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 381 of file TrackCollHandleBase.cxx.

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

◆ recheckCutStatusOfAllHandles()

void TrackCollHandleBase::recheckCutStatusOfAllHandles ( )
inherited

Definition at line 426 of file TrackCollHandleBase.cxx.

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

◆ recheckCutStatusOfAllNotVisibleHandles()

void TrackCollHandleBase::recheckCutStatusOfAllNotVisibleHandles ( )
inherited

Definition at line 408 of file TrackCollHandleBase.cxx.

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

◆ recheckCutStatusOfAllVisibleHandles()

void TrackCollHandleBase::recheckCutStatusOfAllVisibleHandles ( )
inherited

Definition at line 387 of file TrackCollHandleBase.cxx.

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

◆ rerandomiseRandomTrackColours

void TrackCollHandleBase::rerandomiseRandomTrackColours ( )
slotinherited

Definition at line 690 of file TrackCollHandleBase.cxx.

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

◆ 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 580 of file TrackCollHandleBase.cxx.

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

◆ setColourBy

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

Definition at line 635 of file TrackCollHandleBase.cxx.

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

◆ setCustomColouredTSOSParts

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

Definition at line 924 of file TrackCollHandleBase.cxx.

925 {
927  return;
929  if (visible()) messageVerbose("custom coloured TSOS parts changed to "+str(f));
931 }

◆ setCutAllowedEta

void TrackCollHandleBase::setCutAllowedEta ( const VP1Interval allowedEta)
privateslotinherited

Definition at line 785 of file TrackCollHandleBase.cxx.

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

◆ setCutAllowedPhi

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

Definition at line 810 of file TrackCollHandleBase.cxx.

811 {
812  messageVerbose("signal received in setCutAllowedPhi.");
813 
814  if (m_cut_allowedPhi==allowedPhi)
815  return;
816  m_cut_allowedPhi = allowedPhi;
817 
818  m_cut_phi_allowall = m_cut_allowedPhi.count()==1 && m_cut_allowedPhi.at(0).isAllR();
820 
821  if (m_cut_phi_allowall) {
823  return;
824  }
827  return;
828  }
830 }

◆ setCutAllowedPt

void TrackCollHandleBase::setCutAllowedPt ( const VP1Interval allowedpt)
privateslotinherited

Definition at line 746 of file TrackCollHandleBase.cxx.

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

◆ setCutExcludeBarcodeZero

void TrackCollHandle_TruthTracks::setCutExcludeBarcodeZero ( bool  b)
privateslot

Definition at line 515 of file TrackCollHandle_TruthTracks.cxx.

516 {
518  return;
520  if (b)
522  else
524 }

◆ setCutExcludeNeutrals

void TrackCollHandle_TruthTracks::setCutExcludeNeutrals ( bool  b)
privateslot

Definition at line 527 of file TrackCollHandle_TruthTracks.cxx.

528 {
529  if (m_d->cut_excludeNeutrals==b)
530  return;
532  if (b)
534  else
536 }

◆ setCutFromIROnly

void TrackCollHandle_TruthTracks::setCutFromIROnly ( bool  b)
privateslot

Definition at line 503 of file TrackCollHandle_TruthTracks.cxx.

504 {
505  if (m_d->cut_fromIROnly == b)
506  return;
507  m_d->cut_fromIROnly = b;
508  if (b)
510  else
512 }

◆ setDrawMeasGlobalPositions

void TrackCollHandleBase::setDrawMeasGlobalPositions ( bool  b)
slotinherited

Definition at line 963 of file TrackCollHandleBase.cxx.

964 {
965  // if (visible()) messageVerbose("TrackCollHandleBase::setDrawMeasGlobalPositions => "+str(b));
966 
968  return;
970 
973  TrackHandleBase* handle;
974  while ((handle=getNextTrackHandle()))
976  largeChangesEnd();
977 }

◆ setExtraWidgetsState()

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

Reimplemented from VP1StdCollection.

Definition at line 1192 of file TrackCollHandleBase.cxx.

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

◆ 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 613 of file TrackCollHandleBase.cxx.

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

◆ setLabels

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

Definition at line 591 of file TrackCollHandleBase.cxx.

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

◆ setLabelTrkOffset

void TrackCollHandleBase::setLabelTrkOffset ( float  offset)
slotinherited

Definition at line 602 of file TrackCollHandleBase.cxx.

603 {
604  messageVerbose("setLabelTrkOffset called");
606  return;
607  messageVerbose("setLabelTrkOffset ==> Changed to "+QString::number(offset));
610 }

◆ setMaterialEffectsOnTrackScale

void TrackCollHandleBase::setMaterialEffectsOnTrackScale ( double  n)
slotinherited

Definition at line 1022 of file TrackCollHandleBase.cxx.

1023 {
1025  return;
1029  TrackHandleBase* handle;
1030  while ((handle=getNextTrackHandle()))
1032  largeChangesEnd();
1033 }

◆ setMeasurementsShorttubesScale

void TrackCollHandleBase::setMeasurementsShorttubesScale ( double  n)
slotinherited

Definition at line 980 of file TrackCollHandleBase.cxx.

981 {
983  return;
987  TrackHandleBase* handle;
988  while ((handle=getNextTrackHandle()))
990  largeChangesEnd();
991 }

◆ setNStdDevForParamErrors

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

Definition at line 994 of file TrackCollHandleBase.cxx.

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

◆ setNumberOfPointsOnCircles

void TrackCollHandleBase::setNumberOfPointsOnCircles ( int  n)
slotinherited

Definition at line 1008 of file TrackCollHandleBase.cxx.

1009 {
1011  return;
1015  TrackHandleBase* handle;
1016  while ((handle=getNextTrackHandle()))
1017  handle->updateShapes_TSOSWithErrors();
1018  largeChangesEnd();
1019 }

◆ setOnlyVertexAssocTracks

void TrackCollHandleBase::setOnlyVertexAssocTracks ( bool  b)
slotinherited

Definition at line 879 of file TrackCollHandleBase.cxx.

879  {
880  messageVerbose("setOnlyVertexAssocTracks changed to "+str(b));
881 
882  if (b)
884  else
886 }

◆ setParts [1/2]

void TrackCollHandleBase::setParts ( int  angle)
privateslotinherited

Definition at line 571 of file TrackCollHandleBase.cxx.

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

◆ setParts [2/2]

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

Definition at line 559 of file TrackCollHandleBase.cxx.

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

◆ setParTubeErrorsDrawCylinders

void TrackCollHandleBase::setParTubeErrorsDrawCylinders ( bool  b)
slotinherited

Definition at line 1036 of file TrackCollHandleBase.cxx.

1037 {
1039  return;
1043  TrackHandleBase* handle;
1044  while ((handle=getNextTrackHandle()))
1045  handle->updateShapes_TSOSWithErrors();
1046  largeChangesEnd();
1047 }

◆ setPropagationOptions

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

Definition at line 536 of file TrackCollHandleBase.cxx.

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

◆ setPropagator

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

Definition at line 522 of file TrackCollHandleBase.cxx.

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

◆ setPropMaxRadius

void TrackCollHandleBase::setPropMaxRadius ( float  radius)
privateslotinherited

Definition at line 542 of file TrackCollHandleBase.cxx.

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

◆ setRequiredDetectorElement

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

Definition at line 873 of file TrackCollHandleBase.cxx.

◆ setRequiredNHits

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

Definition at line 833 of file TrackCollHandleBase.cxx.

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

◆ setShowAscObjs

void TrackCollHandle_TruthTracks::setShowAscObjs ( bool  b)
privateslot

Definition at line 195 of file TrackCollHandle_TruthTracks.cxx.

196 {
197  if (m_d->displayAscObjs==b)
198  return;
200  messageVerbose("Associated objects shown flag changed to " + str(b));
202 }

◆ setShownTSOSParts

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

Definition at line 913 of file TrackCollHandleBase.cxx.

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

◆ setState()

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

Provide specific implementation.

Reimplemented from VP1StdCollection.

Definition at line 1262 of file TrackCollHandleBase.cxx.

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

◆ 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 624 of file TrackCollHandleBase.cxx.

625 {
626  messageVerbose("setTrackTubeRadius called");
627  if (m_trackTubeRadius==r)
628  return;
630  messageVerbose("setTrackTubeRadius ==> Changed");
632 }

◆ 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_TruthTracks::setupSettingsFromControllerSpecific ( TrackSystemController controller)
virtual

Reimplemented from TrackCollHandleBase.

Definition at line 179 of file TrackCollHandle_TruthTracks.cxx.

180 {
181  connect(controller,SIGNAL(cutTruthFromIROnlyChanged(bool)),this,SLOT(setCutFromIROnly(bool)));
182  setCutFromIROnly(controller->cutTruthFromIROnly());
183 
184  connect(controller,SIGNAL(cutExcludeBarcodeZeroChanged(bool)),this,SLOT(setCutExcludeBarcodeZero(bool)));
186 
187  connect(controller,SIGNAL(cutTruthExcludeNeutralsChanged(bool)),this,SLOT(setCutExcludeNeutrals(bool)));
189 
190  connect(controller,SIGNAL(showTruthAscObjsChanged(bool)),this,SLOT(setShowAscObjs(bool)));
191  setShowAscObjs(controller->showTruthAscObjs());
192 }

◆ setUseDefaultCuts

void TrackCollHandleBase::setUseDefaultCuts ( bool  useDefaults)
privateslotinherited

Definition at line 733 of file TrackCollHandleBase.cxx.

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

◆ setUseShortMDTMeasurements

void TrackCollHandleBase::setUseShortMDTMeasurements ( bool  b)
slotinherited

Definition at line 949 of file TrackCollHandleBase.cxx.

950 {
952  return;
956  TrackHandleBase* handle;
957  while ((handle=getNextTrackHandle()))
959  largeChangesEnd();
960 }

◆ setUseShortTRTMeasurements

void TrackCollHandleBase::setUseShortTRTMeasurements ( bool  b)
slotinherited

Definition at line 934 of file TrackCollHandleBase.cxx.

935 {
937  return;
941  TrackHandleBase* handle;
942  while ((handle=getNextTrackHandle()))
944  largeChangesEnd();
945 }

◆ 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 1163 of file TrackCollHandleBase.cxx.

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

◆ trackHandleIterationBegin()

void TrackCollHandleBase::trackHandleIterationBegin ( )
protectedinherited

Definition at line 718 of file TrackCollHandleBase.cxx.

719 {
720  m_d->itTrackHandles = m_d->trackhandles.begin();
722 }

◆ trackSelectionChanged

void TrackCollHandleBase::trackSelectionChanged ( )
slotinherited

Definition at line 704 of file TrackCollHandleBase.cxx.

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

◆ 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 441 of file TrackCollHandleBase.cxx.

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

◆ updateInDetProjectionsOfAllHandles()

void TrackCollHandleBase::updateInDetProjectionsOfAllHandles ( )
inherited

Definition at line 466 of file TrackCollHandleBase.cxx.

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

◆ updateMaterialOfAllHandles()

void TrackCollHandleBase::updateMaterialOfAllHandles ( )
inherited

Definition at line 496 of file TrackCollHandleBase.cxx.

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

◆ updateMuonProjectionsOfAllHandles()

void TrackCollHandleBase::updateMuonProjectionsOfAllHandles ( )
inherited

Definition at line 481 of file TrackCollHandleBase.cxx.

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

◆ updateObjectBrowserVisibilityCounts()

void TrackCollHandleBase::updateObjectBrowserVisibilityCounts ( )
privateinherited

Definition at line 1081 of file TrackCollHandleBase.cxx.

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

◆ 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 1239 of file TrackCollHandleBase.cxx.

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

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

◆ 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_TruthTracks::m_d
private

Definition at line 55 of file TrackCollHandle_TruthTracks.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:
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:1559
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:602
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
TrackCollHandle_TruthTracks::setShowAscObjs
void setShowAscObjs(bool)
Definition: TrackCollHandle_TruthTracks.cxx:195
VP1Interval::isSane
bool isSane() const
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
TrackCollHandleBase::m_nshownhandles
int m_nshownhandles
Definition: TrackCollHandleBase.h:207
SimBarCode::isNonUniqueSecondary
bool isNonUniqueSecondary() const
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
TrackCollHandleBase::Imp::comboBoxEntry_ColourByMomentum
static QString comboBoxEntry_ColourByMomentum()
Definition: TrackCollHandleBase.cxx:83
TrackCollHandleBase::setRequiredDetectorElement
void setRequiredDetectorElement(const QString &id)
Definition: TrackCollHandleBase.cxx:873
TrackCollHandleBase::Imp::comboBoxEntry_ColourByVertex
static QString comboBoxEntry_ColourByVertex()
Definition: TrackCollHandleBase.cxx:87
TrackCollHandle_TruthTracks::Imp::cut_fromIROnly
bool cut_fromIROnly
Definition: TrackCollHandle_TruthTracks.cxx:96
TrackCollHandleBase::setShownTSOSParts
void setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags)
Definition: TrackCollHandleBase.cxx:913
TrackCollectionSettingsButton::restoreFromState
void restoreFromState(const QByteArray &)
Definition: TrackCollectionSettingsButton.cxx:440
TrackCollHandle_TruthTracks::m_d
Imp * m_d
Definition: TrackCollHandle_TruthTracks.h:54
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrackSystemController::propagationOptions
PropagationOptionFlags propagationOptions() const
Definition: TrackSystemController.cxx:1644
VP1Serialise
Definition: VP1Serialise.h:45
TrackSysCommonData::controller
TrackSystemController * controller() const
Definition: TrackSysCommonData.h:116
TrackHandleBase::fillObjectBrowser
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Overload in child classes.
Definition: TrackHandleBase.cxx:1992
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SimHitHandleBase::simBarCode
SimBarCode simBarCode() const
Definition: SimHitHandleBase.h:48
TrackCollHandleBase::m_cut_allowedPtSq
VP1Interval m_cut_allowedPtSq
Definition: TrackCollHandleBase.h:222
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:810
RoiUtil::serialise
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
Definition: RoiSerialise.cxx:45
TrackCollHandle_TruthTracks::Imp::extBarCode2pdg
std::map< SimBarCode::ExtBarCode, int > extBarCode2pdg
Definition: TrackCollHandle_TruthTracks.cxx:87
VP1StdCollection::Imp::loaded
bool loaded
Definition: VP1StdCollection.cxx:55
TrackSystemController::propagator
Trk::IExtrapolator * propagator() const
Definition: TrackSystemController.cxx:1631
TrackCollHandleBase::Imp::comboBoxEntry_ColourByCharge
static QString comboBoxEntry_ColourByCharge()
Definition: TrackCollHandleBase.cxx:84
VP1Collection::provideWidgetsForGuiRow
virtual QList< QWidget * > provideWidgetsForGuiRow() const =0
TrackHandleBase::charge
double charge() const
Definition: TrackHandleBase.cxx:1491
TrackCollHandleBase::parts
TrackCommonFlags::TrackPartsFlags parts() const
Definition: TrackCollHandleBase.h:136
TrackCollHandleBase::setUseDefaultCuts
void setUseDefaultCuts(bool)
Definition: TrackCollHandleBase.cxx:733
TrackCollHandleBase::Imp::tsos_drawMeasGlobalPositions
bool tsos_drawMeasGlobalPositions
Definition: TrackCollHandleBase.cxx:71
TrackCollHandleBase::Imp::last_useDefaultCuts
bool last_useDefaultCuts
Definition: TrackCollHandleBase.cxx:91
TrackCollHandle_TruthTracks::Imp::loadHitLists
bool loadHitLists(std::map< SimBarCode, SimHitList > &hitLists)
Definition: TrackCollHandle_TruthTracks.cxx:256
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
TrackCollHandle_TruthTracks::Imp::cut_excludeBarcodeZero
bool cut_excludeBarcodeZero
Definition: TrackCollHandle_TruthTracks.cxx:97
hist_file_dump.d
d
Definition: hist_file_dump.py:137
TrackCollHandleBase::clipVolumeChanged
void clipVolumeChanged(double)
Definition: TrackCollHandleBase.cxx:553
TrackSystemController::customColouredTSOSParts
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts() const
Definition: TrackSystemController.cxx:1537
TrackCollectionSettingsButton::trackLightModel
SoLightModel * trackLightModel() const
Definition: TrackCollectionSettingsButton.cxx:297
TrackSystemController::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
Definition: TrackSystemController.cxx:1779
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
TrackHandle_TruthTrack
Definition: TrackHandle_TruthTrack.h:28
TrackHandle_TruthTrack::hasBarCodeZero
bool hasBarCodeZero() const
Definition: TrackHandle_TruthTrack.cxx:240
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:82
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:1596
AtlasHitsVector
Definition: AtlasHitsVector.h:33
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TrackHandleBase::updateObjectBrowser
void updateObjectBrowser()
Definition: TrackHandleBase.h:133
TrackSystemController::shownTrackParts
TrackCommonFlags::TrackPartsFlags shownTrackParts() const
Definition: TrackSystemController.cxx:1477
TrackCommonFlags::MuonProjections
@ MuonProjections
Definition: TrackCommonFlags.h:28
VP1MaterialButtonBase::lastAppliedBrightness
virtual double lastAppliedBrightness() const =0
TrackCollectionSettingsButton::useDefaultCuts
bool useDefaultCuts() const
Definition: TrackCollectionSettingsButton.cxx:308
TrackSysCommonData::system
VP1TrackSystem * system() const
Definition: TrackSysCommonData.h:114
TrackCollHandleBase::Imp::comboBoxEntry_ColourByPID
static QString comboBoxEntry_ColourByPID()
Definition: TrackCollHandleBase.cxx:85
VP1StdCollection::Imp::collsep
SoSeparator * collsep
Definition: VP1StdCollection.cxx:48
TrackCollHandle_TruthTracks::Imp::cut_excludeNeutrals
bool cut_excludeNeutrals
Definition: TrackCollHandle_TruthTracks.cxx:98
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
TrackCollHandleBase::setLabels
void setLabels(TrackSystemController::TrackLabelModes)
Definition: TrackCollHandleBase.cxx:591
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:963
TrackSystemController::vertexProjectionAngle
int vertexProjectionAngle() const
Definition: TrackSystemController.cxx:1488
TrackSystemController::IgnoreMEOT
@ IgnoreMEOT
Definition: TrackSystemController.h:82
TrackCollHandleBase::setCustomColouredTSOSParts
void setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags)
Definition: TrackCollHandleBase.cxx:924
TrackCollectionSettingsButton::trackDrawStyle
SoDrawStyle * trackDrawStyle() const
Definition: TrackCollectionSettingsButton.cxx:292
TrackCollHandleBase::setOnlyVertexAssocTracks
void setOnlyVertexAssocTracks(bool)
Definition: TrackCollHandleBase.cxx:879
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:408
TrackCollHandleBase::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
Return true if this collection should only should tracks associated to a vertex.
Definition: TrackCollHandleBase.cxx:1248
VP1Interval::upper
double upper() const
TrackSystemController::parTubeErrorsDrawCylinders
bool parTubeErrorsDrawCylinders() const
Definition: TrackSystemController.cxx:1602
VP1HelperClassBase::m_system
IVP1System * m_system
Definition: VP1HelperClassBase.h:68
SimBarCode::extBarCode
ExtBarCode extBarCode() const
Definition: SimBarCode.h:43
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
SimHitList
std::vector< std::pair< double, SimHitHandleBase * > > SimHitList
Definition: SimHitHandleBase.h:76
TrackCollHandle_TruthTracks::setCutExcludeBarcodeZero
void setCutExcludeBarcodeZero(bool)
Definition: TrackCollHandle_TruthTracks.cxx:515
x
#define x
TrackCollHandleBase::actualSetShownTSOSPartsOnHandles
void actualSetShownTSOSPartsOnHandles()
Definition: TrackCollHandleBase.cxx:900
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:559
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:1239
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
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
VP1Collection::Imp::sectionProvided
bool sectionProvided
Definition: VP1Collection.cxx:29
TrackSystemController::shownTSOSParts
TrackCommonFlags::TSOSPartsFlags shownTSOSParts() const
Definition: TrackSystemController.cxx:1503
python.utils.AtlRunQueryTimer.timer
def timer(name, disabled=False)
Definition: AtlRunQueryTimer.py:86
TrackCollectionSettingsButton::setText
void setText(const QString &)
Definition: TrackCollectionSettingsButton.cxx:84
TruthTest.itE
itE
Definition: TruthTest.py:25
TrackCollHandle_TruthTracks::Imp::fixMomentumInfoInSimHits
bool fixMomentumInfoInSimHits(HepMC::ConstGenParticlePtr p, SimHitList &hitlist) const
Definition: TrackCollHandle_TruthTracks.cxx:751
TrackSystemController::measurementsShorttubesScale
double measurementsShorttubesScale() const
Definition: TrackSystemController.cxx:1590
TrackType::typeToSectionHeader
static QString typeToSectionHeader(const Type &)
Definition: TrackTypes.cxx:84
TrackCollHandleBase::Imp::tsos_parTubeErrorsDrawCylinders
bool tsos_parTubeErrorsDrawCylinders
Definition: TrackCollHandleBase.cxx:76
TrackSystemController::cutTruthExcludeNeutrals
bool cutTruthExcludeNeutrals() const
Definition: TrackSystemController.cxx:1866
TrackCollHandle_TruthTracks::Imp::updateGUICounter
int updateGUICounter
Definition: TrackCollHandle_TruthTracks.cxx:89
TrackCollHandleBase::setPropagator
void setPropagator(Trk::IExtrapolator *)
Definition: TrackCollHandleBase.cxx:522
TrackCollHandleBase::cut
virtual bool cut(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:316
TrackSystemController::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition: TrackSystemController.cxx:1820
TrackCollHandleBase::m_cut_allowedPhi
QList< VP1Interval > m_cut_allowedPhi
Definition: TrackCollHandleBase.h:224
cm
const double cm
Definition: Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
TrackCollHandleBase::COLOUR_PERCOLLECTION
@ COLOUR_PERCOLLECTION
Definition: TrackCollHandleBase.h:138
TrackCollectionSettingsButton
Definition: TrackCollectionSettingsButton.h:13
VP1StdCollection::Imp::id
qint32 id
Definition: VP1StdCollection.cxx:58
VP1HelperClassBase::setHelperClassName
void setHelperClassName(const QString &n)
Definition: VP1HelperClassBase.h:59
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:1008
TrackCollHandleBase::colourByComboBoxItemChanged
void colourByComboBoxItemChanged()
Definition: TrackCollHandleBase.cxx:1203
TrackCollHandle_TruthTracks::Imp::maxPdgCode
static const int maxPdgCode
Definition: TrackCollHandle_TruthTracks.cxx:105
TrackCollHandleBase::setRequiredNHits
void setRequiredNHits(const QList< unsigned > &)
Definition: TrackCollHandleBase.cxx:833
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:1583
TrackHandleBase::updateShapes_TSOSWithErrors
void updateShapes_TSOSWithErrors()
Definition: TrackHandleBase.cxx:274
TrackHandle_TruthTrack::hasVertexAtIR
bool hasVertexAtIR(const double &rmaxsq, const double &zmax) const
Definition: TrackHandle_TruthTrack.cxx:262
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:496
TrackSystemController::cutTruthFromIROnly
bool cutTruthFromIROnly() const
Definition: TrackSystemController.cxx:1854
TrackSystemController::useShortMDTMeasurements
bool useShortMDTMeasurements() const
Definition: TrackSystemController.cxx:1565
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:351
TrackHandleBase::updateRandomColourTransparencyAndBrightness
void updateRandomColourTransparencyAndBrightness()
Definition: TrackHandleBase.cxx:1419
TrackCollHandle_TruthTracks::Imp::loadGenParticles
void loadGenParticles(std::map< SimBarCode, HepMC::ConstGenParticlePtr > &genParticles, const HepMC::ConstGenVertexPtr &vtx)
Definition: TrackCollHandle_TruthTracks.cxx:320
TrackCollHandle_TruthTracks::setCutFromIROnly
void setCutFromIROnly(bool)
Definition: TrackCollHandle_TruthTracks.cxx:503
lumiFormat.i
int i
Definition: lumiFormat.py:92
z
#define z
TrackCollHandleBase::Imp::comboBoxEntry_ColourByRandom
static QString comboBoxEntry_ColourByRandom()
Definition: TrackCollHandleBase.cxx:82
VP1StdCollection::load
virtual bool load()=0
SimBarCode::unknownPDG
static const int unknownPDG
Definition: SimBarCode.h:25
beamspotman.n
n
Definition: beamspotman.py:731
TrackHandleBase::visible
bool visible() const
Definition: TrackHandleBase.h:67
TrackCollHandleBase::updateObjectBrowserVisibilityCounts
void updateObjectBrowserVisibilityCounts()
Definition: TrackCollHandleBase.cxx:1081
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:785
VP1StdCollection::visibilityChanged
void visibilityChanged(bool)
TrackCollHandle_TruthTracks::Imp::updateVisibleAssociatedObjects
void updateVisibleAssociatedObjects() const
Definition: TrackCollHandle_TruthTracks.cxx:962
TrackCollHandleBase::name
QString name() const
Definition: TrackCollHandleBase.cxx:310
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
TrackSystemController::trackLabels
TrackLabelModes trackLabels()
Definition: TrackSystemController.cxx:2217
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
TrackCollHandle_TruthTracks::Imp::nameHepMCAugmentedEnd
static QString nameHepMCAugmentedEnd
Definition: TrackCollHandle_TruthTracks.cxx:75
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:980
VP1StdCollection::Imp::extraWidgets
QList< QWidget * > extraWidgets
Definition: VP1StdCollection.cxx:61
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:704
TrackSystemController::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: TrackSystemController.cxx:1826
TrackCollHandleBase::cutRequiredNHits
QList< unsigned > cutRequiredNHits() const
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
TrackCollHandle_TruthTracks::Imp::theclass
TrackCollHandle_TruthTracks * theclass
Definition: TrackCollHandle_TruthTracks.cxx:60
TrackCollHandleBase::recheckCutStatusOfAllHandles
void recheckCutStatusOfAllHandles()
Definition: TrackCollHandleBase.cxx:426
TrackCollHandleBase::Imp::tsos_useShortMDTMeasurements
bool tsos_useShortMDTMeasurements
Definition: TrackCollHandleBase.cxx:70
TrackSystemController::cutRequiredNHits
QList< unsigned > cutRequiredNHits() const
Definition: TrackSystemController.cxx:1832
VP1Deserialise
Definition: VP1Deserialise.h:44
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
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:536
TrackCollHandleBase::m_d
Imp * m_d
Definition: TrackCollHandleBase.h:204
TrackCollHandleBase::setLabelPosOffsets
void setLabelPosOffsets(const QList< int > &)
Definition: TrackCollHandleBase.cxx:613
TrackCollHandleBase::update3DObjectsOfAllHandles
void update3DObjectsOfAllHandles(bool onlythosetouchingmuonchambers=false, bool invalidatePropagatedPoints=false, float maxR=0.0)
Definition: TrackCollHandleBase.cxx:441
VP1StdCollection::collMaterialTransparencyAndBrightnessChanged
virtual void collMaterialTransparencyAndBrightnessChanged()
Definition: VP1StdCollection.h:79
TrackCollHandleBase::setPropMaxRadius
void setPropMaxRadius(float)
Definition: TrackCollHandleBase.cxx:542
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:1140
VP1Interval::isEmpty
bool isEmpty() const
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
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:1183
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:889
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
VP1Collection::providePersistifiableID
virtual QByteArray providePersistifiableID() const =0
python.selection.number
number
Definition: selection.py:20
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
SimHitHandleBase::setPDG
void setPDG(int)
Definition: SimHitHandleBase.h:87
VP1Interval::contains
bool contains(const double &x) const
TrackCollHandleBase::addTrackHandle
void addTrackHandle(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:516
TrackCollHandleBase::setExtraWidgetsState
void setExtraWidgetsState(const QByteArray &)
Definition: TrackCollHandleBase.cxx:1192
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:1093
TrackCollHandleBase::setMaterialEffectsOnTrackScale
void setMaterialEffectsOnTrackScale(double)
Definition: TrackCollHandleBase.cxx:1022
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
TrackSystemController::materialEffectsOnTrackScale
double materialEffectsOnTrackScale() const
Definition: TrackSystemController.cxx:1625
TrackCollHandleBase::setActualPathShown
void setActualPathShown(bool)
Definition: TrackCollHandleBase.cxx:580
TrackCollHandleBase::COLOUR_BYPID
@ COLOUR_BYPID
Definition: TrackCollHandleBase.h:138
TrackSystemController::cutAllowedPt
VP1Interval cutAllowedPt() const
Definition: TrackSystemController.cxx:1786
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:718
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
SimHitHandleBase::actualPDGCodeFromSimHit
virtual int actualPDGCodeFromSimHit() const
Definition: SimHitHandleBase.h:61
TrackCollHandle_TruthTracks::Imp::createSecondaryHitLists
void createSecondaryHitLists(const SimBarCode &origSimBarCode, const SimHitList &origHitList, std::map< SimBarCode, SimHitList > &outlists, int &newBarCode)
Definition: TrackCollHandle_TruthTracks.cxx:539
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
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
VP1Collection::provideSection
virtual QString provideSection() const =0
python.PyAthena.v
v
Definition: PyAthena.py:157
makeTRTBarrelCans.dy
tuple dy
Definition: makeTRTBarrelCans.py:21
TrackSystemController::cutExcludeBarcodeZero
bool cutExcludeBarcodeZero() const
Definition: TrackSystemController.cxx:1860
TrackCollHandleBase::cutAllowedPt
VP1Interval cutAllowedPt() const
TrackCollHandleBase::rerandomiseRandomTrackColours
void rerandomiseRandomTrackColours()
Definition: TrackCollHandleBase.cxx:690
TrackHandleBase::updateShapes_TSOSWithMaterialEffects
void updateShapes_TSOSWithMaterialEffects()
Definition: TrackHandleBase.cxx:287
TrackCollHandle_TruthTracks::setCutExcludeNeutrals
void setCutExcludeNeutrals(bool)
Definition: TrackCollHandle_TruthTracks.cxx:527
TrackCollHandleBase::setCutAllowedPt
void setCutAllowedPt(const VP1Interval &)
Definition: TrackCollHandleBase.cxx:746
VP1Collection::Imp::sectionToolTipProvided
bool sectionToolTipProvided
Definition: VP1Collection.cxx:30
TrackCollHandleBase::setParTubeErrorsDrawCylinders
void setParTubeErrorsDrawCylinders(bool)
Definition: TrackCollHandleBase.cxx:1036
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:426
TrackSystemController::trackObjBrowser
QTreeWidget * trackObjBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
Definition: TrackSystemController.cxx:2049
TrackCollHandleBase::allowColourByCharge
virtual bool allowColourByCharge() const
Definition: TrackCollHandleBase.h:146
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:1480
TrackCollHandleBase::setNStdDevForParamErrors
void setNStdDevForParamErrors(const double &)
Definition: TrackCollHandleBase.cxx:994
TrackCollHandle_TruthTracks::Imp::possiblyUpdateGUI
void possiblyUpdateGUI()
Definition: TrackCollHandle_TruthTracks.cxx:90
TrackCollHandle_TruthTracks::Imp::displayAscObjs
bool displayAscObjs
Definition: TrackCollHandle_TruthTracks.cxx:100
TrackCollHandleBase::m_propagationOptions
TrackSystemController::PropagationOptionFlags m_propagationOptions
Definition: TrackCollHandleBase.h:213
makeTRTBarrelCans.dx
tuple dx
Definition: makeTRTBarrelCans.py:20
TrackCollHandleBase::setupSettingsFromController
void setupSettingsFromController(TrackSystemController *)
Definition: TrackCollHandleBase.cxx:198
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:1651
TrackCollHandleBase::COLOUR_RANDOM
@ COLOUR_RANDOM
Definition: TrackCollHandleBase.h:138
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
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
TrackSystemController::showTruthAscObjs
bool showTruthAscObjs() const
Definition: TrackSystemController.cxx:1756
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:1660
TrackType::TruthTrack
@ TruthTrack
Definition: TrackTypes.h:14
TrackHandleBase::hasCharge
bool hasCharge() const
Definition: TrackHandleBase.h:99
str
Definition: BTagTrackIpAccessor.cxx:11
TrackCollHandleBase::recheckCutStatusOfAllVisibleHandles
void recheckCutStatusOfAllVisibleHandles()
Definition: TrackCollHandleBase.cxx:387
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
TrackCollHandleBase::setColourBy
void setColourBy(COLOURBY)
Definition: TrackCollHandleBase.cxx:635
TrackCollHandleBase::recheckCutStatus
void recheckCutStatus(TrackHandleBase *)
Definition: TrackCollHandleBase.cxx:381
TrackCollHandleBase::setUseShortMDTMeasurements
void setUseShortMDTMeasurements(bool)
Definition: TrackCollHandleBase.cxx:949
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
TrackCollHandle_TruthTracks::Imp::nameAugmentedOnly
static QString nameAugmentedOnly
Definition: TrackCollHandle_TruthTracks.cxx:76
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:624
TrackCollHandleBase::getNextTrackHandle
TrackHandleBase * getNextTrackHandle()
Definition: TrackCollHandleBase.cxx:725
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:122
TrackCollHandleBase::setUseShortTRTMeasurements
void setUseShortTRTMeasurements(bool)
Definition: TrackCollHandleBase.cxx:934
VP1StdCollection::Imp::textProvided
bool textProvided
Definition: VP1StdCollection.cxx:57
TrackCollHandleBase::collVisibilityChanged
void collVisibilityChanged(bool)
Definition: TrackCollHandleBase.cxx:1056
TrackCollectionSettingsButton::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: TrackCollectionSettingsButton.cxx:529
TrackSystemController::numberOfPointsOnCircles
int numberOfPointsOnCircles() const
Definition: TrackSystemController.cxx:1608
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::extrapolateToThisVolumeChanged
void extrapolateToThisVolumeChanged(void)
Definition: TrackCollHandleBase.cxx:548
SimBarCode::ExtBarCode
std::pair< int, HepMcParticleLink::index_type > ExtBarCode
Definition: SimBarCode.h:42