![]() |
ATLAS Offline Software
|
Class describing a TrackParticle. More...
#include <TrackParticle_v1.h>
Public Member Functions | |
| TrackParticle_v1 () | |
| Default constructor. | |
| ~TrackParticle_v1 () | |
| Destructor. | |
| TrackParticle_v1 (const TrackParticle_v1 &o) | |
| Copy ctor. This involves copying the entire Auxilary store, and is a slow operation which should be used sparingly. | |
| TrackParticle_v1 & | operator= (const TrackParticle_v1 &tp) |
| Assignment operator. This can involve creating and copying an Auxilary store, and so should be used sparingly. | |
| bool | summaryValue (uint8_t &value, const SummaryType &information) const |
| Accessor for TrackSummary values. | |
| bool | summaryValue (float &value, const SummaryType &information) const |
| Accessor for TrackSummary values. | |
| void | setSummaryValue (uint8_t &value, const SummaryType &information) |
| Set method for TrackSummary values. | |
| void | setSummaryValue (float &value, const SummaryType &information) |
| Set method for TrackSummary values. | |
| void | resetCache () |
| Reset the internal cache of the object. | |
Private Types | |
| using | covMatrixIndex = TrackingDetails::covMatrixIndex |
| typedef std::vector< std::pair< covMatrixIndex, covMatrixIndex > > | covMatrixIndexPairVec |
Static Private Member Functions | |
| static const covMatrixIndexPairVec & | covMatrixComprIndexPairs () |
Private Attributes | |
| CxxUtils::CachedValue< Trk::Perigee > | m_perigeeParameters |
| Cached MeasuredPerigee, built from this object. | |
Static Private Attributes | |
| static const std::size_t | COVMATRIX_OFFDIAG_VEC_COMPR_SIZE = TrackingDetails::COVMATRIX_OFFDIAG_VEC_COMPR_SIZE |
IParticle functions | |
| typedef IParticle::FourMom_t | FourMom_t |
| Definition of the 4-momentum type. | |
| typedef ROOT::Math::LorentzVector< ROOT::Math::PxPyPzM4D< double > > | GenVecFourMom_t |
| Base 4 Momentum type for TrackParticle. | |
| virtual double | pt () const override final |
| The transverse momentum ( \(p_T\)) of the particle. | |
| virtual double | eta () const override final |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| virtual double | phi () const override final |
| The azimuthal angle ( \(\phi\)) of the particle (has range \(-\pi\) to \(+\pi\).). | |
| virtual double | m () const override final |
| The invariant mass of the particle.. | |
| virtual double | e () const override final |
| The total energy of the particle. | |
| virtual double | rapidity () const override final |
| The true rapidity (y) of the particle. | |
| virtual FourMom_t | p4 () const override final |
| The full 4-momentum of the particle. | |
| GenVecFourMom_t | genvecP4 () const |
| The full 4-momentum of the particle : GenVector form. | |
| virtual Type::ObjectType | type () const override final |
| The type of the object as a simple enumeration. | |
Defining parameters functions | |
The 'defining parameters' are key to the concept of a TrackParticle, and give the values for the IParticle interface ( pt(), phi(), eta() etc.). They use the Trk::Perigee coordinate system, and are defined as: \(( d_0, z_0, \phi, \theta, q/p )\). The parameters are expressed with respect to an origin (returned by vx(), vy() and vy() ), currently intended to be the 'beamspot'. This origin is expected to be the same for all track particles in a collection (and this may be be enforced). The \(\phi\) parameter is returned by either the phi() or the phi0() methods, the difference just being whether it is returned as a float or a double (it is stored as a float) | |
| float | charge () const |
| Returns the charge. | |
| float | d0 () const |
| Returns the \(d_0\) parameter. | |
| float | z0 () const |
| Returns the \(z_0\) parameter. | |
| float | phi0 () const |
| Returns the \(\phi\) parameter, which has range \(-\pi\) to \(+\pi\). | |
| float | theta () const |
| Returns the \(\theta\) parameter, which has range 0 to \(\pi\). | |
| float | qOverP () const |
| Returns the \(q/p\) parameter. | |
| float | time () const |
| Returns the time. | |
| float | timeResolution () const |
| Returns the time resolution. | |
| uint8_t | hasValidTime () const |
| Returns whether or not the track has a valid time. | |
| DefiningParameters_t | definingParameters () const |
| Returns a SVector of the Perigee track parameters. | |
| const ParametersCovMatrix_t | definingParametersCovMatrix () const |
| Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix. | |
| ParametersCovMatrixFilled_t | definingParametersCovMatrixFilled () const |
| Returns a 5x5 matrix describing which elements of the covariance matrix are known. | |
| const std::vector< float > & | definingParametersCovMatrixDiagVec () const |
| Returns the diagonal elements of the defining parameters covariance matrix. | |
| const std::vector< float > & | definingParametersCovMatrixOffDiagVec () const |
| Returns the correlation coefficient associated with the off-diagonal elements of the covariance matrix = cov(X,Y)/sqrt(cov(X,X)*cov(Y,Y)). | |
| std::vector< float > | definingParametersCovMatrixVec () const |
| Returns the length 6 vector containing the elements of defining parameters covariance matrix. | |
| bool | definingParametersCovMatrixOffDiagCompr () const |
| void | setDefiningParameters (float d0, float z0, float phi0, float theta, float qOverP) |
| Set the defining parameters. | |
| void | setDefiningParameters (float d0, float z0, float phi0, float theta, float qOverP, float time) |
| void | setTime (float time) |
| void | setTimeResolution (float timeResolution) |
| void | setHasValidTime (uint8_t hasValidTime) |
| void | setDefiningParametersCovMatrix (const ParametersCovMatrix_t &cov) |
| Set the defining parameters covariance matrix. | |
| void | setDefiningParametersCovMatrixDiagVec (const std::vector< float > &vec) |
| Set the defining parameters covariance matrix using a length 15 vector. | |
| void | setDefiningParametersCovMatrixOffDiagVec (const std::vector< float > &vec) |
| Set the off-diagonal elements of the defining parameters covariance matrix. | |
| void | setDefiningParametersCovMatrixVec (const std::vector< float > &cov) |
| void | compressDefiningParametersCovMatrixOffDiag () |
| Delete some off-diagonal elements for compression. | |
| float | vx () const |
| The x origin for the parameters. | |
| float | vy () const |
| The y origin for the parameters. | |
| float | vz () const |
| The z origin for the parameters. | |
| void | setParametersOrigin (float x, float y, float z) |
| Set the origin for the parameters. | |
| const Trk::Perigee & | perigeeParameters () const |
| Returns the Trk::MeasuredPerigee track parameters. | |
Curvilinear functions | |
The set of functions which return other track parameters. The remaining track parameters (i.e. not the 'defining parameters') use the 'curvilinear' coordinate system, and are represented by the parameters \((x,y,z,p_x,p_y,p_z)\). The parameters can have an associated local 5x5 error/covariance matrix. They are expressed at various points through the detector, which can be determined by the parameterPosition() method. // Example code to use parameters
CurvilinearParameters_t parameters = myTP.trackParameters(index);
}
Definition index.py:1 @ FirstMeasurement Parameter defined at the position of the 1st measurement. Definition TrackingPrimitives.h:214 | |
| size_t | numberOfParameters () const |
| Returns the number of additional parameters stored in the TrackParticle. | |
| const CurvilinearParameters_t | trackParameters (unsigned int index) const |
| Returns the track parameter vector at 'index'. | |
| float | parameterX (unsigned int index) const |
| Returns the parameter x position, for 'index'. | |
| float | parameterY (unsigned int index) const |
| Returns the parameter y position, for 'index'. | |
| float | parameterZ (unsigned int index) const |
| Returns the parameter z position, for 'index'. | |
| float | parameterPX (unsigned int index) const |
| Returns the parameter x momentum component, for 'index'. | |
| float | parameterPY (unsigned int index) const |
| Returns the parameter y momentum component, for 'index'. | |
| float | parameterPZ (unsigned int index) const |
| Returns the parameter z momentum component, for 'index'. | |
| void | setTrackParameters (std::vector< std::vector< float > > ¶meters) |
| Set the parameters via the passed vector of vectors. | |
| ParametersCovMatrix_t | trackParameterCovarianceMatrix (unsigned int index) const |
| Returns the TrackParticleCovMatrix_t (covariance matrix) at 'index', which corresponds to the parameters at the same index. | |
| void | setTrackParameterCovarianceMatrix (unsigned int index, std::vector< float > &cov) |
| Set the cov matrix of the parameter at 'index', using a vector of floats. | |
| xAOD::ParameterPosition | parameterPosition (unsigned int index) const |
| Return the ParameterPosition of the parameters at 'index'. | |
| bool | indexOfParameterAtPosition (unsigned int &index, ParameterPosition position) const |
| Function to determine if this TrackParticle contains track parameters at a certain position, and if so, what the 'index' is. | |
| void | setParameterPosition (unsigned int index, ParameterPosition pos) |
| Set the 'position' (i.e. where it is in ATLAS) of the parameter at 'index', using the ParameterPosition enum. | |
| const Trk::CurvilinearParameters | curvilinearParameters (unsigned int index) const |
| Returns a curvilinear representation of the parameters at 'index'. | |
| float | radiusOfFirstHit () const |
| Returns the radius of the first hit. | |
| void | setRadiusOfFirstHit (float radius) |
| Set the radius of the first hit. | |
| uint64_t | identifierOfFirstHit () const |
| Returns the offline identifier of the first hit. | |
| void | setIdentifierOfFirstHit (uint64_t id) |
| Set the offline identifier of the first hit. | |
| float | beamlineTiltX () const |
| void | setBeamlineTiltX (float tiltX) |
| float | beamlineTiltY () const |
| void | setBeamlineTiltY (float tiltY) |
| uint32_t | hitPattern () const |
| void | setHitPattern (uint32_t hitpattern) |
| uint8_t | numberOfUsedHitsdEdx () const |
| void | setNumberOfUsedHitsdEdx (uint8_t numhits) |
| uint8_t | numberOfIBLOverflowsdEdx () const |
| void | setNumberOfIBLOverflowsdEdx (uint8_t numoverflows) |
Fit quality functions | |
Returns some information about quality of the track fit. | |
| float | chiSquared () const |
| Returns the \( \chi^2 \) of the overall track fit. | |
| float | numberDoF () const |
| Returns the number of degrees of freedom of the overall track or vertex fit as float. | |
| void | setFitQuality (float chiSquared, float numberDoF) |
| Set the 'Fit Quality' information. | |
TrackInfo functions | |
Contains information about the 'fitter' of this Trk::Track / TrackParticle. Additionally there is some information about how the e.g. fit was configured. Also the information on the properties of the track fit is stored. | |
| void | setTrackProperties (const TrackProperties properties) |
| Methods setting the TrackProperties. | |
| void | setPatternRecognitionInfo (const std::bitset< xAOD::NumberOfTrackRecoInfo > &patternReco) |
| Method setting the pattern recognition algorithm, using a bitset. | |
| void | setPatternRecognitionInfo (uint64_t patternReco) |
| Method setting the pattern recognition algorithm, using a 64-bit int (which is faster than using a bitset). | |
| void | setTrackFitter (const TrackFitter fitter) |
| Method for setting the fitter, using the TrackFitter enum. | |
| void | setParticleHypothesis (const ParticleHypothesis hypo) |
| Method for setting the particle type, using the ParticleHypothesis enum. | |
| TrackProperties | trackProperties () const |
| Access methods for track properties, which returns 'true' if a logical AND of the parameter 'proprty' and the stored properties returns true. | |
| std::bitset< NumberOfTrackRecoInfo > | patternRecoInfo () const |
| Access method for pattern recognition algorithm. | |
| ParticleHypothesis | particleHypothesis () const |
| Returns the particle hypothesis used for Track fitting. | |
| TrackFitter | trackFitter () const |
| Returns the fitter. | |
Links | |
| const ElementLink< TrackCollection > & | trackLink () const |
| Returns a link (which can be invalid) to the Trk::Track which was used to make this TrackParticle. | |
| void | setTrackLink (const ElementLink< TrackCollection > &track) |
| Set the link to the original track. | |
| const Trk::Track * | track () const |
| Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle. | |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
Class describing a TrackParticle.
Definition at line 44 of file TrackParticle_v1.h.
Definition at line 349 of file TrackParticle_v1.h.
|
private |
Definition at line 351 of file TrackParticle_v1.h.
Definition of the 4-momentum type.
Definition at line 73 of file TrackParticle_v1.h.
| typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzM4D<double> > xAOD::TrackParticle_v1::GenVecFourMom_t |
Base 4 Momentum type for TrackParticle.
Definition at line 79 of file TrackParticle_v1.h.
| xAOD::TrackParticle_v1::TrackParticle_v1 | ( | ) |
Default constructor.
Definition at line 47 of file TrackParticle_v1.cxx.
| xAOD::TrackParticle_v1::~TrackParticle_v1 | ( | ) |
| xAOD::TrackParticle_v1::TrackParticle_v1 | ( | const TrackParticle_v1 & | o | ) |
Copy ctor. This involves copying the entire Auxilary store, and is a slow operation which should be used sparingly.
Definition at line 52 of file TrackParticle_v1.cxx.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| float xAOD::TrackParticle_v1::beamlineTiltX | ( | ) | const |
| float xAOD::TrackParticle_v1::beamlineTiltY | ( | ) | const |
| float xAOD::TrackParticle_v1::charge | ( | ) | const |
| float xAOD::TrackParticle_v1::chiSquared | ( | ) | const |
Returns the \( \chi^2 \) of the overall track fit.
| void xAOD::TrackParticle_v1::compressDefiningParametersCovMatrixOffDiag | ( | ) |
Delete some off-diagonal elements for compression.
Definition at line 388 of file TrackParticle_v1.cxx.
|
staticprivate |
Definition at line 716 of file TrackParticle_v1.cxx.
| const Trk::CurvilinearParameters xAOD::TrackParticle_v1::curvilinearParameters | ( | unsigned int | index | ) | const |
Returns a curvilinear representation of the parameters at 'index'.
Definition at line 625 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::d0 | ( | ) | const |
Returns the \(d_0\) parameter.
| DefiningParameters_t xAOD::TrackParticle_v1::definingParameters | ( | ) | const |
Returns a SVector of the Perigee track parameters.
i.e. a vector of \(\left(\begin{array}{c}d_0\\z_0\\\phi_0\\\theta\\q/p\end{array}\right)\)
Definition at line 175 of file TrackParticle_v1.cxx.
| const xAOD::ParametersCovMatrix_t xAOD::TrackParticle_v1::definingParametersCovMatrix | ( | ) | const |
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
Definition at line 260 of file TrackParticle_v1.cxx.
Returns the diagonal elements of the defining parameters covariance matrix.
Definition at line 326 of file TrackParticle_v1.cxx.
| ParametersCovMatrixFilled_t xAOD::TrackParticle_v1::definingParametersCovMatrixFilled | ( | ) | const |
Returns a 5x5 matrix describing which elements of the covariance matrix are known.
Definition at line 274 of file TrackParticle_v1.cxx.
| bool xAOD::TrackParticle_v1::definingParametersCovMatrixOffDiagCompr | ( | ) | const |
Definition at line 380 of file TrackParticle_v1.cxx.
| const std::vector< float > & xAOD::TrackParticle_v1::definingParametersCovMatrixOffDiagVec | ( | ) | const |
Returns the correlation coefficient associated with the off-diagonal elements of the covariance matrix = cov(X,Y)/sqrt(cov(X,X)*cov(Y,Y)).
Definition at line 331 of file TrackParticle_v1.cxx.
| std::vector< float > xAOD::TrackParticle_v1::definingParametersCovMatrixVec | ( | ) | const |
Returns the length 6 vector containing the elements of defining parameters covariance matrix.
Definition at line 336 of file TrackParticle_v1.cxx.
|
finaloverridevirtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 111 of file TrackParticle_v1.cxx.
|
finaloverridevirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 79 of file TrackParticle_v1.cxx.
| TrackParticle_v1::GenVecFourMom_t xAOD::TrackParticle_v1::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : GenVector form.
Definition at line 118 of file TrackParticle_v1.cxx.
| uint8_t xAOD::TrackParticle_v1::hasValidTime | ( | ) | const |
Returns whether or not the track has a valid time.
| uint32_t xAOD::TrackParticle_v1::hitPattern | ( | ) | const |
| uint64_t xAOD::TrackParticle_v1::identifierOfFirstHit | ( | ) | const |
Returns the offline identifier of the first hit.
| bool xAOD::TrackParticle_v1::indexOfParameterAtPosition | ( | unsigned int & | index, |
| ParameterPosition | position ) const |
Function to determine if this TrackParticle contains track parameters at a certain position, and if so, what the 'index' is.
| [in] | index | Filled with the index of the track parameters at 'position' - untouched otherwise. |
| [out] | position | The location in the detector of the required track parameters. |
Definition at line 605 of file TrackParticle_v1.cxx.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
finaloverridevirtual |
The invariant mass of the particle..
Implements xAOD::IParticle.
Definition at line 85 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::numberDoF | ( | ) | const |
Returns the number of degrees of freedom of the overall track or vertex fit as float.
| uint8_t xAOD::TrackParticle_v1::numberOfIBLOverflowsdEdx | ( | ) | const |
| size_t xAOD::TrackParticle_v1::numberOfParameters | ( | ) | const |
Returns the number of additional parameters stored in the TrackParticle.
number of parameters should be the size of positions we need for them
Definition at line 505 of file TrackParticle_v1.cxx.
| uint8_t xAOD::TrackParticle_v1::numberOfUsedHitsdEdx | ( | ) | const |
| TrackParticle_v1 & xAOD::TrackParticle_v1::operator= | ( | const TrackParticle_v1 & | tp | ) |
Assignment operator. This can involve creating and copying an Auxilary store, and so should be used sparingly.
Definition at line 59 of file TrackParticle_v1.cxx.
|
finaloverridevirtual |
The full 4-momentum of the particle.
Implements xAOD::IParticle.
Definition at line 122 of file TrackParticle_v1.cxx.
| xAOD::ParameterPosition xAOD::TrackParticle_v1::parameterPosition | ( | unsigned int | index | ) | const |
Return the ParameterPosition of the parameters at 'index'.
Definition at line 599 of file TrackParticle_v1.cxx.
Returns the parameter x momentum component, for 'index'.
Definition at line 564 of file TrackParticle_v1.cxx.
Returns the parameter y momentum component, for 'index'.
Definition at line 569 of file TrackParticle_v1.cxx.
Returns the parameter z momentum component, for 'index'.
Definition at line 574 of file TrackParticle_v1.cxx.
Returns the parameter x position, for 'index'.
Definition at line 549 of file TrackParticle_v1.cxx.
Returns the parameter y position, for 'index'.
Definition at line 554 of file TrackParticle_v1.cxx.
Returns the parameter z position, for 'index'.
Definition at line 559 of file TrackParticle_v1.cxx.
| xAOD::ParticleHypothesis xAOD::TrackParticle_v1::particleHypothesis | ( | ) | const |
Returns the particle hypothesis used for Track fitting.
Definition at line 680 of file TrackParticle_v1.cxx.
| std::bitset< xAOD::NumberOfTrackRecoInfo > xAOD::TrackParticle_v1::patternRecoInfo | ( | ) | const |
| const Trk::Perigee & xAOD::TrackParticle_v1::perigeeParameters | ( | ) | const |
Returns the Trk::MeasuredPerigee track parameters.
These are defined as: \(\left(\begin{array}{c}d_0\\z_0\\\phi_0\\\theta\\q/p\\\end{array}\right)\)
Definition at line 437 of file TrackParticle_v1.cxx.
|
finaloverridevirtual |
The azimuthal angle ( \(\phi\)) of the particle (has range \(-\pi\) to \(+\pi\).).
Implements xAOD::IParticle.
| float xAOD::TrackParticle_v1::phi0 | ( | ) | const |
Returns the \(\phi\) parameter, which has range \(-\pi\) to \(+\pi\).
Definition at line 150 of file TrackParticle_v1.cxx.
|
finaloverridevirtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
Definition at line 75 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::qOverP | ( | ) | const |
Returns the \(q/p\) parameter.
| float xAOD::TrackParticle_v1::radiusOfFirstHit | ( | ) | const |
Returns the radius of the first hit.
|
finaloverridevirtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 114 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::resetCache | ( | ) |
Reset the internal cache of the object.
Definition at line 772 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setBeamlineTiltX | ( | float | tiltX | ) |
| void xAOD::TrackParticle_v1::setBeamlineTiltY | ( | float | tiltY | ) |
| void xAOD::TrackParticle_v1::setDefiningParameters | ( | float | d0, |
| float | z0, | ||
| float | phi0, | ||
| float | theta, | ||
| float | qOverP ) |
Set the defining parameters.
Definition at line 181 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setDefiningParameters | ( | float | d0, |
| float | z0, | ||
| float | phi0, | ||
| float | theta, | ||
| float | qOverP, | ||
| float | time ) |
Definition at line 206 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setDefiningParametersCovMatrix | ( | const ParametersCovMatrix_t & | cov | ) |
Set the defining parameters covariance matrix.
Definition at line 227 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setDefiningParametersCovMatrixDiagVec | ( | const std::vector< float > & | vec | ) |
Set the defining parameters covariance matrix using a length 15 vector.
Set the diagonal elements of the defining parameters covariance matrix
Definition at line 345 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setDefiningParametersCovMatrixOffDiagVec | ( | const std::vector< float > & | vec | ) |
Set the off-diagonal elements of the defining parameters covariance matrix.
Definition at line 359 of file TrackParticle_v1.cxx.
Definition at line 412 of file TrackParticle_v1.cxx.
Set the 'Fit Quality' information.
Definition at line 486 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setHasValidTime | ( | uint8_t | hasValidTime | ) |
| void xAOD::TrackParticle_v1::setHitPattern | ( | uint32_t | hitpattern | ) |
| void xAOD::TrackParticle_v1::setIdentifierOfFirstHit | ( | uint64_t | id | ) |
Set the offline identifier of the first hit.
| void xAOD::TrackParticle_v1::setNumberOfIBLOverflowsdEdx | ( | uint8_t | numoverflows | ) |
| void xAOD::TrackParticle_v1::setNumberOfUsedHitsdEdx | ( | uint8_t | numhits | ) |
| void xAOD::TrackParticle_v1::setParameterPosition | ( | unsigned int | index, |
| xAOD::ParameterPosition | pos ) |
Set the 'position' (i.e. where it is in ATLAS) of the parameter at 'index', using the ParameterPosition enum.
Definition at line 619 of file TrackParticle_v1.cxx.
Set the origin for the parameters.
Definition at line 425 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setParticleHypothesis | ( | const ParticleHypothesis | hypo | ) |
Method for setting the particle type, using the ParticleHypothesis enum.
Definition at line 675 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setPatternRecognitionInfo | ( | const std::bitset< xAOD::NumberOfTrackRecoInfo > & | patternReco | ) |
Method setting the pattern recognition algorithm, using a bitset.
The bitset should be created using the TrackPatternRecoInfo enum as follows:
Definition at line 670 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setPatternRecognitionInfo | ( | uint64_t | patternReco | ) |
Method setting the pattern recognition algorithm, using a 64-bit int (which is faster than using a bitset).
The bit set should be created using the TrackPatternRecoInfo enum as follows:
Definition at line 665 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setSummaryValue | ( | float & | value, |
| const SummaryType & | information ) |
Set method for TrackSummary values.
Definition at line 710 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setSummaryValue | ( | uint8_t & | value, |
| const SummaryType & | information ) |
Set method for TrackSummary values.
Definition at line 704 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTime | ( | float | time | ) |
Definition at line 212 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTimeResolution | ( | float | timeResolution | ) |
Definition at line 217 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTrackFitter | ( | const TrackFitter | fitter | ) |
Method for setting the fitter, using the TrackFitter enum.
Definition at line 645 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTrackLink | ( | const ElementLink< TrackCollection > & | track | ) |
Set the link to the original track.
Definition at line 745 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTrackParameterCovarianceMatrix | ( | unsigned int | index, |
| std::vector< float > & | cov ) |
Set the cov matrix of the parameter at 'index', using a vector of floats.
The vector \(\mathrm{v}(a1,a2,a3 ... a_{15})\) represents the lower diagonal, i.e. it gives a matrix of \(\left(\begin{array}{ccccc} a_1 & a_2 & a_4 & a_7 & a_{11} \\ a_2 & a_3 & a_5 & a_8 & a_{12} \\ a_4 & a_5 & a_6 & a_9 & a_{13} \\ a_7 & a_8 & a_9 & a_{10} & a_{14} \\ a_{11} & a_{12} & a_{13} & a_{14} & a_{15} \end{array}\right)\)
Definition at line 590 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTrackParameters | ( | std::vector< std::vector< float > > & | parameters | ) |
Set the parameters via the passed vector of vectors.
The vector<float> should be of size 6: x,y,z,px,py,pz (charge is stored elsewhere)
Definition at line 519 of file TrackParticle_v1.cxx.
| void xAOD::TrackParticle_v1::setTrackProperties | ( | const TrackProperties | properties | ) |
Methods setting the TrackProperties.
| bool xAOD::TrackParticle_v1::summaryValue | ( | float & | value, |
| const SummaryType & | information ) const |
Accessor for TrackSummary values.
If 'information' is stored in this TrackParticle and is of the correct templated type T, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'. See below for an example of how this is intended to be used.
| [in] | information | The information being requested. This is not guaranteed to be stored in all TrackParticles. |
| [out] | value | Only filled if this TrackParticle contains 'information', and the types match. |
Definition at line 696 of file TrackParticle_v1.cxx.
| bool xAOD::TrackParticle_v1::summaryValue | ( | uint8_t & | value, |
| const SummaryType & | information ) const |
Accessor for TrackSummary values.
If 'information' is stored in this TrackParticle and is of the correct templated type T, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'. See below for an example of how this is intended to be used.
| [in] | information | The information being requested. This is not guaranteed to be stored in all TrackParticles. |
| [out] | value | Only filled if this TrackParticle contains 'information', and the types match. |
Definition at line 688 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::theta | ( | ) | const |
Returns the \(\theta\) parameter, which has range 0 to \(\pi\).
| float xAOD::TrackParticle_v1::time | ( | ) | const |
Returns the time.
Definition at line 161 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::timeResolution | ( | ) | const |
Returns the time resolution.
Definition at line 168 of file TrackParticle_v1.cxx.
| const Trk::Track * xAOD::TrackParticle_v1::track | ( | ) | const |
Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle.
Definition at line 756 of file TrackParticle_v1.cxx.
| xAOD::TrackFitter xAOD::TrackParticle_v1::trackFitter | ( | ) | const |
Returns the fitter.
Definition at line 650 of file TrackParticle_v1.cxx.
| const ElementLink< TrackCollection > & xAOD::TrackParticle_v1::trackLink | ( | ) | const |
Returns a link (which can be invalid) to the Trk::Track which was used to make this TrackParticle.
The function will return an invalid ElementLink in case nothing was set for it yet.
This is to avoid users having to always check both for the decoration being available, and the link being valid.
Definition at line 730 of file TrackParticle_v1.cxx.
| xAOD::ParametersCovMatrix_t xAOD::TrackParticle_v1::trackParameterCovarianceMatrix | ( | unsigned int | index | ) | const |
Returns the TrackParticleCovMatrix_t (covariance matrix) at 'index', which corresponds to the parameters at the same index.
Definition at line 579 of file TrackParticle_v1.cxx.
Returns the track parameter vector at 'index'.
Definition at line 512 of file TrackParticle_v1.cxx.
| TrackProperties xAOD::TrackParticle_v1::trackProperties | ( | ) | const |
Access methods for track properties, which returns 'true' if a logical AND of the parameter 'proprty' and the stored properties returns true.
i.e. you do:
|
finaloverridevirtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 139 of file TrackParticle_v1.cxx.
| float xAOD::TrackParticle_v1::vx | ( | ) | const |
The x origin for the parameters.
| float xAOD::TrackParticle_v1::vy | ( | ) | const |
The y origin for the parameters.
| float xAOD::TrackParticle_v1::vz | ( | ) | const |
The z origin for the parameters.
| float xAOD::TrackParticle_v1::z0 | ( | ) | const |
Returns the \(z_0\) parameter.
|
staticprivate |
Definition at line 350 of file TrackParticle_v1.h.
|
private |
Cached MeasuredPerigee, built from this object.
Definition at line 369 of file TrackParticle_v1.h.