| 
    Jpp 19.3.0-rc.1
    
   the software that should make you happy 
   | 
 
Data structure for L0 hit. More...
#include <JHitL0.hh>
  
Classes | |
| struct | compare | 
| Auxiliary data structure for sorting of hits.  More... | |
Public Member Functions | |
| JHitL0 () | |
| Default constructor.   | |
| JHitL0 (const JDAQPMTIdentifier &pmt, const JAxis3D &axis, const JHit &hit) | |
| Constructor.   | |
| int | getN () const | 
| Get count.   | |
| double | getW () const | 
| Get weight.   | |
| const JDAQPMTIdentifier & | getPMTIdentifier () const | 
| Get PMT identifier.   | |
| void | setPMTIdentifier (const JDAQPMTIdentifier &pmt) | 
| Set PMT identifier.   | |
| int | getPMTAddress () const | 
| Get PMT identifier.   | |
| ClassDefNV (JDAQPMTIdentifier, 1) | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const | 
| Get Module identifier.   | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) | 
| Set Module identifier.   | |
| int | getModuleID () const | 
| Get module identifier.   | |
| const JAxis3D & | getAxis () const | 
| Get axis.   | |
| void | setAxis (const JAxis3D &axis) | 
| Set axis.   | |
| JAxis3D & | negate () | 
| Negate axis.   | |
| void | move (const double step) | 
| Move vertex along this axis.   | |
| double | getIntersection (const JVector3D &pos) const | 
| Get longitudinal position along axis of position of closest approach with given position.   | |
| double | getIntersection (const JAxis3D &axis, const double precision=1.0e-8) const | 
| Get longitudinal position along axis of position of closest approach with given axis.   | |
| double | getDistanceSquared (const JVector3D &pos) const | 
| Get distance squared.   | |
| double | getDistance (const JVector3D &pos) const | 
| Get distance.   | |
| JAxis3D & | rotate (const JRotation3D &R) | 
| Rotate axis.   | |
| JAxis3D & | rotate (const JRotation3X &R) | 
| Rotate around X-axis.   | |
| JAxis3D & | rotate (const JRotation3Y &R) | 
| Rotate around Y-axis.   | |
| JAxis3D & | rotate (const JRotation3Z &R) | 
| Rotate around Z-axis.   | |
| JAxis3D & | rotate (const JQuaternion3D &Q) | 
| Rotate axis.   | |
| JAxis3D & | rotate_back (const JRotation3D &R) | 
| Rotate back axis.   | |
| JAxis3D & | rotate_back (const JRotation3X &R) | 
| Rotate back around X-axis.   | |
| JAxis3D & | rotate_back (const JRotation3Y &R) | 
| Rotate back around Y-axis.   | |
| JAxis3D & | rotate_back (const JRotation3Z &R) | 
| Rotate back around Z-axis.   | |
| JPosition3D & | rotate_back (const JQuaternion3D &Q) | 
| Rotate back.   | |
| JDirection3D & | rotate_back (const JQuaternion3D &Q) | 
| Rotate back.   | |
| void | transform (const JAxis3D &axis) | 
| Transform axis to reference frame of given axis.   | |
| void | transform (const JRotation3D &R, const JVector3D &pos) | 
| Transform axis.   | |
| void | transform (const JTransformation3D &T) | 
| Transform axis.   | |
| JVector3D & | transform (const JMatrix3D &T) | 
| Transform.   | |
| JDirection3D & | transform (const JMatrix3D &T) | 
| Transform.   | |
| void | transform_back (const JRotation3D &R, const JVector3D &pos) | 
| Transform back axis.   | |
| void | transform_back (const JTransformation3D &T) | 
| Transform back axis.   | |
| double | getDot (const JAngle3D &angle) const | 
| Get dot product.   | |
| double | getDot (const JVector3D &pos) const | 
| Get dot product.   | |
| double | getDot (const JVersor3Z &dir) const | 
| Get dot product.   | |
| double | getDot (const JVersor3D &dir) const | 
| Get dot product.   | |
| double | getDot (const JVersor3D &versor) 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 | |
| Type conversion operator.   | |
| operator JVersor3D () const | |
| Type conversion operator.   | |
| 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 & | 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.   | |
| 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.   | |
| 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.   | |
| JVector3D & | getCross (const JVector3D &first, const JVector3D &second) | 
| Get cross product.   | |
| JVersor3D & | getCross (const JVersor3D &first, const JVersor3D &second) | 
| Get cross product.   | |
| const JDirection3D & | getDirection () const | 
| Get direction.   | |
| JDirection3D & | getDirection () | 
| Get direction.   | |
| void | setDirection (const JDirection3D &dir) | 
| 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.   | |
| double | getTheta () const | 
| Get theta angle.   | |
| double | getPhi () const | 
| Get phi angle.   | |
| JVersor3D & | normalise () | 
| Normalise versor.   | |
| 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 | compare (const JDAQPMTIdentifier &first, const JDAQPMTIdentifier &second) | 
| Compare PMT identifiers.   | |
| static bool | getSlewing () | 
| Get slewing option.   | |
| static void | setSlewing (const bool slewing) | 
| Set slewing option.   | |
Static Public Attributes | |
| static const struct JTRIGGER::JHitL0::compare | compare | 
Static Protected Member Functions | |
| static bool & | get_slewing () | 
| Get reference to slewing parameter.   | |
Protected Attributes | |
| int | address | 
| int | id | 
| double | __x | 
| double | __y | 
| double | __z | 
| double | __dx | 
| double | __dy | 
| double | __dz | 
| double | t | 
| time of leading edge [ns]   | |
| double | tot | 
| time-over-threshold [ns]   | |
      
  | 
  inline | 
