Implementation of the real data TPCHit. More...
#include <IMPL/TPCHitImpl.h>
Public Member Functions | |
| TPCHitImpl () | |
| Default Constructor - initializes all data to 0's. | |
| TPCHitImpl (const TPCHitImpl &) | |
| default copy constructor - use with care | |
| TPCHitImpl & | operator= (const TPCHitImpl &) |
| default assignment operator - use with care | |
| virtual | ~TPCHitImpl () |
| Destructor. | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. | |
| virtual int | getCellID () const |
| Returns the detector specific cell id. | |
| virtual float | getTime () const |
| Returns the time of the hit. | |
| virtual float | getCharge () const |
| Returns the integrated charge of the hit. | |
| virtual int | getQuality () const |
| Returns a quality flag for the hit. | |
| virtual int | getNRawDataWords () const |
| Return the number of raw data (32-bit) words stored for the hit. | |
| virtual int | getRawDataWord (int i) const |
| Return the raw data (32-bit) word at i. | |
| virtual void | setCellID (int cellID) |
| Set the cell id. | |
| virtual void | setTime (float time) |
| Set the time. | |
| virtual void | setCharge (float charge) |
| Set the charge. | |
| virtual void | setQuality (int quality) |
| Set the cell quality word. | |
| virtual void | setRawData (const int *raw, int size) |
| Set the raw data. | |
Protected Member Functions | |
| virtual void | initRawArray (int size) |
| initialize the raw data array - for faster reading | |
Protected Attributes | |
| int | _cellID |
| float | _time |
| float | _charge |
| int | _quality |
| int | _rawSize |
| int * | _rawArray |
Implementation of the real data TPCHit.
| int IMPL::TPCHitImpl::getNRawDataWords | ( | ) | const [virtual] |
Return the number of raw data (32-bit) words stored for the hit.
Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.
Implements EVENT::TPCHit.
| int IMPL::TPCHitImpl::getRawDataWord | ( | int | i | ) | const [virtual] |
Return the raw data (32-bit) word at i.
Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.
Implements EVENT::TPCHit.
1.6.1