![]() |
ATLAS Offline Software
|
#include <TrackHandle_SimulationTrack.h>
Classes | |
| class | Imp |
Public Member Functions | |
| TrackHandle_SimulationTrack (TrackCollHandleBase *, const SimBarCode &simBarCode, const SimHitList &) | |
| virtual | ~TrackHandle_SimulationTrack () |
| virtual QStringList | clicked () const |
| Called when user selects the node (stringlist is displayed in messagebox). | |
| virtual Amg::Vector3D | momentum () const |
| virtual int | pdgCode () const |
| 0 means unknown | |
| bool | hasBarCodeZero () const |
| void | setAscObjsVisible (bool) |
| 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. | |
| double | charge () const |
| virtual double | mass () const |
| bool | hasCharge () const |
| bool | hasMass () const |
| virtual bool | hasSubSystemHitInfo () const |
| virtual bool | isRun4EDM () 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. | |
| virtual QString | shortInfo () const |
| returns mom and hit information about track | |
| virtual void | fillObjectBrowser (QList< QTreeWidgetItem * > &list) |
| Called in child classes. | |
| virtual void | updateObjectBrowser () |
| QTreeWidgetItem * | browserTreeItem () const |
Static Public Member Functions | |
| static int | numberOfInstances () |
| static double | unknown () |
Protected Member Functions | |
| virtual double | calculateCharge () const |
| const Trk::Track * | provide_pathInfoTrkTrack () const |
| void | visibleStateChanged () |
| override if need to take action in this case. | |
| virtual const std::vector< Amg::Vector3D > * | provide_pathInfoPoints () |
| 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. | |
| virtual void | currentMaterialChanged () |
| const QList< AssociatedObjectHandleBase * > & | getAllAscObjHandles () const |
| override if need to take action in this case. | |
| virtual bool | containsDetElement (const QString &) const |
| void | registerAssocObject (AssociatedObjectHandleBase *) |
| Trackhandle assumes ownership. | |
| virtual void | ensureInitTSOSs (std::unique_ptr< std::vector< AssociatedObjectHandleBase * > > &) |
| Ensure that the TSOSs are initialized. | |
Private Member Functions | |
| 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 26 of file TrackHandle_SimulationTrack.h.
| TrackHandle_SimulationTrack::TrackHandle_SimulationTrack | ( | TrackCollHandleBase * | ch, |
| const SimBarCode & | simBarCode, | ||
| const SimHitList & | simHitList ) |
Definition at line 101 of file TrackHandle_SimulationTrack.cxx.
|
virtual |
Definition at line 118 of file TrackHandle_SimulationTrack.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 1550 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 2025 of file TrackHandleBase.cxx.
|
protectedvirtual |
Reimplemented from TrackHandleBase.
Definition at line 251 of file TrackHandle_SimulationTrack.cxx.
|
inherited |
Definition at line 1507 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 155 of file TrackHandle_SimulationTrack.cxx.
|
inlineinherited |
Definition at line 69 of file TrackHandleBase.h.
|
inherited |
Definition at line 254 of file TrackHandleBase.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_TrackContainer, and TrackHandle_TrkTrack.
Definition at line 165 of file TrackHandleBase.h.
|
inlineinherited |
Definition at line 77 of file TrackHandleBase.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_TrackContainer, TrackHandle_TrkSegment, and TrackHandle_TrkTrack.
Definition at line 161 of file TrackHandleBase.h.
|
inherited |
Definition at line 305 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1606 of file TrackHandleBase.cxx.
|
protectedvirtualinherited |
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 in TrackHandle_TrackContainer.
Definition at line 379 of file TrackHandleBase.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 1533 of file TrackHandleBase.cxx.
|
virtualinherited |
Called in child classes.
Reimplemented in TrackHandle_TrackContainer, and TrackHandle_TrkTrack.
Definition at line 2008 of file TrackHandleBase.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 1633 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 1467 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrkTrack.
Definition at line 120 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1965 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 1995 of file TrackHandleBase.cxx.
|
inherited |
FIXME.
Used to get position of track for use in short tubes etc.
Definition at line 1638 of file TrackHandleBase.cxx.
| bool TrackHandle_SimulationTrack::hasBarCodeZero | ( | ) | const |
Definition at line 182 of file TrackHandle_SimulationTrack.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 1625 of file TrackHandleBase.cxx.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackContainer.
Definition at line 106 of file TrackHandleBase.h.
|
virtualinherited |
Definition at line 1517 of file TrackHandleBase.cxx.
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 188 of file TrackHandle_SimulationTrack.cxx.
|
staticinherited |
Definition at line 248 of file TrackHandleBase.cxx.
|
virtual |
0 means unknown
Reimplemented from TrackHandleBase.
Definition at line 176 of file TrackHandle_SimulationTrack.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in TrackHandle_TrackContainer, and TrackHandle_TrkSegment.
Definition at line 152 of file TrackHandleBase.h.
|
protectedvirtual |
Reimplemented from TrackHandleBase.
Definition at line 168 of file TrackHandle_SimulationTrack.cxx.
|
protectedinherited |
Trackhandle assumes ownership.
Definition at line 1448 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 1268 of file TrackHandleBase.cxx.
|
privateinherited |
Definition at line 649 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1394 of file TrackHandleBase.cxx.
| void TrackHandle_SimulationTrack::setAscObjsVisible | ( | bool | b | ) |
Definition at line 207 of file TrackHandle_SimulationTrack.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.
|
inlinevirtualinherited |
returns mom and hit information about track
Reimplemented in TrackHandle_TrackContainer, and TrackHandle_TrkTrack.
Definition at line 129 of file TrackHandleBase.h.
|
inherited |
Definition at line 299 of file TrackHandleBase.cxx.
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1586 of file TrackHandleBase.cxx.
|
inherited |
Definition at line 1274 of file TrackHandleBase.cxx.
|
inlinevirtual |
return very short word with type (maybe link with collection type?)
Reimplemented from TrackHandleBase.
Definition at line 41 of file TrackHandle_SimulationTrack.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.
|
inlinevirtualinherited |
Reimplemented in TrackHandle_TrackContainer, and TrackHandle_TrkTrack.
Definition at line 135 of file TrackHandleBase.h.
|
inherited |
Definition at line 1435 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.
|
protectedvirtual |
override if need to take action in this case.
Reimplemented from TrackHandleBase.
Definition at line 200 of file TrackHandle_SimulationTrack.cxx.
|
privateinherited |
Definition at line 179 of file TrackHandleBase.h.
|
privateinherited |
Definition at line 180 of file TrackHandleBase.h.
|
private |
Definition at line 52 of file TrackHandle_SimulationTrack.h.
|
privateinherited |
Definition at line 178 of file TrackHandleBase.h.