Default constructor.
Definition at line 36 of file JHitL0.hh.
      
  | 
  inline | 
Constructor.
| pmt | PMT identifier | 
| axis | PMT axis | 
| hit | hit | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlineinherited | 
Get PMT identifier.
Definition at line 56 of file JDAQPMTIdentifier.hh.
      
  | 
  inlineinherited | 
Set PMT identifier.
| pmt | PMT identifier | 
Definition at line 67 of file JDAQPMTIdentifier.hh.
      
  | 
  inlineinherited | 
Get PMT identifier.
Definition at line 78 of file JDAQPMTIdentifier.hh.
      
  | 
  inlinestaticinherited | 
Compare PMT identifiers.
The comparison is applied to the module identifer and to the PMT address. If the module identifier or PMT address is -1, the corresponding comparison evaluates to true.
| first | PMT identifier | 
| second | PMT identifier | 
Definition at line 126 of file JDAQPMTIdentifier.hh.
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  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.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set axis.
| axis | axis | 
Definition at line 109 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Negate axis.
Definition at line 120 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Move vertex along this axis.
| step | step | 
Definition at line 134 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Get longitudinal position along axis of position of closest approach with given position.
| pos | position | 
Definition at line 146 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Get longitudinal position along axis of position of closest approach with given axis.
If the axes are paralel, this position corresponds to the vertex of the given axis.
| axis | axis | 
| precision | precision | 
Definition at line 164 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Get distance squared.
| pos | position | 
Definition at line 195 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Get distance.
| pos | osition | 
Definition at line 213 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate axis.
| R | rotation matrix | 
Definition at line 225 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate around X-axis.
| R | rotation matrix | 
Definition at line 255 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate around Y-axis.
| R | rotation matrix | 
Definition at line 285 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate around Z-axis.
| R | rotation matrix | 
Definition at line 315 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate axis.
| Q | quaternion | 
Definition at line 345 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate back axis.
| R | rotation matrix | 
Definition at line 240 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate back around X-axis.
| R | rotation matrix | 
Definition at line 270 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate back around Y-axis.
| R | rotation matrix | 
Definition at line 300 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate back around Z-axis.
| R | rotation matrix | 
Definition at line 330 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Rotate back.
| Q | quaternion | 
Definition at line 312 of file JPosition3D.hh.
      
  | 
  inlineinherited | 
Rotate back.
| Q | quaternion | 
Definition at line 321 of file JDirection3D.hh.
      
  | 
  inlineinherited | 
Transform axis to reference frame of given axis.
| axis | axis | 
Definition at line 359 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Transform axis.
The final position and direction are obtained as follows:
R);pos);| R | rotation matrix | 
| pos | position of origin | 
Definition at line 379 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Transform.
| T | matrix | 
Definition at line 163 of file JDirection3D.hh.
      
  | 
  inlineinherited | 
Transform back axis.
The final position and direction are obtained as follows:
| R | rotation matrix | 
| pos | position of origin (before rotation) | 
Definition at line 415 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Transform back axis.
| T | transformation | 
Definition at line 448 of file JAxis3D.hh.
      
  | 
  inlineinherited | 
Get dot product.
| angle | angle | 
Definition at line 335 of file JDirection3D.hh.
      
  | 
  inlineinherited | 
Get dot product.
| pos | position | 
Definition at line 350 of file JDirection3D.hh.
      
  | 
  inlineinherited | 
Get dot product.
| dir | direction | 
Definition at line 365 of file JDirection3D.hh.
      
  | 
  inlineinherited | 
Get dot product.
| dir | direction | 
Definition at line 393 of file JPosition3D.hh.
      
  | 
  inlineinherited | 
Get dot product.
| versor | versor | 
Definition at line 156 of file JVersor3D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  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 | 
      
  | 
  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 | 
Check equality.
| versor | versor | 
| precision | precision | 
Definition at line 81 of file JVersor3D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Get length.
Definition at line 246 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 | 
Get cross product.
Note that this versor should not overlap with the first or second versor,
| first | first versor | 
| second | second versor | 
Definition at line 173 of file JVersor3D.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Normalise versor.
This operation may set the result to the unit z-vector.
Definition at line 192 of file JVersor3D.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 141 of file JDAQPMTIdentifier.hh.
      
  | 
  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 | 
Definition at line 206 of file JVersor3D.hh.
      
  | 
  protectedinherited | 
Definition at line 207 of file JVersor3D.hh.
      
  | 
  protectedinherited | 
Definition at line 208 of file JVersor3D.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.