Jpp
|
Data structure for fit of straight line in positive z-direction with energy. More...
#include <JLine3EZ.hh>
Public Types | |
typedef double JLine3Z::* | parameter_type |
typedef double JEnergy::* | parameter_type |
Public Member Functions | |
JLine3EZ () | |
Default constructor. More... | |
JLine3EZ (const JLine3Z &line, const JEnergy &x) | |
Constructor. More... | |
JLine3EZ & | negate () |
Prefix unary minus. More... | |
JLine3EZ & | add (const JLine3EZ &value) |
Addition operator. More... | |
JLine3EZ & | sub (const JLine3EZ &value) |
Subtraction operator. More... | |
JLine3EZ & | mul (const double value) |
Multiplication operator. More... | |
JLine3EZ & | div (const double value) |
Division operator. More... | |
void | move (const double step, const double velocity) |
Move vertex along this line with given velocity. More... | |
void | setZ (const double z, const double velocity) |
Set z-position. More... | |
JLine3Z & | add (const JLine3Z &value) |
Addition operator. More... | |
JVertex3D & | add (const JVertex3D &value) |
Addition operator. More... | |
JVector3D & | add (const JVector3D &vector) |
Add vector. More... | |
JTime & | add (const JTime &value) |
Addition operator. More... | |
JVersor3Z & | add (const JVersor3Z &value) |
Addition operator. More... | |
JLine3Z & | sub (const JLine3Z &value) |
Subtraction operator. More... | |
JVertex3D & | sub (const JVertex3D &value) |
Subtraction operator. More... | |
JVector3D & | sub (const JVector3D &vector) |
Subtract vector. More... | |
JTime & | sub (const JTime &value) |
Subtraction operator. More... | |
JVersor3Z & | sub (const JVersor3Z &value) |
Subtraction operator. More... | |
JVector3D & | mul (const JNullType &object) |
Multiply with object. More... | |
JVertex3D & | mul (const JNullType &object) |
Multiply with object. More... | |
JVersor3Z & | mul (const JNullType &object) |
Multiply with object. More... | |
JLine3Z & | mul (const JNullType &object) |
Multiply with object. More... | |
operator JTrack3D () const | |
Type conversion. More... | |
double | getDistanceSquared (const JVector3D &pos) const |
Get distance squared. More... | |
double | getDistance (const JVector3D &pos) const |
Get distance. More... | |
double | getT (const JVector3D &pos) const |
Get arrival time of Cherenkov light at given position. More... | |
double | getT () const |
Get time. More... | |
JVersor3D | getDirection (const JVector3D &pos) const |
Get photon direction of Cherenkov light on PMT. More... | |
const JVersor3Z & | getDirection () const |
Get direction. More... | |
JVersor3Z & | getDirection () |
Get direction. More... | |
double | getDot (const JAxis3D &axis) const |
Get cosine angle of impact of Cherenkov light on PMT. 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... | |
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... | |
double | getZ (const JPosition3D &pos) const |
Get point of emission of Cherenkov light along muon path. More... | |
double | getZ () const |
Get z position. 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 JAngle3D () const | |
Get angle. More... | |
operator JVersor3D () 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... | |
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... | |
operator JVector2D () const | |
Type conversion operator. More... | |
double | getX () const |
Get x position. More... | |
double | getY () const |
Get y position. More... | |
bool | equals (const JVector3D &vector) const |
Check equality. More... | |
bool | equals (const JVersor3Z &versor) const |
Check equality. More... | |
double | getLengthSquared () const |
Get length squared. More... | |
double | getLength () const |
Get length. More... | |
JVector3D & | cross (const JVector3D &first, const JVector3D &second) |
Get cross product. More... | |
void | setDirection (const JVersor3Z &direction) |
Set direction. More... | |
operator JVector3D () 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... | |
bool | less (const JEnergy &X) const |
Less than method. More... | |
JEnergy & | add (const JEnergy &value) |
Addition operator. More... | |
JEnergy & | sub (const JEnergy &value) |
Subtraction operator. More... | |
JEnergy & | mul (const JNullType &object) |
Multiply with object. More... | |
double | getX () const |
Get energy. More... | |
double | getE () const |
Get energy. More... | |
void | putE (const double E) |
Put energy. More... | |
double | getDE () const |
Get derivative of energy. More... | |
JLine3EZ & | mul (const JNullType &object) |
Multiply with object. More... | |
Static Public Member Functions | |
static parameter_type | pDX () |
static parameter_type | pDY () |
static parameter_type | pX () |
static parameter_type | pY () |
static parameter_type | pT () |
static JEnergy | min () |
Get minimum possible value. More... | |
static JEnergy | max () |
Get maximum possible value. More... | |
static parameter_type | pE () |
Protected Attributes | |
double | __x |
double | __y |
double | __z |
double | __t |
double | __dx |
double | __dy |
double | __X |
Friends | |
std::istream & | operator>> (std::istream &in, JLine3EZ &object) |
Read object from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JLine3EZ &object) |
Write object to output. More... | |
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 25 of file JLine3EZ.hh.
|
inherited |
Definition at line 317 of file JLine3Z.hh.
|
inherited |
Definition at line 235 of file JEnergy.hh.
|
inline |
|
inline |
Subtraction operator.
value | line |
Definition at line 88 of file JLine3EZ.hh.
|
inline |
Multiplication operator.
value | multiplication factor |
Definition at line 103 of file JLine3EZ.hh.
|
inline |
Division operator.
value | multiplication factor |
Definition at line 118 of file JLine3EZ.hh.
|
inlineinherited |
Move vertex along this line with given velocity.
step | step |
velocity | velocity |
Definition at line 89 of file JLine3Z.hh.
|
inlineinherited |
Set z-position.
z | z-position |
velocity | velocity |
Definition at line 104 of file JLine3Z.hh.
Addition operator.
value | line |
Definition at line 130 of file JLine3Z.hh.
Addition operator.
value | line |
Definition at line 84 of file JVertex3D.hh.
Addition operator.
value | time |
Definition at line 66 of file JGeometry3D/JTime.hh.
Addition operator.
value | versor |
Definition at line 197 of file JVersor3Z.hh.
Subtraction operator.
value | line |
Definition at line 145 of file JLine3Z.hh.
Subtraction operator.
value | line |
Definition at line 99 of file JVertex3D.hh.
Subtract vector.
vector | vector |
Definition at line 156 of file JVector3D.hh.
Subtraction operator.
value | time |
Definition at line 80 of file JGeometry3D/JTime.hh.
Subtraction operator.
value | versor |
Definition at line 212 of file JVersor3Z.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
Type conversion.
Definition at line 189 of file JLine3Z.hh.
|
inlineinherited |
Get distance squared.
pos | position |
Definition at line 203 of file JLine3Z.hh.
|
inlineinherited |
Get distance.
pos | position |
Definition at line 221 of file JLine3Z.hh.
|
inlineinherited |
Get arrival time of Cherenkov light at given position.
pos | position [m] |
Definition at line 233 of file JLine3Z.hh.
|
inlineinherited |
Get photon direction of Cherenkov light on PMT.
pos | PMT position |
Definition at line 254 of file JLine3Z.hh.
|
inlineinherited |
Get direction.
Definition at line 78 of file JVersor3Z.hh.
|
inlineinherited |
Get direction.
Definition at line 89 of file JVersor3Z.hh.
|
inlineinherited |
Get cosine angle of impact of Cherenkov light on PMT.
axis | PMT axis |
Definition at line 278 of file JLine3Z.hh.
|
inlineinherited |
Get dot product.
angle | angle |
Definition at line 368 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 383 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 398 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
vector | vector |
Definition at line 278 of file JVector3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 270 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
angle | angle |
Definition at line 285 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
pos | position |
Definition at line 300 of file JVersor3Z.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 315 of file JVersor3Z.hh.
|
inlinestaticinherited |
Definition at line 319 of file JLine3Z.hh.
|
inlinestaticinherited |
Definition at line 320 of file JLine3Z.hh.
|
inlineinherited |
Get point of emission of Cherenkov light along muon path.
pos | position |
Definition at line 134 of file JLine1Z.hh.
|
inlineinherited |
|
inlinestaticinherited |
Definition at line 180 of file JLine1Z.hh.
|
inlinestaticinherited |
Definition at line 181 of file JLine1Z.hh.
|
inlinestaticinherited |
Definition at line 182 of file JLine1Z.hh.
|
inlineinherited |
Get position.
Definition at line 129 of file JPosition3D.hh.
|
inlineinherited |
Get position.
Definition at line 140 of file JPosition3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Type conversion operator.
Definition at line 173 of file JPosition3D.hh.
|
inlineinherited |
Type conversion operator.
Definition at line 133 of file JVersor3Z.hh.
|
inlineinherited |
Rotate.
R | rotation matrix |
Definition at line 185 of file JPosition3D.hh.
|
inlineinherited |
Rotate around X-axis.
R | rotation matrix |
Definition at line 213 of file JPosition3D.hh.
|
inlineinherited |
Rotate around Y-axis.
R | rotation matrix |
Definition at line 241 of file JPosition3D.hh.
|
inlineinherited |
Rotate around Z-axis.
R | rotation matrix |
Definition at line 269 of file JPosition3D.hh.
|
inlineinherited |
Rotate.
Q | quaternion |
Definition at line 297 of file JPosition3D.hh.
|
inlineinherited |
Rotate back.
R | rotation matrix |
Definition at line 199 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around X-axis.
R | rotation matrix |
Definition at line 227 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around Y-axis.
R | rotation matrix |
Definition at line 255 of file JPosition3D.hh.
|
inlineinherited |
Rotate back around Z-axis.
R | rotation matrix |
Definition at line 283 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 321 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 349 of file JPosition3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Check equality.
vector | vector |
Definition at line 218 of file JVector3D.hh.
|
inlineinherited |
Check equality.
versor | versor |
Definition at line 257 of file JVersor3Z.hh.
|
inlineinherited |
|
inlineinherited |
Get length.
Definition at line 242 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 295 of file JVector3D.hh.
|
inlineinherited |
Set direction.
direction | direction |
Definition at line 100 of file JVersor3Z.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
X | Energy [log(E/GeV)] |
Definition at line 53 of file JEnergy.hh.
Subtraction operator.
value | Energy |
Definition at line 92 of file JEnergy.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
Get minimum possible value.
Definition at line 188 of file JEnergy.hh.
|
inlinestaticinherited |
Get maximum possible value.
Definition at line 199 of file JEnergy.hh.
|
inlinestaticinherited |
Definition at line 237 of file JEnergy.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
friend |
Read object from input.
in | input stream |
object | object |
Definition at line 134 of file JLine3EZ.hh.
|
friend |
Write object to output.
out | output stream |
object | object |
Definition at line 150 of file JLine3EZ.hh.
|
protectedinherited |
Definition at line 306 of file JVector3D.hh.
|
protectedinherited |
Definition at line 307 of file JVector3D.hh.
|
protectedinherited |
Definition at line 308 of file JVector3D.hh.
|
protectedinherited |
Definition at line 188 of file JGeometry3D/JTime.hh.
|
protectedinherited |
Definition at line 376 of file JVersor3Z.hh.
|
protectedinherited |
Definition at line 377 of file JVersor3Z.hh.
|
protectedinherited |
Definition at line 240 of file JEnergy.hh.