Jpp
18.4.0
the software that should make you happy
|
Vertex of energy loss of muon. More...
#include <JSireneToolkit.hh>
Public Member Functions | |
JVertex () | |
Default constructor. More... | |
JVertex (const double z, const double t, const double E) | |
Constructor. More... | |
double | getRange () const |
Get visible range of muon using default ionisation energy loss. More... | |
double | getRange (double a) const |
Get visible range of muon using given ionisation energy loss. More... | |
double | getRange (const JGeane &geane) const |
Get range of muon using given energy loss function. More... | |
void | applyEloss (const JVersor3Z &Ts, const double Es) |
Apply shower energy loss. More... | |
JVertex & | step (const double ds) |
Step using default ionisation energy loss. More... | |
JVertex & | step (const double a, const double ds) |
Step using given ionisation energy loss. More... | |
JVertex & | step (const JGeane &geane, const double ds) |
Step using given energy loss function. More... | |
double | getE () const |
Get muon energy. More... | |
double | getEs () const |
Get shower energy. More... | |
const JPosition3D & | getPosition () const |
Get position. More... | |
JPosition3D & | getPosition () |
Get position. More... | |
void | setPosition (const JVector3D &pos) |
Set position. More... | |
operator JAngle3D () const | |
Type conversion operator. More... | |
operator JVersor3D () const | |
Type conversion operator. More... | |
JPosition3D & | rotate (const JRotation3D &R) |
Rotate. More... | |
JPosition3D & | rotate (const JRotation3X &R) |
Rotate around X-axis. More... | |
JPosition3D & | rotate (const JRotation3Y &R) |
Rotate around Y-axis. More... | |
JPosition3D & | rotate (const JRotation3Z &R) |
Rotate around Z-axis. More... | |
JPosition3D & | rotate (const JQuaternion3D &Q) |
Rotate. More... | |
JPosition3D & | rotate_back (const JRotation3D &R) |
Rotate back. More... | |
JPosition3D & | rotate_back (const JRotation3X &R) |
Rotate back around X-axis. More... | |
JPosition3D & | rotate_back (const JRotation3Y &R) |
Rotate back around Y-axis. More... | |
JPosition3D & | rotate_back (const JRotation3Z &R) |
Rotate back around Z-axis. More... | |
JPosition3D & | rotate_back (const JQuaternion3D &Q) |
Rotate back. More... | |
void | transform (const JRotation3D &R, const JVector3D &pos) |
Transform position. More... | |
JVector3D & | transform (const JMatrix3D &T) |
Transform. More... | |
void | transform_back (const JRotation3D &R, const JVector3D &pos) |
Transform back position. More... | |
double | getDot (const JAngle3D &angle) const |
Get dot product. More... | |
double | getDot (const JVersor3D &dir) const |
Get dot product. More... | |
double | getDot (const JVersor3Z &dir) const |
Get dot product. More... | |
double | getDot (const JVector3D &vector) const |
Get dot product. More... | |
operator JVector2D () const | |
Type conversion operator. More... | |
double | getX () const |
Get x position. More... | |
double | getY () const |
Get y position. More... | |
double | getZ () const |
Get z position. More... | |
JVector3D & | negate () |
Negate vector. More... | |
JTime & | negate () |
Prefix unary minus. More... | |
JVector3D & | add (const JVector3D &vector) |
Add vector. More... | |
JTime & | add (const JTime &value) |
Addition operator. More... | |
JVector3D & | sub (const JVector3D &vector) |
Subtract vector. More... | |
JTime & | sub (const JTime &value) |
Subtraction operator. More... | |
JVector3D & | mul (const double factor) |
Scale vector. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
JTime & | mul (const double value) |
Multiplication operator. More... | |
JVector3D & | div (const double factor) |
Scale vector. More... | |
JTime & | div (const double value) |
Division operator. More... | |
bool | equals (const JVector3D &vector, const double precision=std::numeric_limits< double >::min()) const |
Check equality. More... | |
double | getLengthSquared () const |
Get length squared. More... | |
double | getLength () const |
Get length. More... | |
double | getDistanceSquared (const JVector3D &pos) const |
Get squared of distance to point. More... | |
double | getDistance (const JVector3D &pos) const |
Get distance to point. More... | |
JVector3D & | getCross (const JVector3D &first, const JVector3D &second) |
Get cross product. More... | |
void | setT (const double time) |
Set time. More... | |
double | getT () const |
Get time. More... | |
const JVersor3Z & | getDirection () const |
Get direction. More... | |
JVersor3Z & | getDirection () |
Get direction. More... | |
void | setDirection (const JVersor3Z &direction) |
Set direction. More... | |
operator JAngle3D () const | |
Get angle. More... | |
operator JVector3D () const | |
Type conversion operator. More... | |
operator JVersor3D () const | |
Type conversion operator. More... | |
double | getDX () const |
Get x direction. More... | |
double | getDY () const |
Get y direction. More... | |
double | getDZ () const |
Get z direction. More... | |
JVersor3Z & | negate () |
Prefix unary minus. More... | |
JVersor3Z & | add (const JVersor3Z &value) |
Addition operator. More... | |
JVersor3Z & | sub (const JVersor3Z &value) |
Subtraction operator. More... | |
JVersor3Z & | mul (const double value) |
Multiplication operator. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
JVersor3Z & | div (const double value) |
Division operator. More... | |
bool | equals (const JVersor3D &versor, const double precision=std::numeric_limits< double >::min()) const |
Check equality. More... | |
double | getDot (const JVersor3Z &dir) const |
Get dot product. More... | |
double | getDot (const JAngle3D &angle) const |
Get dot product. More... | |
double | getDot (const JVector3D &pos) const |
Get dot product. More... | |
double | getDot (const JVersor3D &dir) const |
Get dot product. More... | |
Protected Attributes | |
double | __E |
double | __Es |
double | __x |
double | __y |
double | __z |
double | __t |
double | __dx |
double | __dy |
Vertex of energy loss of muon.
Definition at line 334 of file JSireneToolkit.hh.
|
inline |
|
inline |
Constructor.
z | position [m] |
t | time [ns] |
E | energy [GeV] |
Definition at line 354 of file JSireneToolkit.hh.
|
inline |
Get visible range of muon using default ionisation energy loss.
This method applies only ionisation energy loss.
Definition at line 368 of file JSireneToolkit.hh.
|
inline |
Get visible range of muon using given ionisation energy loss.
This method applies only ionisation energy loss.
a | ionization parameter [GeV/m] |
Definition at line 381 of file JSireneToolkit.hh.
|
inline |
Get range of muon using given energy loss function.
geane | energy loss function |
Definition at line 398 of file JSireneToolkit.hh.
|
inline |
Apply shower energy loss.
Ts | scattering angles |
Es | shower energy [GeV] |
Definition at line 410 of file JSireneToolkit.hh.
|
inline |
Step using default ionisation energy loss.
This method applies only ionisation energy loss.
ds | step [m] |
Definition at line 426 of file JSireneToolkit.hh.
|
inline |
Step using given ionisation energy loss.
This method applies only given ionisation energy loss.
a | ionization parameter [GeV/m] |
ds | step [m] |
Definition at line 440 of file JSireneToolkit.hh.
Step using given energy loss function.
geane | energy loss function |
ds | step [m] |
Definition at line 459 of file JSireneToolkit.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get position.
Definition at line 130 of file JPosition3D.hh.
|
inlineinherited |
Get position.
Definition at line 141 of file JPosition3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Type conversion operator.
Definition at line 174 of file JPosition3D.hh.
|
inlineinherited |
Rotate.
R | rotation matrix |
Definition at line 186 of file JPosition3D.hh.
|
inlineinherited |
Rotate around X-axis.
R | rotation matrix |
Definition at line 214 of file JPosition3D.hh.
|
inlineinherited |
Rotate around Y-axis.
R | rotation matrix |
Definition at line 242 of file JPosition3D.hh.
|
inlineinherited |
Rotate around Z-axis.
R | rotation matrix |
Definition at line 270 of file JPosition3D.hh.
|
inlineinherited |
Rotate.
Q | quaternion |
Definition at line 298 of file JPosition3D.hh.
|
inlineinherited |
Rotate back.
R | rotation matrix |
Definition at line 200 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around X-axis.
R | rotation matrix |
Definition at line 228 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around Y-axis.
R | rotation matrix |
Definition at line 256 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around Z-axis.
R | rotation matrix |
Definition at line 284 of file JPosition3D.hh.
|
inlineinherited |
Rotate back.
Q | quaternion |
Definition at line 312 of file JPosition3D.hh.
|
inlineinherited |
Transform position.
The final position is obtained as follows:
R | rotation matrix |
pos | position of origin (after rotation) |
Definition at line 331 of file JPosition3D.hh.
|
inlineinherited |
Transform back position.
The final position is obtained as follows:
R | rotation matrix |
pos | position of origin (before rotation) |
Definition at line 359 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
angle | angle |
Definition at line 378 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 393 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 408 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
vector | vector |
Definition at line 282 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Addition operator.
value | time |
Definition at line 67 of file JGeometry3D/JTime.hh.
Subtract vector.
vector | vector |
Definition at line 158 of file JVector3D.hh.
Subtraction operator.
value | time |
Definition at line 81 of file JGeometry3D/JTime.hh.
|
inlineinherited |
Scale vector.
factor | multiplication factor |
Definition at line 174 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
Multiplication operator.
value | multiplication factor |
Definition at line 95 of file JGeometry3D/JTime.hh.
|
inlineinherited |
Scale vector.
factor | division factor |
Definition at line 190 of file JVector3D.hh.
|
inlineinherited |
Division operator.
value | multiplication factor |
Definition at line 109 of file JGeometry3D/JTime.hh.
|
inlineinherited |
Check equality.
vector | vector |
precision | precision |
Definition at line 221 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
Get length.
Definition at line 246 of file JVector3D.hh.
|
inlineinherited |
Get squared of distance to point.
pos | position |
Definition at line 258 of file JVector3D.hh.
|
inlineinherited |
Get distance to point.
pos | position |
Definition at line 270 of file JVector3D.hh.
|
inlineinherited |
Get cross product.
Note that this vector should not overlap with the first or second vector,
first | first vector |
second | second vector |
Definition at line 299 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get direction.
Definition at line 81 of file JVersor3Z.hh.
|
inlineinherited |
Get direction.
Definition at line 92 of file JVersor3Z.hh.
|
inlineinherited |
Set direction.
direction | direction |
Definition at line 103 of file JVersor3Z.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Type conversion operator.
Definition at line 136 of file JVersor3Z.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Addition operator.
value | versor |
Definition at line 200 of file JVersor3Z.hh.
Subtraction operator.
value | versor |
Definition at line 215 of file JVersor3Z.hh.
|
inlineinherited |
Multiplication operator.
value | multiplication factor |
Definition at line 230 of file JVersor3Z.hh.
|
inlineinherited |
|
inlineinherited |
Division operator.
value | multiplication factor |
Definition at line 245 of file JVersor3Z.hh.
|
inlineinherited |
Check equality.
versor | versor |
precision | precision |
Definition at line 261 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 275 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
angle | angle |
Definition at line 290 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
pos | position |
Definition at line 305 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 320 of file JVersor3Z.hh.
|
protectedinherited |
Definition at line 239 of file JSireneToolkit.hh.
|
protectedinherited |
Definition at line 240 of file JSireneToolkit.hh.
|
protectedinherited |
Definition at line 310 of file JVector3D.hh.
|
protectedinherited |
Definition at line 311 of file JVector3D.hh.
|
protectedinherited |
Definition at line 312 of file JVector3D.hh.
|
protectedinherited |
Definition at line 202 of file JGeometry3D/JTime.hh.
|
protectedinherited |
Definition at line 383 of file JVersor3Z.hh.
|
protectedinherited |
Definition at line 384 of file JVersor3Z.hh.