Jpp
|
Clone of JSuperFrame1D. More...
#include <JSuperFrameClone1D.hh>
Public Types | |
typedef JSuperFrame1D < JElement_t >::value_type | value_type |
typedef JLANG::JClass < value_type >::argument_type | argument_type |
typedef JSuperFrame1D < JElement_t >::const_iterator | const_iterator |
typedef JSuperFrame1D < JElement_t >::const_iterator | iterator |
Public Member Functions | |
JSuperFrameClone1D () | |
Default constructor. More... | |
JSuperFrameClone1D (const JSuperFrame1D< JElement_t > &input) | |
Constructor. More... | |
const JModuleHeader & | getModuleHeader () const |
Get module header. More... | |
void | setModuleHeader (const JModuleHeader &header) |
Set module header. More... | |
const JDAQChronometer & | getDAQChronometer () const |
Get DAQ chronometer. More... | |
void | setDAQChronometer (const JDAQChronometer &chronometer) |
Set DAQ chronometer. More... | |
int | getDetectorID () const |
Get detector identifier. More... | |
int | getRunNumber () const |
Get run number. More... | |
int | getFrameIndex () const |
Get frame index. More... | |
JDAQUTCExtended | getTimesliceStart () const |
Get start of timeslice. More... | |
void | setRunNumber (const int run) |
Set run number. More... | |
void | setFrameIndex (const int frame_index) |
Set frame index. More... | |
void | setTimesliceStart (const JDAQUTCExtended ×lice_start) |
Set timeslice start time. More... | |
ClassDef (JDAQChronometer, 3) | |
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) | |
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 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... | |
JPosition3D & | rotate_back (const JQuaternion3D &Q) |
Rotate back. 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... | |
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... | |
operator JVector2D () const | |
Type conversion operator. More... | |
double | getX () const |
Get x position. More... | |
double | getY () const |
Get y position. More... | |
double | getZ () const |
Get z position. More... | |
JVector3D & | negate () |
Negate vector. More... | |
JVector3D & | add (const JVector3D &vector) |
Add vector. More... | |
JVector3D & | sub (const JVector3D &vector) |
Subtract vector. More... | |
JVector3D & | mul (const double factor) |
Scale vector. More... | |
JVector3D & | mul (const JNullType &object) |
Multiply with object. More... | |
JVector3D & | div (const double factor) |
Scale vector. More... | |
bool | equals (const JVector3D &vector, const double precision=std::numeric_limits< double >::min()) const |
Check equality. More... | |
double | getLengthSquared () const |
Get length squared. More... | |
double | getLength () const |
Get length. More... | |
double | getDistanceSquared (const JVector3D &pos) const |
Get squared of distance to point. More... | |
double | getDistance (const JVector3D &pos) const |
Get distance to point. More... | |
JVector3D & | cross (const JVector3D &first, const JVector3D &second) |
Get cross product. More... | |
iterator | begin () const |
Get begin of data. More... | |
iterator | end () const |
Get end of data. More... | |
unsigned int | size () const |
Get size of data. More... | |
bool | empty () const |
Check size of data. More... | |
void | rewind () const |
Rewind internal iterator. More... | |
bool | is_valid () const |
Check internal iterator. More... | |
void | next () const |
Increment internal iterator. More... | |
iterator | get () const |
Get internal iterator. More... | |
double | getT () const |
Get time of internal iterator. More... | |
double | getToT () const |
Get time-over-threshold of internal iterator. More... | |
JHit | getJHit () const |
Construct JHit from internal iterator. More... | |
double | getTimeDifference (argument_type hit) const |
Get time difference with respect to given hits. More... | |
iterator | lower_bound (argument_type hit) const |
Set the internal iterator to the lower bound corresponding to the time of the given hit. More... | |
iterator | fast_forward (argument_type hit) const |
Increment the internal iterator until the lower bound corresponding to the time of the given hit. More... | |
Protected Attributes | |
int | detector_id |
int | run |
int | frame_index |
JDAQUTCExtended | timeslice_start |
int | id |
double | __x |
double | __y |
double | __z |
iterator | __begin |
iterator | __end |
iterator | __i |
Clone of JSuperFrame1D.
Definition at line 22 of file JSuperFrameClone1D.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Default constructor.
Definition at line 30 of file JSuperFrameClone1D.hh.
|
inline |
Constructor.
input | 1-dimensional super frame |
Definition at line 41 of file JSuperFrameClone1D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set DAQ chronometer.
chronometer | DAQ chronometer |
Definition at line 99 of file JDAQChronometer.hh.
|
inlineinherited |
Get detector identifier.
Definition at line 110 of file JDAQChronometer.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get start of timeslice.
Definition at line 144 of file JDAQChronometer.hh.
|
inlineinherited |
|
inlineinherited |
Set frame index.
frame_index | frame index |
Definition at line 166 of file JDAQChronometer.hh.
|
inlineinherited |
Set timeslice start time.
timeslice_start | timeslice start time |
Definition at line 177 of file JDAQChronometer.hh.
|
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.
|
inherited |
|
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 |
Type conversion operator.
Definition at line 173 of file JPosition3D.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 |
Rotate back.
Q | quaternion |
Definition at line 311 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 330 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 358 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
angle | angle |
Definition at line 377 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 392 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
dir | direction |
Definition at line 407 of file JPosition3D.hh.
|
inlineinherited |
Get dot product.
vector | vector |
Definition at line 281 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Subtract vector.
vector | vector |
Definition at line 157 of file JVector3D.hh.
|
inlineinherited |
Scale vector.
factor | multiplication factor |
Definition at line 173 of file JVector3D.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
Scale vector.
factor | division factor |
Definition at line 189 of file JVector3D.hh.
|
inlineinherited |
Check equality.
vector | vector |
precision | precision |
Definition at line 220 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
Get length.
Definition at line 245 of file JVector3D.hh.
|
inlineinherited |
Get squared of distance to point.
pos | position |
Definition at line 257 of file JVector3D.hh.
|
inlineinherited |
Get distance to point.
pos | position |
Definition at line 269 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 298 of file JVector3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get size of data.
Definition at line 105 of file JClone.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get time of internal iterator.
Definition at line 167 of file JClone.hh.
|
inlineinherited |
Get time-over-threshold of internal iterator.
Definition at line 178 of file JClone.hh.
|
inlineinherited |
Construct JHit from internal iterator.
Definition at line 189 of file JClone.hh.
|
inlineinherited |
Get time difference with respect to given hits.
hit | hit |
Definition at line 201 of file JClone.hh.
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
Definition at line 187 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 188 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 189 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 190 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.hh.
|
protectedinherited |
Definition at line 309 of file JVector3D.hh.
|
protectedinherited |
Definition at line 310 of file JVector3D.hh.
|
protectedinherited |
Definition at line 311 of file JVector3D.hh.
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |