Jpp 19.3.0-rc.2
the software that should make you happy
|
Data structure for fit of straight line in positive z-direction with energy. More...
#include <JShower3EZ.hh>
Public Types | |
typedef double JShower3EZ::* | parameter_type |
Public Member Functions | |
JShower3EZ () | |
Default constructor. | |
JShower3EZ (const JShower3Z &line, const double &E=0, const double By=1.0) | |
Constructor. | |
JShower3EZ (const JPoint4D &point, const JVersor3Z &dir, const double E=0, const double By=1.0) | |
Constructor. | |
double | getBy () const |
Get bjorken y. | |
double | getE () const |
Get E. | |
JShower3EZ & | negate () |
Prefix unary minus. | |
JShower3EZ & | add (const JShower3EZ &value) |
Addition operator. | |
JShower3EZ & | sub (const JShower3EZ &value) |
Subtraction operator. | |
JShower3EZ & | mul (const double value) |
Multiplication operator. | |
JShower3EZ & | div (const double value) |
Division operator. | |
JShower3Z & | add (const JShower3Z &value) |
Addition operator. | |
JVersor3Z & | add (const JVersor3Z &value) |
Addition operator. | |
JVertex3D & | add (const JVertex3D &value) |
Addition operator. | |
JTime & | add (const JTime &value) |
Addition operator. | |
JVector3D & | add (const JVector3D &vector) |
Add vector. | |
JShower3Z & | sub (const JShower3Z &value) |
Subtraction operator. | |
JVersor3Z & | sub (const JVersor3Z &value) |
Subtraction operator. | |
JVertex3D & | sub (const JVertex3D &value) |
Subtraction operator. | |
JTime & | sub (const JTime &value) |
Subtraction operator. | |
JVector3D & | sub (const JVector3D &vector) |
Subtract vector. | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. | |
const JVersor3Z & | getDirection () const |
Get direction. | |
JVersor3Z & | getDirection () |
Get direction. | |
JVersor3D | getDirection (const JVector3D &pos) const |
Get photon direction of Cherenkov light on PMT. | |
double | getT (const JVector3D &pos) const |
Get arrival time of Cherenkov light at given position. | |
double | getT () const |
Get time. | |
double | getDot (const JAxis3D &axis) const |
Get cosine angle of impact of Cherenkov light on PMT. | |
double | getDot (const JAngle3D &angle) const |
Get dot product. | |
double | getDot (const JVersor3D &dir) const |
Get dot product. | |
double | getDot (const JVersor3Z &dir) const |
Get dot product. | |
double | getDot (const JVector3D &vector) const |
Get dot product. | |
double | getDot (const JVersor3Z &dir) const |
Get dot product. | |
double | getDot (const JAngle3D &angle) const |
Get dot product. | |
double | getDot (const JVector3D &pos) const |
Get dot product. | |
double | getDot (const JVersor3D &dir) const |
Get dot product. | |
const JPosition3D & | getPosition () const |
Get position. | |
JPosition3D & | getPosition () |
Get position. | |
void | setPosition (const JVector3D &pos) |
Set position. | |
operator JAngle3D () const | |
Type conversion operator. | |
operator JAngle3D () const | |
Get angle. | |
operator JVersor3D () const | |
Type conversion operator. | |
operator JVersor3D () const | |
Type conversion operator. | |
JPosition3D & | rotate (const JRotation3D &R) |
Rotate. | |
JPosition3D & | rotate (const JRotation3X &R) |
Rotate around X-axis. | |
JPosition3D & | rotate (const JRotation3Y &R) |
Rotate around Y-axis. | |
JPosition3D & | rotate (const JRotation3Z &R) |
Rotate around Z-axis. | |
JPosition3D & | rotate (const JQuaternion3D &Q) |
Rotate. | |
JPosition3D & | rotate_back (const JRotation3D &R) |
Rotate back. | |
JPosition3D & | rotate_back (const JRotation3X &R) |
Rotate back around X-axis. | |
JPosition3D & | rotate_back (const JRotation3Y &R) |
Rotate back around Y-axis. | |
JPosition3D & | rotate_back (const JRotation3Z &R) |
Rotate back around Z-axis. | |
JPosition3D & | rotate_back (const JQuaternion3D &Q) |
Rotate back. | |
void | transform (const JRotation3D &R, const JVector3D &pos) |
Transform position. | |
JVector3D & | transform (const JMatrix3D &T) |
Transform. | |
void | transform_back (const JRotation3D &R, const JVector3D &pos) |
Transform back position. | |
operator JVector2D () const | |
Type conversion operator. | |
double | getX () const |
Get x position. | |
double | getY () const |
Get y position. | |
double | getZ () const |
Get z position. | |
bool | equals (const JVector3D &vector, const double precision=std::numeric_limits< double >::min()) const |
Check equality. | |
bool | equals (const JVersor3D &versor, const double precision=std::numeric_limits< double >::min()) const |
Check equality. | |
double | getLengthSquared () const |
Get length squared. | |
double | getLength () const |
Get length. | |
double | getDistanceSquared (const JVector3D &pos) const |
Get squared of distance to point. | |
double | getDistance (const JVector3D &pos) const |
Get distance to point. | |
JVector3D & | getCross (const JVector3D &first, const JVector3D &second) |
Get cross product. | |
void | setT (const double time) |
Set time. | |
void | setDirection (const JVersor3Z &direction) |
Set direction. | |
operator JVector3D () const | |
Type conversion operator. | |
double | getDX () const |
Get x direction. | |
double | getDY () const |
Get y direction. | |
double | getDZ () const |
Get z direction. | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. | |
Static Public Member Functions | |
static parameter_type | pBy () |
static parameter_type | pE () |
static parameter_type | pDX () |
static parameter_type | pDY () |
static parameter_type | pX () |
static parameter_type | pY () |
static parameter_type | pZ () |
static parameter_type | pT () |
Protected Attributes | |
double | __E |
double | __By |
double | __x |
double | __y |
double | __z |
double | __t |
double | __dx |
double | __dy |
Friends | |
std::istream & | operator>> (std::istream &in, JShower3EZ &object) |
Read object from input. | |
std::ostream & | operator<< (std::ostream &out, const JShower3EZ &object) |
Write object to output. | |
Data structure for fit of straight line in positive z-direction with energy.
Note that the position coordinates are defined with respect to the given direction.
Definition at line 27 of file JShower3EZ.hh.
double JShower3EZ::* JFIT::JShower3EZ::parameter_type |
Definition at line 202 of file JShower3EZ.hh.
|
inline |
|
inline |
Constructor.
line | line |
E | E [GeV] |
By | bjorken y |
Definition at line 48 of file JShower3EZ.hh.
|
inline |
Constructor.
point | point |
dir | direction |
E | E [GeV] |
By | bjorken y |
Definition at line 62 of file JShower3EZ.hh.
|
inline |
|
inline |
|
inline |
Prefix unary minus.
Definition at line 95 of file JShower3EZ.hh.
|
inline |
Addition operator.
value | shower |
Definition at line 111 of file JShower3EZ.hh.
|
inline |
Subtraction operator.
value | shower |
Definition at line 127 of file JShower3EZ.hh.
|
inline |
Multiplication operator.
value | multiplication factor |
Definition at line 143 of file JShower3EZ.hh.
|
inline |
Division operator.
value | division factor |
Definition at line 159 of file JShower3EZ.hh.
|
inlinestatic |
Definition at line 204 of file JShower3EZ.hh.
|
inlinestatic |
Definition at line 205 of file JShower3EZ.hh.
Addition operator.
value | shower |
Definition at line 85 of file JShower3Z.hh.
Addition operator.
value | versor |
Definition at line 200 of file JVersor3Z.hh.
Addition operator.
value | line |
Definition at line 87 of file JVertex3D.hh.
|
inlineinherited |
Addition operator.
value | time |
Definition at line 67 of file JGeometry3D/JTime.hh.
Add vector.
vector | vector |
Definition at line 142 of file JVector3D.hh.
Subtraction operator.
value | shower |
Definition at line 99 of file JShower3Z.hh.
Subtraction operator.
value | versor |
Definition at line 215 of file JVersor3Z.hh.
Subtraction operator.
value | line |
Definition at line 102 of file JVertex3D.hh.
|
inlineinherited |
Subtraction operator.
value | time |
Definition at line 81 of file JGeometry3D/JTime.hh.
Subtract vector.
vector | vector |
Definition at line 158 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
Definition at line 171 of file JShower3Z.hh.
|
inlinestaticinherited |
Definition at line 172 of file JShower3Z.hh.
|
inlineinherited |
|
inlineinherited |
Get photon direction of Cherenkov light on PMT.
pos | PMT position |
Definition at line 161 of file JVertex3D.hh.
|
inlinestaticinherited |
Definition at line 58 of file JPoint4D.hh.
|
inlinestaticinherited |
Definition at line 59 of file JPoint4D.hh.
|
inlinestaticinherited |
Definition at line 60 of file JPoint4D.hh.
|
inlinestaticinherited |
Definition at line 61 of file JPoint4D.hh.
|
inlineinherited |
Get arrival time of Cherenkov light at given position.
pos | position [m] |
Definition at line 147 of file JVertex3D.hh.
|
inlineinherited |
|
inlineinherited |
Get cosine angle of impact of Cherenkov light on PMT.
axis | PMT axis |
Definition at line 177 of file JVertex3D.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 |
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.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
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 |
|
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 |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Check equality.
vector | vector |
precision | precision |
Definition at line 221 of file JVector3D.hh.
|
inlineinherited |
Check equality.
versor | versor |
precision | precision |
Definition at line 261 of file JVersor3Z.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 |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Read object from input.
in | input stream |
object | object |
Definition at line 176 of file JShower3EZ.hh.
|
friend |
Write object to output.
out | output stream |
object | object |
Definition at line 193 of file JShower3EZ.hh.
|
protected |
Definition at line 207 of file JShower3EZ.hh.
|
protected |
Definition at line 208 of file JShower3EZ.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.