![]() |
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::unique_ptr< 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 30 of file TrackHandle_TrackContainer.h.
| TrackHandle_TrackContainer::TrackHandle_TrackContainer | ( | TrackCollHandleBase * | ch, |
| ActsTrk::TrackContainer::ConstTrackProxy | tp, | ||
| const ActsTrk::TrackContainer & | container ) |
Definition at line 33 of file TrackHandle_TrackContainer.cxx.
|
virtual |
Definition at line 39 of file TrackHandle_TrackContainer.cxx.
|
private |
Definition at line 391 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 1549 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 2024 of file TrackHandleBase.cxx.
|
protectedvirtualinherited |
Reimplemented in TrackHandle_SimulationTrack, TrackHandle_TrackParticle, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 1479 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1506 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 639 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 42 of file TrackHandle_TrackContainer.cxx.
|
inlineinherited |
Definition at line 69 of file TrackHandleBase.h.
|
inherited |
Definition at line 254 of file TrackHandleBase.cxx.
|
virtual |
| - | id |
Reimplemented from TrackHandleBase.
Definition at line 356 of file TrackHandle_TrackContainer.cxx.
|
inlineinherited |
Definition at line 77 of file TrackHandleBase.h.
|
privatevirtual |
Reimplemented from TrackHandleBase.
Definition at line 86 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 305 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1605 of file TrackHandleBase.cxx.
|
private |
Ensure that the track state cache is initialized.
Definition at line 361 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 377 of file TrackHandle_TrackContainer.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 157 of file TrackHandleBase.h.
|
protectedvirtualinherited |
Default implementation of this next method bases hypothesis on pdgCode() and charge():
Definition at line 1532 of file TrackHandleBase.cxx.
|
virtual |
Called in child classes.
Reimplemented from TrackHandleBase.
Definition at line 88 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 1632 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 1466 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkTrack.
Definition at line 120 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1964 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 116 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_TrkSegment, and TrackHandle_TrkTrack.
Definition at line 117 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Definition at line 111 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 112 of file TrackHandleBase.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 108 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.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkTrack.
Definition at line 118 of file TrackHandleBase.h.
|
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 110 of file TrackHandleBase.h.
|
inherited |
Definition at line 1994 of file TrackHandleBase.cxx.
|
inherited |
FIXME.
Used to get position of track for use in short tubes etc.
Definition at line 1637 of file TrackHandleBase.cxx.
|
inlineinherited |
Definition at line 100 of file TrackHandleBase.h.
|
inlineinherited |
Definition at line 101 of file TrackHandleBase.h.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackParticle, TrackHandle_TrkSegment, TrackHandle_TrkTrack, and TrackHandle_xAODTrackParticle.
Definition at line 105 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1624 of file TrackHandleBase.cxx.
|
inlinefinalvirtual |
Reimplemented from TrackHandleBase.
Definition at line 37 of file TrackHandle_TrackContainer.h.
|
virtualinherited |
Definition at line 1516 of file TrackHandleBase.cxx.
|
private |
Definition at line 432 of file TrackHandle_TrackContainer.cxx.
|
private |
Definition at line 405 of file TrackHandle_TrackContainer.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 50 of file TrackHandle_TrackContainer.cxx.
|
staticinherited |
Definition at line 248 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
0 means unknown
Reimplemented in TrackHandle_SimulationTrack, and TrackHandle_TruthTrack.
Definition at line 87 of file TrackHandleBase.h.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 58 of file TrackHandle_TrackContainer.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_SimulationTrack, TrackHandle_TrackParticle, TrackHandle_TrkTrack, TrackHandle_TruthTrack, and TrackHandle_xAODTrackParticle.
Definition at line 150 of file TrackHandleBase.h.
|
protectedinherited |
Trackhandle assumes ownership.
Definition at line 1447 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 1267 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 649 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1393 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 355 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 311 of file TrackHandleBase.cxx.
|
inherited |
use by the collection handle.
Definition at line 433 of file TrackHandleBase.cxx.
|
virtual |
returns mom and hit information about track
Reimplemented from TrackHandleBase.
Definition at line 263 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 299 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1585 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1273 of file TrackHandleBase.cxx.
|
inline |
Definition at line 42 of file TrackHandle_TrackContainer.h.
|
inline |
Definition at line 43 of file TrackHandle_TrackContainer.h.
|
inlinevirtual |
return very short word with type (maybe link with collection type?)
Reimplemented from TrackHandleBase.
Definition at line 53 of file TrackHandle_TrackContainer.h.
|
inlinestaticinherited |
Definition at line 103 of file TrackHandleBase.h.
|
inherited |
Definition at line 504 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 528 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 953 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 541 of file TrackHandleBase.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 274 of file TrackHandle_TrackContainer.cxx.
|
inherited |
Definition at line 1434 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 273 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 286 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 260 of file TrackHandleBase.cxx.
|
inlineinherited |
Definition at line 68 of file TrackHandleBase.h.
|
privatevirtual |
override if need to take action in this case.
Reimplemented from TrackHandleBase.
Definition at line 81 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 241 of file TrackHandle_TrackContainer.cxx.
|
privateinherited |
Definition at line 179 of file TrackHandleBase.h.
|
protected |
Definition at line 65 of file TrackHandle_TrackContainer.h.
|
privateinherited |
Definition at line 180 of file TrackHandleBase.h.
|
privateinherited |
Definition at line 174 of file TrackHandleBase.h.
|
protected |
Definition at line 64 of file TrackHandle_TrackContainer.h.
|
protected |
Definition at line 66 of file TrackHandle_TrackContainer.h.
|
privateinherited |
Definition at line 178 of file TrackHandleBase.h.