179 angular_dir2 = cross_product3(*
this, angular_dir1);
CSph3vector & operator=(const CSph3vector &v)
assignment of vectors
CSph3vector & operator+=(const CSph3vector &v)
incrementation of vectors WARNING= norm is not updated
const CSphmomentum operator+(const CSphmomentum &v)
addition of vectors !!! WARNING !!! no updating of eta and phi !!!
double theta() const
3-vect polar angle
const CSph3vector operator+(const CSph3vector &v)
addition of vectors WARNING= norm is not updated
double _norm
particle spatial norm (available ONLY after a call to build_norm)
const CSph3vector operator-(const CSph3vector &v)
subtraction of vectors WARNING= norm is not updated
~CSphmomentum()
ctor with detailed initialisation
double _phi
particle phi angle (available ONLY after a call to build_thetaphi)
CSph3vector & operator/=(const double &r)
division by a constant WARNING= norm is not updated
siscone::Creference ref
reference number for the vector
CSphmomentum & operator+=(const CSphmomentum &v)
incrementation of vectors !!! WARNING !!! no updating of eta and phi !!!
CSph3vector & operator-=(const CSph3vector &v)
decrementation of vectors WARNING= norm is not updated
void build_thetaphi()
just a useful tool to store theta and phi locally (in _theta and _phi) in case you need repeated acce...
~CSph3vector()
default dtor
CSph3vector & operator*=(const double &r)
multiplication by a constant WARNING= norm is not updated
void get_angular_directions(CSph3vector &angular_dir1, CSph3vector &angular_dir2)
for this direction, compute the two reference directions used to measure angles
CSphmomentum & operator-=(const CSphmomentum &v)
decrementation of vectors !!! WARNING !!! no updating of eta and phi !!!
double _theta
particle theta angle (available ONLY after a call to build_thetaphi)
double norm() const
3-vect norm
double perp2() const
computes pT^2
const CSph3vector operator/(const double &r)
division by a constant WARNING= norm is not updated
CSphmomentum & operator=(const CSphmomentum &v)
assignment of vectors
void build_norm()
build the spatial normfrom 4-momentum info !!! WARNING !!! !!! computing the norm is the only time-co...
base class for dynamic coordinates management
base class for managing the spatial part of Cmomentum (defined after)
CSph3vector()
default ctor
CSphmomentum()
default ctor
references used for checksums.
double phi() const
3-vect azimuthal angle