Jpp
17.3.0
the software that should make you happy
|
A JHitL1 with a multiplicity. More...
#include <JCluster.hh>
Public Member Functions | |
JCluster (const JHitL1 &hits) | |
Constructor from a JHitL1. More... | |
unsigned int | getMultiplicity () const |
Returns the multiplicity evaluated at the last call to setMultiplicity. More... | |
void | setMultiplicity () |
Set the multiplicity by looping over the JHitL0s. More... | |
const JHitL1 & | sort () |
Sort L0 hits. More... | |
operator const JPosition3D & () const | |
Type conversion operator. More... | |
const JPosition3D & | getPosition () const |
Get position. More... | |
double | getX () const |
Get x position. More... | |
double | getY () const |
Get y position. More... | |
double | getZ () const |
Get z position. More... | |
double | getT (const unsigned int i) const |
Get time of hit i. More... | |
double | getT () const |
Get time. More... | |
double | getToT () const |
Get overall time over threshold. More... | |
int | getN () const |
Get count. More... | |
double | getW () const |
Get weight. More... | |
JHitL1 & | add (const JVector3D &pos) |
Add position. More... | |
JHitL1 & | sub (const JVector3D &pos) |
Subtract position. More... | |
JHitL1 & | rotate (const JRotation3D &R) |
Rotate hit. More... | |
JHitL1 & | rotate_back (const JRotation3D &R) |
Rotate back hit. More... | |
void | transform (const JRotation3D &R, const JVector3D &pos) |
Transform hit. More... | |
void | transform_back (const JRotation3D &R, const JVector3D &pos) |
Transform back hit. More... | |
const JDAQModuleIdentifier & | getModuleIdentifier () const |
Get Module identifier. More... | |
void | setModuleIdentifier (const JDAQModuleIdentifier &module) |
Set Module identifier. More... | |
int | getModuleID () const |
Get module identifier. More... | |
ClassDefNV (JDAQModuleIdentifier, 1) | |
Static Public Attributes | |
static struct JTRIGGER::JHitL1::compare | compare |
Protected Attributes | |
unsigned int | m |
int | id |
A JHitL1 with a multiplicity.
The multiplicity is defined as the number of uniquely hit PMTs in the cluster and is evaluated at construction.
Definition at line 34 of file JCluster.hh.
|
inline |
Constructor from a JHitL1.
Definition at line 40 of file JCluster.hh.
|
inline |
Returns the multiplicity evaluated at the last call to setMultiplicity.
Note that it is not evaluated on the fly for efficiency reasons. The user has to make sure to call setMultiplicity first if changes were made to the JHitL0s!
Definition at line 50 of file JCluster.hh.
|
inline |
Set the multiplicity by looping over the JHitL0s.
Definition at line 55 of file JCluster.hh.
|
inlineinherited |
|
inlineinherited |
Type conversion operator.
Definition at line 110 of file JHitL1.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Add position.
pos | position |
Definition at line 271 of file JHitL1.hh.
Subtract position.
pos | position |
Definition at line 287 of file JHitL1.hh.
|
inlineinherited |
Rotate hit.
R | rotation matrix |
Definition at line 303 of file JHitL1.hh.
|
inlineinherited |
Rotate back hit.
R | rotation matrix |
Definition at line 319 of file JHitL1.hh.
|
inlineinherited |
Transform hit.
R | rotation matrix |
pos | position of origin (after rotation) |
Definition at line 335 of file JHitL1.hh.
|
inlineinherited |
Transform back hit.
R | rotation matrix |
pos | position of origin (before rotation) |
Definition at line 350 of file JHitL1.hh.
|
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 |
|
protected |
Definition at line 65 of file JCluster.hh.
|
staticinherited |
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.hh.