|
ATLAS Offline Software
|
#include <TrackHandle_TrkTrack.h>
Definition at line 29 of file TrackHandle_TrkTrack.h.
◆ TrackHandle_TrkTrack()
◆ ~TrackHandle_TrkTrack()
TrackHandle_TrkTrack::~TrackHandle_TrkTrack |
( |
| ) |
|
|
virtual |
◆ baseInfo()
QStringList TrackHandleBase::baseInfo |
( |
| ) |
const |
|
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.
1556 if (
mom.mag2()==0.0) {
1557 l <<
"Momentum : 0 (undefined)";
◆ browserTreeItem()
QTreeWidgetItem * TrackHandleBase::browserTreeItem |
( |
| ) |
const |
|
inherited |
◆ calculateCharge()
double TrackHandleBase::calculateCharge |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ charge()
double TrackHandleBase::charge |
( |
| ) |
const |
|
inherited |
◆ clearLine()
void TrackHandleBase::clearLine |
( |
| ) |
|
|
privateinherited |
◆ clicked()
QStringList TrackHandle_TrkTrack::clicked |
( |
| ) |
const |
|
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 55 of file TrackHandle_TrkTrack.cxx.
66 l <<
"ERROR: This TrackHandle_TrkTrack handle has a NULL track pointer!!";
74 if (
common()->controller()->printVerboseInfoOnSingleSelection()) {
75 l <<
" ===== dump =====";
78 l << QString(
s.str().c_str()).split(
'\n');
◆ collHandle()
◆ common()
◆ containsDetElement()
bool TrackHandle_TrkTrack::containsDetElement |
( |
const QString & |
id | ) |
const |
|
virtual |
Reimplemented from TrackHandleBase.
Definition at line 402 of file TrackHandle_TrkTrack.cxx.
416 if ((*it)->surface().associatedDetectorElementIdentifier()==tmpInt) {
420 if ((*it)->surface().associatedDetectorElementIdentifier()==tmpInt2) {
◆ currentMaterial()
SoMaterial* TrackHandleBase::currentMaterial |
( |
| ) |
const |
|
inlineinherited |
◆ currentMaterialChanged()
void TrackHandle_TrkTrack::currentMaterialChanged |
( |
| ) |
|
|
privatevirtual |
◆ customColouredTSOSParts()
TrackCommonFlags::TSOSPartsFlags TrackHandleBase::customColouredTSOSParts |
( |
| ) |
const |
|
inherited |
◆ endPoint()
std::optional< Amg::Vector3D > TrackHandleBase::endPoint |
( |
| ) |
const |
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1607 of file TrackHandleBase.cxx.
1613 for (; tsos_iter != tsos_end; ++tsos_iter) {
1614 if (
common()->trackSanityHelper()->isSafe(*tsos_iter)) {
1616 if (
common()->trackSanityHelper()->isSafe(trackParam))
◆ ensureInitSubSysHitInfo()
void TrackHandle_TrkTrack::ensureInitSubSysHitInfo |
( |
| ) |
const |
|
private |
Definition at line 156 of file TrackHandle_TrkTrack.cxx.
159 m_hitInfoStatus =
VP1TrackSummary::countHits(
m_trk,
m_nhits_pixel,
m_nhits_sct,
m_nhits_trt,
m_nhits_muon_phi,
m_nhits_rpc,
m_nhits_mdt,
m_nhits_tgc,
m_nhits_csc,
m_nhits_mm,
m_nhits_stgc) ? 1 : 0;
◆ ensureInitTSOSs()
|
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 380 of file TrackHandleBase.cxx.
382 std::cout<<
"TrackHandleBase::ensureInitTSOSs"<<std::endl;
386 tsos_ascobjs =
new std::vector<AssociatedObjectHandleBase*>;
394 unsigned parindex(0);
400 for (; tsos_iter != tsos_end; ++tsos_iter) {
401 trackParam = (*tsos_iter)->trackParameters();
411 if (ascObjNeedDistToNext&&trackParam) {
412 ascObjNeedDistToNext->setDistToNextPar((trackParam->position()-ascObjNeedDistToNext->approxCenter()).mag());
413 ascObjNeedDistToNext =
nullptr;
416 ascObjNeedDistToNext =
m_d->
addTSOS(*tsos_iter,parindex++);
◆ ensureTouchedMuonChambersInitialiasedFromMeas()
◆ ensureTouchedMuonChambersInitialised()
void TrackHandle_TrkTrack::ensureTouchedMuonChambersInitialised |
( |
| ) |
const |
|
virtual |
◆ extrapolationParticleHypothesis()
|
protectedvirtualinherited |
◆ fillObjectBrowser()
void TrackHandle_TrkTrack::fillObjectBrowser |
( |
QList< QTreeWidgetItem * > & |
list | ) |
|
|
virtual |
Called in child classes.
(*it)->type(Trk::TrackStateOnSurface::Measurement) &&
Reimplemented from TrackHandleBase.
Definition at line 162 of file TrackHandle_TrkTrack.cxx.
186 TSOSitem->setFlags(Qt::ItemFlag());
187 QFont itemFont = TSOSitem->font(0);
188 itemFont.setStrikeOut(
true);
189 TSOSitem->setFont(0, itemFont);
190 TSOSitem->setFont(1, itemFont);
201 QTreeWidgetItem* measItem =
new QTreeWidgetItem(TSOSitem);
202 measItem->setExpanded(
true);
203 measItem->setFlags(Qt::ItemIsEnabled);
204 measItem->setText(0, measName);
208 for (
int i = 0;
i < (
list.size()-1); ){
209 QTreeWidgetItem* subparamItem =
new QTreeWidgetItem(measItem);
210 subparamItem->setText(0,
list.at(
i++) );
211 subparamItem->setText(1,
list.at(
i++) );
212 subparamItem->setFlags(Qt::ItemIsEnabled);
217 if ( (*it)->trackParameters () ) {
218 if (!
first) tsosText.append(
" + ");
219 tsosText.append(
"Parameters");
221 QTreeWidgetItem* paramItem =
new QTreeWidgetItem(TSOSitem);
222 paramItem->setExpanded(
true);
223 paramItem->setFlags(Qt::ItemIsEnabled);
228 for (
int i = 0;
i < (
list.size()-1); ){
229 QTreeWidgetItem* subparamItem =
new QTreeWidgetItem(paramItem);
230 subparamItem->setText(0,
list.at(
i++) );
231 subparamItem->setText(1,
list.at(
i++) );
232 subparamItem->setFlags(Qt::ItemIsEnabled);
237 if ( (*it)->materialEffectsOnTrack () ){
238 if (!
first) tsosText.append(
" + ");
239 tsosText.append(
"MaterialEffectsOnTrack");
240 QTreeWidgetItem* meItem =
new QTreeWidgetItem(TSOSitem);
241 meItem->setExpanded(
true);
242 meItem->setFlags(Qt::ItemIsEnabled);
249 if ( (*it)->fitQualityOnSurface () ){
250 if (!
first) tsosText.append(
" + ");
251 tsosText.append(
"FitQuality");
252 QTreeWidgetItem* fqItem =
new QTreeWidgetItem(TSOSitem);
253 fqItem->setExpanded(
true);
254 fqItem->setFlags(Qt::ItemIsEnabled);
255 fqItem->setText(0, QString(
"FitQuality") );
263 if (!
first) tsosText.append(
" + ");
264 tsosText.append(
"Outlier");
268 if (!
first) tsosText.append(
" + ");
269 tsosText.append(
"InertMaterial");
273 if (!
first) tsosText.append(
" + ");
274 tsosText.append(
"BremPoint");
278 if (!
first) tsosText.append(
" + ");
279 tsosText.append(
"Perigee");
283 if (!
first) tsosText.append(
" + ");
284 tsosText.append(
"Hole");
286 TSOSitem->setText(1, tsosText );
◆ getAllAscObjHandles()
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.
◆ getAttachmentHandle()
◆ getFitQuality()
◆ getMuonReadoutElement()
◆ getNCSCHits()
virtual unsigned TrackHandle_TrkTrack::getNCSCHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNMDTHits()
virtual unsigned TrackHandle_TrkTrack::getNMDTHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNMMHits()
virtual unsigned TrackHandle_TrkTrack::getNMMHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNMuonHits()
virtual unsigned TrackHandleBase::getNMuonHits |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getNMuonPhiHits()
virtual unsigned TrackHandle_TrkTrack::getNMuonPhiHits |
( |
| ) |
const |
|
inlinevirtual |
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 from TrackHandleBase.
Definition at line 49 of file TrackHandle_TrkTrack.h.
◆ getNMuonPrecisionHits()
virtual unsigned TrackHandleBase::getNMuonPrecisionHits |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getNPixelHits()
virtual unsigned TrackHandle_TrkTrack::getNPixelHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNRPCHits()
virtual unsigned TrackHandle_TrkTrack::getNRPCHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNSCTHits()
virtual unsigned TrackHandle_TrkTrack::getNSCTHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNsTGCHits()
virtual unsigned TrackHandle_TrkTrack::getNsTGCHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNTGCHits()
virtual unsigned TrackHandle_TrkTrack::getNTGCHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getNTRTHits()
virtual unsigned TrackHandle_TrkTrack::getNTRTHits |
( |
| ) |
const |
|
inlinevirtual |
◆ getVisibleMeasurements()
Definition at line 1996 of file TrackHandleBase.cxx.
1998 QList<AssociatedObjectHandleBase*>
l;
2004 if ((*it)->hasMeasurement()&&(*it)->visible())
◆ hackGetPointsPropagated()
std::vector< Amg::Vector3D > * TrackHandleBase::hackGetPointsPropagated |
( |
| ) |
|
|
inherited |
FIXME.
Used to get position of track for use in short tubes etc.
Definition at line 1639 of file TrackHandleBase.cxx.
◆ hasCharge()
bool TrackHandleBase::hasCharge |
( |
| ) |
const |
|
inlineinherited |
◆ hasMass()
bool TrackHandleBase::hasMass |
( |
| ) |
const |
|
inlineinherited |
◆ hasSubSystemHitInfo()
virtual bool TrackHandle_TrkTrack::hasSubSystemHitInfo |
( |
| ) |
const |
|
inlinevirtual |
◆ isIDTrack()
bool TrackHandleBase::isIDTrack |
( |
| ) |
const |
|
virtualinherited |
◆ isRun4EDM()
virtual bool TrackHandleBase::isRun4EDM |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ mass()
double TrackHandleBase::mass |
( |
| ) |
const |
|
virtualinherited |
◆ momentum()
◆ numberOfInstances()
int TrackHandleBase::numberOfInstances |
( |
| ) |
|
|
staticinherited |
◆ pdgCode()
virtual int TrackHandleBase::pdgCode |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ provide_pathInfoPoints()
|
inlineprotectedvirtualinherited |
◆ provide_pathInfoTrkTrack()
◆ registerAssocObject()
◆ registerTouchedMuonChamber()
void TrackHandleBase::registerTouchedMuonChamber |
( |
const GeoPVConstLink & |
chamberPV | ) |
const |
|
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.
◆ registerTrack()
void TrackHandleBase::registerTrack |
( |
| ) |
|
|
privateinherited |
◆ rerandomiseRandomMaterial()
void TrackHandleBase::rerandomiseRandomMaterial |
( |
| ) |
|
|
inherited |
Definition at line 1395 of file TrackHandleBase.cxx.
1400 double r2 = 0.3*0.3;
1405 r = (
rand() /
static_cast<double>(RAND_MAX));
1406 g = (
rand() /
static_cast<double>(RAND_MAX));
1407 b = (
rand() /
static_cast<double>(RAND_MAX));
1411 if ( (
r-1.0)*(
r-1.0)+
g*
g+
b*
b <
r2*0.5 )
1413 else if (
r*
r/(
r*
r+
g*
g+
b*
b) > 0.8 )
1415 else if (
r*
r+
g*
g+
b*
b < r2*2.0 )
1425 " not be selected such as to satisfy all separation criterias");
◆ setCustomColouredTSOSParts()
void TrackHandleBase::setCustomColouredTSOSParts |
( |
TrackCommonFlags::TSOSPartsFlags |
f | ) |
|
|
privateinherited |
Definition at line 356 of file TrackHandleBase.cxx.
367 TrackCommonFlags::TSOSPartsFlags changedShownParts(change &
m_d->
shownTSOSParts);
369 if (!changedShownParts)
374 if ((*it)->parts()&changedShownParts)
375 (*it)->update3DObjects();
◆ setShownTSOSParts()
void TrackHandleBase::setShownTSOSParts |
( |
TrackCommonFlags::TSOSPartsFlags |
f | ) |
|
|
privateinherited |
Definition at line 312 of file TrackHandleBase.cxx.
333 if (!((*it)->parts()&change)){
337 if (vis==(*it)->visible()) {
339 (*it)->update3DObjects();
345 (*it)->update3DObjects();
346 (*it)->setVisible(vis);
349 (*it)->setVisible(vis);
350 (*it)->update3DObjects();
◆ setVisible()
void TrackHandleBase::setVisible |
( |
bool |
vis | ) |
|
|
inherited |
use by the collection handle.
Definition at line 434 of file TrackHandleBase.cxx.
436 std::cout<<
"TrackHandleBase::setVisible"<<std::endl;
437 QString
tmp = (vis)?
"True":
"False";
442 std::cout<<
"TrackHandleBase::setVisible 1"<<std::endl;
464 std::cout<<
"TrackHandleBase::setVisible 2"<<std::endl;
467 bool initTSOS(
false);
474 std::cout<<
"TrackHandleBase::setVisible 3"<<std::endl;
483 (*it)->toggleVisible();
487 if ((*it)->visible())
488 (*it)->setVisible(
false);
492 std::cout<<
"TrackHandleBase::setVisible 4"<<std::endl;
498 it->second->trackVisibilityChanged();
◆ shortInfo()
QString TrackHandle_TrkTrack::shortInfo |
( |
| ) |
const |
|
virtual |
◆ shownTSOSParts()
TrackCommonFlags::TSOSPartsFlags TrackHandleBase::shownTSOSParts |
( |
| ) |
const |
|
inherited |
◆ startPoint()
std::optional< Amg::Vector3D > TrackHandleBase::startPoint |
( |
| ) |
const |
|
virtualinherited |
returns 0 if can't find start point.
Definition at line 1587 of file TrackHandleBase.cxx.
1593 for (; tsos_iter != tsos_end; ++tsos_iter) {
1594 if (
common()->trackSanityHelper()->isSafe(*tsos_iter)) {
1596 if (
common()->trackSanityHelper()->isSafe(trackParam))
◆ touchedMuonChambers()
const std::set< GeoPVConstLink > & TrackHandleBase::touchedMuonChambers |
( |
| ) |
const |
|
inherited |
◆ trkTrackPointer()
◆ type()
virtual QString TrackHandle_TrkTrack::type |
( |
| ) |
const |
|
inlinevirtual |
◆ unknown()
static double TrackHandleBase::unknown |
( |
| ) |
|
|
inlinestaticinherited |
◆ update3DObjects()
void TrackHandleBase::update3DObjects |
( |
bool |
invalidatePropagatedPoints = false , |
|
|
float |
maxR = 0.0 |
|
) |
| |
|
inherited |
◆ updateInDetProjections()
void TrackHandleBase::updateInDetProjections |
( |
| ) |
|
|
inherited |
◆ updateMaterial()
void TrackHandleBase::updateMaterial |
( |
| ) |
|
|
inherited |
◆ updateMuonProjections()
void TrackHandleBase::updateMuonProjections |
( |
| ) |
|
|
inherited |
◆ updateObjectBrowser()
void TrackHandle_TrkTrack::updateObjectBrowser |
( |
| ) |
|
|
virtual |
◆ updateRandomColourTransparencyAndBrightness()
void TrackHandleBase::updateRandomColourTransparencyAndBrightness |
( |
| ) |
|
|
inherited |
◆ updateShapes_TSOSWithErrors()
void TrackHandleBase::updateShapes_TSOSWithErrors |
( |
| ) |
|
|
privateinherited |
◆ updateShapes_TSOSWithMaterialEffects()
void TrackHandleBase::updateShapes_TSOSWithMaterialEffects |
( |
| ) |
|
|
privateinherited |
Definition at line 287 of file TrackHandleBase.cxx.
295 if ((*it)->hasMaterialEffect())
296 (*it)->update3DObjects();
◆ updateShapes_TSOSWithMeasurements()
void TrackHandleBase::updateShapes_TSOSWithMeasurements |
( |
| ) |
|
|
privateinherited |
Definition at line 261 of file TrackHandleBase.cxx.
269 if ((*it)->hasMeasurement())
270 (*it)->update3DObjects();
◆ visible()
bool TrackHandleBase::visible |
( |
| ) |
const |
|
inlineinherited |
◆ visibleStateChanged()
void TrackHandle_TrkTrack::visibleStateChanged |
( |
| ) |
|
|
privatevirtual |
◆ zoomToTSOS()
SoNode * TrackHandle_TrkTrack::zoomToTSOS |
( |
unsigned int |
index | ) |
|
Depending on controller configuration attempt to zoom to the corresponding TSOS & returned detailed node matching it.
Definition at line 291 of file TrackHandle_TrkTrack.cxx.
297 for (
int i = 0;
i <
list.size(); ++
i) {
◆ m_collhandle
◆ m_currentmaterial
SoMaterial* TrackHandleBase::m_currentmaterial |
|
privateinherited |
◆ m_d
Imp* TrackHandleBase::m_d |
|
privateinherited |
◆ m_hitInfoStatus
int TrackHandle_TrkTrack::m_hitInfoStatus |
|
mutableprivate |
◆ m_nhits_csc
unsigned TrackHandle_TrkTrack::m_nhits_csc |
|
mutableprivate |
◆ m_nhits_mdt
unsigned TrackHandle_TrkTrack::m_nhits_mdt |
|
mutableprivate |
◆ m_nhits_mm
unsigned TrackHandle_TrkTrack::m_nhits_mm |
|
mutableprivate |
◆ m_nhits_muon_phi
unsigned TrackHandle_TrkTrack::m_nhits_muon_phi |
|
mutableprivate |
◆ m_nhits_pixel
unsigned TrackHandle_TrkTrack::m_nhits_pixel |
|
mutableprivate |
◆ m_nhits_rpc
unsigned TrackHandle_TrkTrack::m_nhits_rpc |
|
mutableprivate |
◆ m_nhits_sct
unsigned TrackHandle_TrkTrack::m_nhits_sct |
|
mutableprivate |
◆ m_nhits_stgc
unsigned TrackHandle_TrkTrack::m_nhits_stgc |
|
mutableprivate |
◆ m_nhits_tgc
unsigned TrackHandle_TrkTrack::m_nhits_tgc |
|
mutableprivate |
◆ m_nhits_trt
unsigned TrackHandle_TrkTrack::m_nhits_trt |
|
mutableprivate |
◆ m_trk
◆ m_visible
bool TrackHandleBase::m_visible |
|
privateinherited |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
QTreeWidgetItem * browserTreeItem() const
const std::set< GeoPVConstLink > & touchedMuonChambers() const
virtual void visibleStateChanged()
override if need to take action in this case.
@ Perigee
This represents a perigee, and so will contain a Perigee object only.
TrackHandleBase * theclass
void ensureTouchedMuonChambersInitialiasedFromMeas(const Trk::MeasurementBase *meas) const
Const iterator class for DataVector/DataList.
AscObj_TSOS * addTSOS(const Trk::TrackStateOnSurface *tsos, unsigned index) const
const FitQuality * fitQuality() const
return a pointer to the fit quality const-overload
void decrementNShownHandles()
TrackSystemController * controller() const
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Called in child classes.
void registerTouchedMuonChamber(const GeoPVConstLink &) const
If not earlier, touched muon chambers must me registered at latest when this method is invoked.
std::map< std::pair< int, double >, AssocObjAttachmentHandle * > attachmentHandles
virtual unsigned getNMDTHits() const
void incrementNumberOfObjectsForPV(const GeoPVConstLink &chamberPV)
const_reverse_iterator rend() const noexcept
Return a const_reverse_iterator pointing at the beginning of the collection.
const Amg::Vector3D & position() const
Access method for the position.
virtual unsigned getNTRTHits() const
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
const TrackInfo & info() const
Returns a const ref to info of a const tracks.
SoMaterial * m_currentmaterial
static bool isSafe(const Trk::TrackStateOnSurface *)
virtual unsigned getNTGCHits() const
std::set< GeoPVConstLink > touchedmuonchambers
virtual unsigned getNTGCHits() const
TouchedMuonChamberHelper * touchedMuonChamberHelper() const
TrackCollHandleBase * collHandle() const
const QList< AssociatedObjectHandleBase * > & getAllAscObjHandles() const
override if need to take action in this case.
virtual unsigned getNRPCHits() const
virtual unsigned getNMMHits() const
void registerTrack(SoNode *, TrackHandleBase *)
const Trk::Track * trkTrackPointer() const
virtual unsigned getNSCTHits() const
static QString str(const QString &s)
Amg::SetVectorVector3D * points_propagated_muon_projections
friend class AssocObjAttachmentHandle
virtual const MuonGM::MuonReadoutElement * getMuonReadoutElement(const Trk::RIO_OnTrack &mb) const
Base class for the XxxReadoutElement, with Xxx = Mdt, Rpc, Tgc, Csc.
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
static double phiFromXY(const double &x, const double &y)
unsigned m_nhits_muon_phi
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
virtual unsigned getNsTGCHits() const
SoMaterial * determineMaterial()
static QStringList fullInfo(const Trk::MeasurementBase &tp)
Returns list of key, value, key, value etc.
virtual unsigned getNCSCHits() const
virtual double calculateCharge() const
virtual void ensureTouchedMuonChambersInitialised() const
virtual unsigned getNTRTHits() const
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
Amg::SetVectorVector3D * points_propagated_id_projections
QTreeWidgetItem * m_objBrowseTree
SoMaterial * randommaterial
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
virtual unsigned getNPixelHits() const
const Trk::Track * pathInfo_TrkTrack
Used in the case of a Trk::Track.
@ Hole
A hole on the track - this is defined in the following way.
virtual Amg::Vector3D momentum() const
virtual Amg::Vector3D momentum() const
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
virtual void ensureInitTSOSs(std::vector< AssociatedObjectHandleBase * > *&)
Ensure that the TSOSs are initialized.
virtual unsigned getNRPCHits() const
QList< AssociatedObjectHandleBase * > associatedObjects
virtual unsigned getNMuonHits() const
static double particleCharge(const int &pdgcode, bool &ok)
static QString name(const Trk::MeasurementBase &mb)
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
static MeasurementType type(const Trk::PrepRawData *prd)
void ensureInitPointsPropagated()
virtual int pdgCode() const
0 means unknown
const_reverse_iterator rbegin() const noexcept
Return a const_reverse_iterator pointing past the end of the collection.
virtual unsigned getNMDTHits() const
virtual unsigned getNsTGCHits() const
void unregisterTrack(SoNode *)
@ BremPoint
This represents a brem point on the track, and so will contain TrackParameters and MaterialEffectsBas...
virtual unsigned getNMMHits() const
TrackCollHandleBase * m_collhandle
TrackSysCommonData * common() const
TrackHandleBase(TrackCollHandleBase *)
const DataVector< const TrackParameters > * trackParameters() const
Return a pointer to a vector of TrackParameters.
virtual unsigned getNPixelHits() const
represents the track state (measurement, material, fit parameters and quality) at a surface.
virtual std::optional< Amg::Vector3D > startPoint() const
returns 0 if can't find start point.
IVP1System * systemBase() const
TrackCommonFlags::TSOSPartsFlags shownTSOSParts
std::reverse_iterator< const_iterator > const_reverse_iterator
Standard const_reverse_iterator.
void ensureInitSubSysHitInfo() const
@ InertMaterial
This represents inert material, and so will contain MaterialEffectsBase.
static void messageVerbose(const QString &)
std::string dumpInfo() const
Returns a string with the name of the fitter of this track (i.e.
const std::vector< Amg::Vector3D > * pathInfo_Points
Used in all other cases.
Eigen::Matrix< double, 3, 1 > Vector3D
static QString shortInfo(const Trk::MeasurementBase &mb)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void decrementNumberOfObjectsForPV(const GeoPVConstLink &chamberPV)
virtual unsigned getNCSCHits() const
static const MuonGM::MuonDetectorManager * muonDetMgr()
static void messageDebug(const QString &)
void incrementNShownHandles()
QTreeWidget * trackObjBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
static void message(const QString &, IVP1System *sys=0)
void ensureLoadPathInfo()
const double mb
1mb to cm2
void update3DObjects(bool invalidatePropagatedPoints=false, float maxR=0.0)
virtual const Trk::Track * provide_pathInfoTrkTrack() const
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
const boost::regex re(r_e)
static double particleMass(const int &pdgcode, bool &ok)
Amg::SetVectorVector3D * points_raw_muon_projections
Amg::SetVectorVector3D * points_raw_id_projections
int m_hitInfoStatus
-1: uninitialized, 0: not present, 1: present.
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts
double chiSquared() const
returns the of the overall track fit
unsigned long long value_type
std::vector< Amg::Vector3D > * points_propagated
QStringList baseInfo() const
SoSeparator * shapeDetailed() const
virtual unsigned getNSCTHits() const
const sTgcReadoutElement * getsTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
TrackSysCommonData * common() const
const Trk::TrackStateOnSurface * trackStateOnSurface() const
static bool countHits(const Trk::Track *, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc)
virtual double mass() const
static bool hasMuonGeometry()
std::vector< AssociatedObjectHandleBase * > * tsos_ascobjs
PVConstLink parentStationPV() const
void message(const QString &) const
virtual void setBrowserTreeItem(QTreeWidgetItem *obt)
VP1TrackSanity * trackSanityHelper() const
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
double doubleNumberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as double
std::vector< Amg::Vector3D > * points_raw
virtual QTreeWidgetItem * browserTreeItem() const