StRoot
1
|
The class. More...
#include <StSimpleHit.h>
Public Member Functions | |
StSimpleHit_t (Short_t ID=-1) | |
Short_t | getID () const |
Float_t | getEnergy () const |
Float_t | getX () const |
Float_t | getY () const |
Float_t | getZ () const |
TVector3 | getPosition () const |
void | setID (const Short_t ID) |
void | setEnergy (const Float_t E) |
void | setX (const Float_t X) |
void | setY (const Float_t Y) |
void | setZ (const Float_t Z) |
Protected Attributes | |
Short_t | mID |
Float_t | mX |
Float_t | mY |
Float_t | mZ |
Float_t | mE |
Friends | |
std::ostream & | operator<< (std::ostream &out, const StSimpleHit_t &clus) |
The class.
Root stuff for the class. See the header file.
The basic information needed to define a hit:
This is designed as a storage class. Information derived from the above is not included, as that would cost extra storage space (though reduce time cost).
Note: all functions are inlined and default copy constructors, equal operators, and deconstructors are used.
Definition at line 34 of file StSimpleHit.h.