siscone_spherical::CSph3vector Class Reference base class for managing the spatial part of Cmomentum (defined after) More...
Inheritance diagram for siscone_spherical::CSph3vector:
Collaboration diagram for siscone_spherical::CSph3vector:
Detailed Descriptionbase class for managing the spatial part of Cmomentum (defined after) This class contains the information for particle or group of particles management. It is adapted to use spherical geometry, where, for our purposes, the only time-consuming operation we need is the computation of the norm. To compute it once-and-for-all and store it in a local variable, you should call the 'build_norm' method. On top of that, the angle phi is computed from the x-axis and theta from the "north pole". Definition at line 54 of file momentum.h. Constructor & Destructor Documentation◆ CSph3vector() [1/2]
default ctor Definition at line 43 of file momentum.cpp. References _norm, _phi, _theta, px, py, pz, and ref. Referenced by get_angular_directions(). ◆ CSph3vector() [2/2]
ctor with initialisation Definition at line 51 of file momentum.cpp. References build_norm(), px, py, pz, and ref. ◆ ~CSph3vector()
default dtor Definition at line 64 of file momentum.cpp. Member Function Documentation◆ build_norm()
build the spatial normfrom 4-momentum info !!! WARNING !!! !!! computing the norm is the only time-consuming !!! !!! information we need in all computations. !!! !!! use this whenever you need repeated access !!! !!! to the norm to store it in the local variable !!! Definition at line 148 of file momentum.cpp. Referenced by siscone_spherical::CSphvicinity::append_to_vicinity(), and CSph3vector(). ◆ build_thetaphi()
just a useful tool to store theta and phi locally (in _theta and _phi) in case you need repeated access Definition at line 153 of file momentum.cpp. References _phi, _theta, phi(), and theta(). Referenced by siscone_spherical::CSphsplit_merge::add_hardest_protocone_to_jets(), siscone_spherical::CSphsplit_merge::add_protocones(), and siscone_spherical::CSphmomentum::CSphmomentum(). ◆ get_angular_directions()
for this direction, compute the two reference directions used to measure angles Definition at line 161 of file momentum.cpp. References CSph3vector(), px, py, and pz. Referenced by siscone_spherical::CSphvicinity::build(). ◆ norm()
◆ norm2()
◆ operator*=()
multiplication by a constant WARNING= norm is not updated Definition at line 127 of file momentum.cpp. ◆ operator+()
addition of vectors WARNING= norm is not updated Definition at line 86 of file momentum.cpp. ◆ operator+=()
incrementation of vectors WARNING= norm is not updated Definition at line 107 of file momentum.cpp. ◆ operator-()
subtraction of vectors WARNING= norm is not updated Definition at line 93 of file momentum.cpp. ◆ operator-=()
decrementation of vectors WARNING= norm is not updated Definition at line 117 of file momentum.cpp. ◆ operator/()
division by a constant WARNING= norm is not updated Definition at line 100 of file momentum.cpp. ◆ operator/=()
◆ operator=()
◆ perp()
◆ perp2()
computes pT^2 Definition at line 100 of file momentum.h. Referenced by siscone_spherical::CSphmomentum::Et(), siscone_spherical::CSphmomentum::Et2(), siscone_spherical::CSphmomentum::mass2(), and perp(). ◆ phi()
◆ theta()
Member Data Documentation◆ _norm
particle spatial norm (available ONLY after a call to build_norm) Definition at line 135 of file momentum.h. Referenced by siscone_spherical::CSphvicinity::append_to_vicinity(), siscone_spherical::CSphvicinity::build(), build_norm(), CSph3vector(), operator/=(), operator=(), and siscone_spherical::CSphmomentum::operator=(). ◆ _phi
particle phi angle (available ONLY after a call to build_thetaphi) Definition at line 137 of file momentum.h. Referenced by siscone_spherical::CSphsplit_merge::add_hardest_protocone_to_jets(), siscone_spherical::CSphsplit_merge::add_protocones(), build_thetaphi(), CSph3vector(), siscone_spherical::CSphborder_store::CSphborder_store(), siscone_spherical::CSphstable_cones::get_stable_cones(), operator=(), and siscone_spherical::CSphmomentum::operator=(). ◆ _theta
particle theta angle (available ONLY after a call to build_thetaphi) Definition at line 136 of file momentum.h. Referenced by siscone_spherical::CSphsplit_merge::add_hardest_protocone_to_jets(), siscone_spherical::CSphsplit_merge::add_protocones(), build_thetaphi(), CSph3vector(), siscone_spherical::CSphborder_store::CSphborder_store(), siscone_spherical::CSphstable_cones::get_stable_cones(), operator=(), and siscone_spherical::CSphmomentum::operator=(). ◆ px
x-momentum Definition at line 131 of file momentum.h. Referenced by CSph3vector(), get_angular_directions(), norm(), norm2(), operator*=(), operator+=(), siscone_spherical::CSphmomentum::operator+=(), operator-=(), siscone_spherical::CSphmomentum::operator-=(), operator/=(), operator=(), siscone_spherical::CSphmomentum::operator=(), perp2(), phi(), siscone_spherical::CSphsplit_merge::save_contents(), and siscone_spherical::CSphsplit_merge::show(). ◆ py
y-momentum Definition at line 132 of file momentum.h. Referenced by CSph3vector(), get_angular_directions(), norm(), norm2(), operator*=(), operator+=(), siscone_spherical::CSphmomentum::operator+=(), operator-=(), siscone_spherical::CSphmomentum::operator-=(), operator/=(), operator=(), siscone_spherical::CSphmomentum::operator=(), perp2(), phi(), siscone_spherical::CSphsplit_merge::save_contents(), and siscone_spherical::CSphsplit_merge::show(). ◆ pz
z-momentum Definition at line 133 of file momentum.h. Referenced by CSph3vector(), siscone_spherical::CSphmomentum::Et(), siscone_spherical::CSphmomentum::Et2(), get_angular_directions(), norm(), norm2(), operator*=(), operator+=(), siscone_spherical::CSphmomentum::operator+=(), operator-=(), siscone_spherical::CSphmomentum::operator-=(), operator/=(), operator=(), siscone_spherical::CSphmomentum::operator=(), siscone_spherical::CSphmomentum::perpmass(), siscone_spherical::CSphmomentum::perpmass2(), siscone_spherical::CSphsplit_merge::save_contents(), siscone_spherical::CSphsplit_merge::show(), and theta(). ◆ ref
reference number for the vector Definition at line 142 of file momentum.h. Referenced by CSph3vector(), siscone_spherical::sph_hash_cones::insert(), siscone_spherical::CSphsplit_merge_ptcomparison::operator()(), siscone_spherical::CSphmomentum::operator+=(), siscone_spherical::CSphmomentum::operator-=(), operator=(), and siscone_spherical::CSphmomentum::operator=(). The documentation for this class was generated from the following files:
The SISCone project has been developed by Gavin Salam and Gregory Soyez Documentation generated on Tue Jun 20 2023 18:08:37 for SISCone by Doxygen 1.9.4 |