#include <NeutralParticle_v1.h>
Public Member Functions | |
NeutralParticle_v1 () | |
Default constructor. | |
~NeutralParticle_v1 () | |
Destructor. | |
NeutralParticle_v1 (const NeutralParticle_v1 &o) | |
Copy ctor. This involves copying the entire Auxilary store, and is a slow operation which should be used sparingly. | |
NeutralParticle_v1 & | operator= (const NeutralParticle_v1 &tp) |
Assignment operator. This can involve creating and copying an Auxilary store, and so should be used sparingly. | |
xAOD::IParticle functions | |
The transverse momentum () of the particle. | |
typedef IParticle::FourMom_t | FourMom_t |
Definition of the 4-momentum type. | |
virtual double | pt () const |
The transverse momentum () of the particle. | |
virtual double | eta () const |
The pseudorapidity () of the particle. | |
virtual double | phi () const |
The azimuthal angle () of the particle. | |
virtual double | m () const |
The invariant mass of the particle.. | |
virtual double | e () const |
The total energy of the particle. | |
virtual double | rapidity () const |
The true rapidity (y) of the particle. | |
virtual const FourMom_t & | p4 () const |
The full 4-momentum of the particle. | |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. | |
Defining parameters functions | |
The 'defining parameters' are key to the concept of a NeutralParticle, and give the values for the IParticle interface ( pt(), phi(), eta() etc.). They use the Trk::NeutralPerigee coordinate system, and are defined as: . 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). | |
float | d0 () const |
Returns the parameter. | |
float | z0 () const |
Returns the parameter. | |
float | phi0 () const |
Returns the parameter, which has range to . | |
float | theta () const |
Returns the parameter, which has range 0 to . | |
float | oneOverP () const |
Returns the parameter. | |
const DefiningParameters_t & | definingParameters () const |
Returns a SVector of the Perigee track parameters. i.e. a vector of . | |
const ParametersCovMatrix_t & | definingParametersCovMatrix () const |
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix. | |
const std::vector< float > & | definingParametersCovMatrixVec () const |
Returns the vector of the covariance values - 15 elements. | |
void | setDefiningParameters (float d0, float z0, float phi0, float theta, float qOverP) |
Set the defining parameters. | |
void | setDefiningParametersCovMatrix (const ParametersCovMatrix_t &cov) |
Set the defining parameters covariance matrix. | |
void | setDefiningParametersCovMatrixVec (const std::vector< float > &cov) |
Set the defining parameters covariance matrix using a length 15 vector. | |
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::NeutralPerigee & | perigeeParameters () const |
Returns the Trk::NeutralPerigee track parameters. |
Class describing a NeutralParticle.
const NeutralParticle_v1::FourMom_t & xAOD::NeutralParticle_v1::p4 | ( | ) | const [virtual] |
The full 4-momentum of the particle.
Implements xAOD::IParticle.
const Trk::NeutralPerigee & xAOD::NeutralParticle_v1::perigeeParameters | ( | ) | const |
Returns the Trk::NeutralPerigee track parameters.
These are defined as: