|
Jpp master_rocky-44-g75b7c4f75
the software that should make you happy
|
Reduced data structure for L1 hit. More...
#include <JHitR1.hh>
Classes | |
| struct | compare |
| Auxiliary data structure for sorting of hits. More... | |
Public Member Functions | |
| JHitR1 () | |
| Default constructor. | |
| JHitR1 (const JDAQModuleIdentifier &id, const JPosition3D &pos) | |
| Constructor. | |
| JHitR1 (const JDAQModuleIdentifier &id, const JPosition3D &pos, const JHit &hit, const double weight=1.0) | |
| Constructor. | |
| JHitR1 (const JHitL0 &hit, const double weight=1.0) | |
| Constructor. | |
| JHitR1 (const JHitL1 &hit) | |
| Constructor. | |
| void | set (const JHit &hit, const double weight=1.0) |
| Set hit. | |
| JHitR1 & | add (const JHit &hit, const double weight=1.0) |
| Add hit. | |
| JDAQPMTIdentifier | getPMTIdentifier () const |
| Get PMT identifier. | |
| int | getN () const |
| Get count. | |
| double | getW () const |
| Get weight. | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const |
| Get Module identifier. | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) |
| Set Module identifier. | |
| int | getModuleID () const |
| Get module identifier. | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| const JPosition3D & | getPosition () const |
| Get position. | |
| JPosition3D & | getPosition () |
| Get position. | |
| void | setPosition (const JVector3D &pos) |
| Set position. | |
| operator JAngle3D () 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. | |
| 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. | |
| operator JVector2D () const | |
| Type conversion operator. | |
| double | getX () const |
| Get x position. | |
| double | getY () const |
| Get y position. | |
| double | getZ () const |
| Get z position. | |
| JVector3D & | negate () |
| Negate vector. | |
| JVector3D & | add (const JVector3D &vector) |
| Add vector. | |
| JVector3D & | sub (const JVector3D &vector) |
| Subtract vector. | |
| JVector3D & | mul (const double factor) |
| Scale vector. | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
| JVector3D & | div (const double factor) |
| Scale vector. | |
| bool | equals (const JVector3D &vector, 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. | |
| const JHit & | getHit () const |
| Get hit. | |
| operator double () const | |
| Type conversion. | |
| double | getT () const |
| Get calibrated time of hit. | |
| double | getToT () const |
| Get calibrated time over threshold of hit. | |
| double | getT1 () const |
| Get leading edge of hit. | |
| double | getT2 () const |
| Get trailing edge of hit. | |
| void | join (const JHit &hit) |
| Join hit. | |
Static Public Member Functions | |
| static bool | getSlewing () |
| Get slewing option. | |
| static void | setSlewing (const bool slewing) |
| Set slewing option. | |
Static Public Attributes | |
| static const struct JTRIGGER::JHitR1::compare | compare |
Static Protected Member Functions | |
| static bool & | get_slewing () |
| Get reference to slewing parameter. | |
Protected Attributes | |
| int | __n |
| double | __w |
| int | id |
| double | __x |
| double | __y |
| double | __z |
| double | t |
| time of leading edge [ns] | |
| double | tot |
| time-over-threshold [ns] | |
|
inline |
Default constructor.
Definition at line 40 of file JHitR1.hh.
|
inline |
Constructor.
| id | module identifier |
| pos | position |
|
inline |
|
inline |
Constructor.
| hit | hit |
| weight | weight |
Definition at line 91 of file JHitR1.hh.
|
inline |
Constructor.
| hit | hit |
Definition at line 106 of file JHitR1.hh.
|
inline |
Add hit.
Note that:
weight;| hit | hit |
| weight | weight |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Get Module identifier.
Definition at line 50 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Set Module identifier.
| module | Module identifier |
Definition at line 61 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Get module identifier.
Definition at line 72 of file JDAQModuleIdentifier.hh.
|
inherited |
|
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 |
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 |
Subtract vector.
| vector | vector |
Definition at line 158 of file JVector3D.hh.
|
inlineinherited |
Scale vector.
| factor | multiplication factor |
Definition at line 174 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
Scale vector.
| factor | division factor |
Definition at line 190 of file JVector3D.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 |
|
inlinestaticinherited |
Get slewing option.
Definition at line 110 of file JTrigger/JHit.hh.
|
inlinestaticinherited |
Set slewing option.
| slewing | slewing option |
Definition at line 121 of file JTrigger/JHit.hh.
|
inlineinherited |
|
inlineinherited |
Get calibrated time of hit.
Definition at line 143 of file JTrigger/JHit.hh.
|
inlineinherited |
Get calibrated time over threshold of hit.
Definition at line 157 of file JTrigger/JHit.hh.
|
inlineinherited |
Get leading edge of hit.
Note that no slewing correction is applied.
Definition at line 170 of file JTrigger/JHit.hh.
|
inlineinherited |
Get trailing edge of hit.
Note that no slewing correction is applied.
Definition at line 183 of file JTrigger/JHit.hh.
|
inlineinherited |
Join hit.
Note that:
| hit | hit |
Definition at line 198 of file JTrigger/JHit.hh.
|
inlinestaticprotectedinherited |
Get reference to slewing parameter.
Definition at line 213 of file JTrigger/JHit.hh.
|
static |
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.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 |
time of leading edge [ns]
Definition at line 204 of file JTrigger/JHit.hh.
|
protectedinherited |
time-over-threshold [ns]
Definition at line 205 of file JTrigger/JHit.hh.