#include <CurvilinearTrajectoryParameters.h>
Public Member Functions | |
TrackCharge | charge () const |
access to the charge More... | |
CurvilinearTrajectoryParameters () | |
default constructor More... | |
CurvilinearTrajectoryParameters (const AlgebraicVector5 &v, bool charged=true) | |
CurvilinearTrajectoryParameters (double aQbp, double alambda, double aphi, double axT, double ayT, bool charged=true) | |
CurvilinearTrajectoryParameters (const GlobalPoint &aX, const GlobalVector &aP, TrackCharge aCharge) | |
double | lambda () const |
double | phi () const |
double | Qbp () const |
double | signedInverseMomentum () const |
access to the Signed Inverse momentum q/p (zero for neutrals) More... | |
bool | updateP (double dP) |
AlgebraicVector5 | vector () const |
double | xT () const |
double | yT () const |
Private Attributes | |
double | thelambda |
double | thephi |
double | theQbp |
double | thexT |
double | theyT |
Class providing access to a set of relevant parameters of a trajectory in a Curvilinear frame. The set consists of the following paramters: \ q/p: charged particles: charge(plus or minus one) divided by magnitude of momentum neutral particles: inverse magnitude of momentum lambda: the helix dip angle (pi/2 minus theta(polar angle)), defined in the global frame phi: the angle of inclination with the global x-axis in the transverse (global xy) plane xT: transverse position in the global xy plane and it points left when looking into the direction of the track yT: transverse position that forms a right-handed frame with xT and zT
Note that the frame is tangent to the track at the point of definition, with Z_T parallel to the track
Definition at line 28 of file CurvilinearTrajectoryParameters.h.
|
inline |
|
inline |
Constructor from vector of parameters Expects a vector of parameters as defined above. For charged particles he charge will be determined by\ the sign of the first element. For neutral particles the last argument should be false, in which case the charge of the first element will be neglected.
Definition at line 42 of file CurvilinearTrajectoryParameters.h.
|
inline |
Constructor from vector of parameters Expects a vector of parameters as defined above. For charged particles the charge will be determined by the sign of the first element. For neutral particles the last argument should be false, in which case the charge of the first element will be neglected. Constructor from individual curvilinear parameters Expects parameters as defined above.
Definition at line 56 of file CurvilinearTrajectoryParameters.h.
CurvilinearTrajectoryParameters::CurvilinearTrajectoryParameters | ( | const GlobalPoint & | aX, |
const GlobalVector & | aP, | ||
TrackCharge | aCharge | ||
) |
Constructor from a global vector, global point and track charge
Definition at line 5 of file CurvilinearTrajectoryParameters.cc.
References PV3DBase< T, PVType, FrameType >::mag(), mathSSE::sqrt(), thelambda, thephi, theQbp, thexT, theyT, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
access to the charge
Definition at line 66 of file CurvilinearTrajectoryParameters.h.
References Qbp().
|
inline |
Definition at line 88 of file CurvilinearTrajectoryParameters.h.
References thelambda.
|
inline |
Definition at line 89 of file CurvilinearTrajectoryParameters.h.
References thephi.
Referenced by Particle.Particle::__str__().
|
inline |
Definition at line 87 of file CurvilinearTrajectoryParameters.h.
References theQbp.
Referenced by charge(), signedInverseMomentum(), and updateP().
|
inline |
access to the Signed Inverse momentum q/p (zero for neutrals)
Definition at line 69 of file CurvilinearTrajectoryParameters.h.
References Qbp().
bool CurvilinearTrajectoryParameters::updateP | ( | double | dP | ) |
Definition at line 19 of file CurvilinearTrajectoryParameters.cc.
References funct::abs(), AlCaHLTBitMon_ParallelJobs::p, Qbp(), and theQbp.
|
inline |
Vector of parameters with signed inverse momentum.
Vector of parameters as defined above, with the first element q/p.
Definition at line 78 of file CurvilinearTrajectoryParameters.h.
References thelambda, thephi, theQbp, thexT, and theyT.
|
inline |
|
inline |
|
private |
Definition at line 97 of file CurvilinearTrajectoryParameters.h.
Referenced by CurvilinearTrajectoryParameters(), lambda(), and vector().
|
private |
Definition at line 98 of file CurvilinearTrajectoryParameters.h.
Referenced by CurvilinearTrajectoryParameters(), phi(), and vector().
|
private |
Definition at line 96 of file CurvilinearTrajectoryParameters.h.
Referenced by CurvilinearTrajectoryParameters(), Qbp(), updateP(), and vector().
|
private |
Definition at line 99 of file CurvilinearTrajectoryParameters.h.
Referenced by CurvilinearTrajectoryParameters(), vector(), and xT().
|
private |
Definition at line 100 of file CurvilinearTrajectoryParameters.h.
Referenced by CurvilinearTrajectoryParameters(), vector(), and yT().