|
ATLAS Offline Software
|
Go to the documentation of this file.
28 if (!trackStateOnSurfaces) {
29 VP1Msg::messageDebug(
"TrackHandle_xAODTrackParticle WARNING: Could not create track due to null TSOS vector");
32 if (trackStateOnSurfaces->
empty()) {
33 VP1Msg::messageDebug(
"TrackHandle_xAODTrackParticle WARNING: Could not create track due to empty TSOS vector");
34 delete trackStateOnSurfaces;
38 std::unique_ptr<Trk::TrackStates> sink(trackStateOnSurfaces);
78 l <<
"xAODTrackParticle:";
87 if (!
common()->trackSanityHelper()->isSafe(&
p))
105 std::vector<const Trk::TrackParameters*> trackpars;
110 trackpars.push_back(peri);
114 for (
unsigned i = 0;
i < trackpars.size(); ++
i) {
double calculateCharge() const
Contains information about the 'fitter' of this track.
float charge() const
Returns the charge.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
static bool isSafe(const Trk::TrackStateOnSurface *)
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
const Trk::Track * provide_pathInfoTrkTrack() const
virtual Amg::Vector3D momentum() const
virtual unsigned getNCSCHits() const
TrackHandle_xAODTrackParticle * theclass
const Trk::Track * createTrack(Trk::TrackStates *trackStateOnSurfaces) const
virtual unsigned getNTRTHits() const
const Trk::Perigee & perigeeParameters() const
Returns the Trk::MeasuredPerigee track parameters.
DataVector< const Trk::TrackStateOnSurface > TrackStates
void ensureTouchedMuonChambersInitialised() const
virtual unsigned getNSCTHits() const
const Trk::Track * trkTrack
virtual unsigned getNPixelHits() const
TrackSysCommonData * common() const
virtual Trk::ParticleHypothesis extrapolationParticleHypothesis() const
Default implementation of this next method bases hypothesis on pdgCode() and charge():
represents the track state (measurement, material, fit parameters and quality) at a surface.
static void messageVerbose(const QString &)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual ~TrackHandle_xAODTrackParticle()
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
virtual unsigned getNTGCHits() const
TrackHandle_xAODTrackParticle(TrackCollHandleBase *, const xAOD::TrackParticle *)
static void messageDebug(const QString &)
@ numberOfSCTHits
number of hits in SCT [unit8_t].
virtual unsigned getNRPCHits() const
QStringList baseInfo() const
Class describing a TrackParticle.
virtual unsigned getNMuonPhiHits() const
The number of phi hits is part of hit counts below (i.e.
const xAOD::TrackParticle * trackparticle
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
VP1TrackSanity * trackSanityHelper() const
virtual unsigned getNMDTHits() const
@ Unknown
Track fitter not defined.