![]() |
ATLAS Offline Software
|
#include <TrackHandle_TrackContainer.h>
Public Member Functions | |
| TrackHandle_TrackContainer (TrackCollHandleBase *, ActsTrk::TrackContainer::ConstTrackProxy, const ActsTrk::TrackContainer &) | |
| virtual | ~TrackHandle_TrackContainer () |
| virtual QStringList | clicked () const |
| Called when user selects the node (stringlist is displayed in messagebox). | |
| virtual bool | isRun4EDM () const final |
| virtual Amg::Vector3D | momentum () const |
| virtual const std::vector< Amg::Vector3D > * | provide_pathInfoPoints () |
| ActsTrk::TrackContainer::ConstTrackProxy | track () const |
| const std::vector< ActsTrk::TrackContainer::ConstTrackStateProxy > & | trackStates () const |
| virtual bool | containsDetElement (const QString &) const |
| virtual void | fillObjectBrowser (QList< QTreeWidgetItem * > &list) |
| Called in child classes. | |
| virtual void | updateObjectBrowser () |
| SoNode * | zoomToTSOS (unsigned int index) |
| Depending on controller configuration attempt to zoom to the corresponding TSOS & returned detailed node matching it. | |
| virtual QString | shortInfo () const |
| returns mom and hit information about track | |
| virtual QString | type () const |
| return very short word with type (maybe link with collection type?) | |
| TrackSysCommonData * | common () const |
| void | setVisible (bool) |
| use by the collection handle. | |
| bool | visible () const |
| TrackCollHandleBase * | collHandle () const |
| const std::set< GeoPVConstLink > & | touchedMuonChambers () const |
| void | update3DObjects (bool invalidatePropagatedPoints=false, float maxR=0.0) |
| void | updateInDetProjections () |
| void | updateMuonProjections () |
| void | updateMaterial () |
| void | rerandomiseRandomMaterial () |
| void | updateRandomColourTransparencyAndBrightness () |
| SoMaterial * | currentMaterial () const |
| QStringList | baseInfo () const |
| virtual std::optional< Amg::Vector3D > | startPoint () const |
| returns 0 if can't find start point. | |
| virtual std::optional< Amg::Vector3D > | endPoint () const |
| returns 0 if can't find start point. | |
| virtual int | pdgCode () const |
| 0 means unknown | |
| double | charge () const |
| virtual double | mass () const |
| bool | hasCharge () const |
| bool | hasMass () const |
| virtual bool | hasSubSystemHitInfo () const |
| virtual bool | isIDTrack () const |
| virtual unsigned | getNPixelHits () const |
| virtual unsigned | getNSCTHits () const |
| virtual unsigned | getNTRTHits () const |
| virtual unsigned | getNMuonHits () const |
| virtual unsigned | getNMuonPhiHits () const |
| The number of phi hits is part of hit counts below (i.e. | |
| virtual unsigned | getNMDTHits () const |
| virtual unsigned | getNRPCHits () const |
| virtual unsigned | getNTGCHits () const |
| virtual unsigned | getNCSCHits () const |
| virtual unsigned | getNMMHits () const |
| virtual unsigned | getNsTGCHits () const |
| virtual unsigned | getNMuonPrecisionHits () const |
| virtual const Trk::FitQuality * | getFitQuality () const |
| virtual const MuonGM::MuonReadoutElement * | getMuonReadoutElement (const Trk::RIO_OnTrack &mb) const |
| QList< AssociatedObjectHandleBase * > | getVisibleMeasurements () const |
| TrackCommonFlags::TSOSPartsFlags | shownTSOSParts () const |
| TrackCommonFlags::TSOSPartsFlags | customColouredTSOSParts () const |
| std::vector< Amg::Vector3D > * | hackGetPointsPropagated () |
| FIXME. | |
| QTreeWidgetItem * | browserTreeItem () const |
Static Public Member Functions | |
| static int | numberOfInstances () |
| static double | unknown () |
Protected Member Functions | |
| virtual double | calculateCharge () const |
| virtual const Trk::Track * | provide_pathInfoTrkTrack () const |
| virtual Trk::ParticleHypothesis | extrapolationParticleHypothesis () const |
| Default implementation of this next method bases hypothesis on pdgCode() and charge(): | |
| virtual void | ensureTouchedMuonChambersInitialised () const |
| void | registerTouchedMuonChamber (const GeoPVConstLink &) const |
| If not earlier, touched muon chambers must me registered at latest when this method is invoked. | |
| const QList< AssociatedObjectHandleBase * > & | getAllAscObjHandles () const |
| override if need to take action in this case. | |
| void | registerAssocObject (AssociatedObjectHandleBase *) |
| Trackhandle assumes ownership. | |
Protected Attributes | |
| ActsTrk::TrackContainer::ConstTrackProxy | m_track |
| const ActsTrk::TrackContainer & | m_container |
| std::vector< ActsTrk::TrackContainer::ConstTrackStateProxy > | m_trackStates |
Private Member Functions | |
| void | visibleStateChanged () |
| override if need to take action in this case. | |
| void | currentMaterialChanged () |
| virtual void | ensureInitTSOSs (std::vector< AssociatedObjectHandleBase * > *&ascobjs) |
| Ensure that the TSOSs are initialized. | |
| void | ensureInitTrackStateCache () |
| Ensure that the track state cache is initialized. | |
| void | addTrackState (const typename ActsTrk::TrackContainer::ConstTrackStateProxy &state, std::vector< AssociatedObjectHandleBase * > *ascobjs, unsigned int index) |
| TrkObjToString::MeasurementType | measurementType (const ActsTrk::TrackStateBackend::ConstTrackStateProxy &state) const |
| QString | measurementText (const ActsTrk::TrackContainer::ConstTrackStateProxy &state) const |
| void | clearLine () |
| void | registerTrack () |
| void | updateShapes_TSOSWithMeasurements () |
| void | updateShapes_TSOSWithErrors () |
| void | updateShapes_TSOSWithMaterialEffects () |
| void | setShownTSOSParts (TrackCommonFlags::TSOSPartsFlags f) |
| void | setCustomColouredTSOSParts (TrackCommonFlags::TSOSPartsFlags f) |
| AssocObjAttachmentHandle * | getAttachmentHandle (int regionIndex, const double &crossoverval) |
Private Attributes | |
| Imp * | m_d |
| bool | m_visible |
| TrackCollHandleBase * | m_collhandle |
| SoMaterial * | m_currentmaterial |
Definition at line 28 of file TrackHandle_TrackContainer.h.
| TrackHandle_TrackContainer::TrackHandle_TrackContainer | ( | TrackCollHandleBase * | ch, |
| ActsTrk::TrackContainer::ConstTrackProxy | tp, | ||
| const ActsTrk::TrackContainer & | container ) |
Definition at line 34 of file TrackHandle_TrackContainer.cxx.
|
virtual |
Definition at line 40 of file TrackHandle_TrackContainer.cxx.
|
private |
Definition at line 389 of file TrackHandle_TrackContainer.cxx.
|
inherited |
coverity 17186: this code is unreachable int pdg = pdgCode(); if (pdg) { bool ok; QString name = VP1ParticleData::particleName(pdg,ok); if (ok) l << "pdg: "+QString::number(pdg)+" ["+name+"]"; else l << "pdg: "+QString::number(pdg); }
return l;
Definition at line 1551 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 2026 of file TrackHandleBase.cxx.
|
protectedvirtualinherited |
Reimplemented in TrackHandle_SimulationTrack, TrackHandle_TrackParticle, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 1481 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1508 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 640 of file TrackHandleBase.cxx.
|
virtual |
Called when user selects the node (stringlist is displayed in messagebox).
Reimplementations should add info momInfo() to get momentum, eta, phi, pid,charge, mass printed.
Implements TrackHandleBase.
Definition at line 43 of file TrackHandle_TrackContainer.cxx.
|
inlineinherited |
Definition at line 68 of file TrackHandleBase.h.
|
inherited |
Definition at line 255 of file TrackHandleBase.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 354 of file TrackHandle_TrackContainer.cxx.
|
inlineinherited |
Definition at line 76 of file TrackHandleBase.h.
|
privatevirtual |
Reimplemented from TrackHandleBase.
Definition at line 84 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 306 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1607 of file TrackHandleBase.cxx.
|
private |
Ensure that the track state cache is initialized.
Definition at line 359 of file TrackHandle_TrackContainer.cxx.
|
privatevirtual |
Ensure that the TSOSs are initialized.
This is called by update3DObjects() and should be called by any method that needs to access the TSOSs.
Reimplemented from TrackHandleBase.
Definition at line 375 of file TrackHandle_TrackContainer.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 156 of file TrackHandleBase.h.
|
protectedvirtualinherited |
Default implementation of this next method bases hypothesis on pdgCode() and charge():
Definition at line 1534 of file TrackHandleBase.cxx.
|
virtual |
Called in child classes.
Reimplemented from TrackHandleBase.
Definition at line 86 of file TrackHandle_TrackContainer.cxx.
|
protectedinherited |
override if need to take action in this case.
Return list of all AscObj handles. Not guaranteed to be filled unless tsoses are visible.
Definition at line 1634 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 1468 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkTrack.
Definition at line 119 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1966 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 115 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 112 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkSegment, and TrackHandle_TrkTrack.
Definition at line 116 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Definition at line 110 of file TrackHandleBase.h.
|
inlinevirtualinherited |
The number of phi hits is part of hit counts below (i.e.
RPC hits include phi hits), but reported separately due to importance.
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 111 of file TrackHandleBase.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 107 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 113 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 108 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkTrack.
Definition at line 117 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 114 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 109 of file TrackHandleBase.h.
|
inherited |
Definition at line 1996 of file TrackHandleBase.cxx.
|
inherited |
FIXME.
Used to get position of track for use in short tubes etc.
Definition at line 1639 of file TrackHandleBase.cxx.
|
inlineinherited |
Definition at line 99 of file TrackHandleBase.h.
|
inlineinherited |
Definition at line 100 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 104 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1626 of file TrackHandleBase.cxx.
|
inlinefinalvirtual |
Reimplemented from TrackHandleBase.
Definition at line 35 of file TrackHandle_TrackContainer.h.
|
virtualinherited |
Definition at line 1518 of file TrackHandleBase.cxx.
|
private |
Definition at line 430 of file TrackHandle_TrackContainer.cxx.
|
private |
Definition at line 403 of file TrackHandle_TrackContainer.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 51 of file TrackHandle_TrackContainer.cxx.
|
staticinherited |
Definition at line 249 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
0 means unknown
Reimplemented in TrackHandle_SimulationTrack, and TrackHandle_TruthTrack.
Definition at line 86 of file TrackHandleBase.h.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 59 of file TrackHandle_TrackContainer.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_SimulationTrack, TrackHandle_TrackParticle, TrackHandle_TrkTrack, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 149 of file TrackHandleBase.h.
|
protectedinherited |
Trackhandle assumes ownership.
Definition at line 1449 of file TrackHandleBase.cxx.
|
protectedinherited |
If not earlier, touched muon chambers must me registered at latest when this method is invoked.
Call this from constructor - (at least) once for each muon chamber "touched" by this track.
Definition at line 1269 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 650 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1395 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 356 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 312 of file TrackHandleBase.cxx.
|
inherited |
use by the collection handle.
Definition at line 434 of file TrackHandleBase.cxx.
|
virtual |
returns mom and hit information about track
Reimplemented from TrackHandleBase.
Definition at line 261 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 300 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1587 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1275 of file TrackHandleBase.cxx.
|
inline |
Definition at line 40 of file TrackHandle_TrackContainer.h.
|
inline |
Definition at line 41 of file TrackHandle_TrackContainer.h.
|
inlinevirtual |
return very short word with type (maybe link with collection type?)
Reimplemented from TrackHandleBase.
Definition at line 51 of file TrackHandle_TrackContainer.h.
|
inlinestaticinherited |
Definition at line 102 of file TrackHandleBase.h.
|
inherited |
Definition at line 505 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 529 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 954 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 542 of file TrackHandleBase.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 272 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 1436 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 274 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 287 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 261 of file TrackHandleBase.cxx.
|
inlineinherited |
Definition at line 67 of file TrackHandleBase.h.
|
privatevirtual |
override if need to take action in this case.
Reimplemented from TrackHandleBase.
Definition at line 79 of file TrackHandle_TrackContainer.cxx.
| SoNode * TrackHandle_TrackContainer::zoomToTSOS | ( | unsigned int | index | ) |
Depending on controller configuration attempt to zoom to the corresponding TSOS & returned detailed node matching it.
Definition at line 239 of file TrackHandle_TrackContainer.cxx.
|
privateinherited |
Definition at line 178 of file TrackHandleBase.h.
|
protected |
Definition at line 63 of file TrackHandle_TrackContainer.h.
|
privateinherited |
Definition at line 179 of file TrackHandleBase.h.
|
privateinherited |
Definition at line 173 of file TrackHandleBase.h.
|
protected |
Definition at line 62 of file TrackHandle_TrackContainer.h.
|
protected |
Definition at line 64 of file TrackHandle_TrackContainer.h.
|
privateinherited |
Definition at line 177 of file TrackHandleBase.h.