Implementation of the real data TPCHit. More...
#include <IMPL/TPCHitImpl.h>
Public Member Functions | |
| TPCHitImpl () | |
| Default Constructor - initializes all data to 0's. | |
| 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. More... | |
| virtual int | getRawDataWord (int i) const |
| Return the raw data (32-bit) word at i. More... | |
| 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. | |
Public Member Functions inherited from EVENT::TPCHit | |
| virtual | ~TPCHit () |
| Destructor. | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. | |
| virtual LCObject * | clone () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
Public Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ext_type | ext () |
| Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... | |
| template<class V > | |
| const V::ext_type | ext () const |
| template<class V > | |
| V::rel_type | rel () |
| Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. | |
Public Member Functions inherited from IMPL::AccessChecked | |
| virtual int | simpleUID () const |
Protected Member Functions | |
| virtual void | initRawArray (int size) |
| initialize the raw data array - for faster reading | |
Protected Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ptr & | ptr () const |
| Returns the reference to the pointer to the extension/relation object. | |
Protected Member Functions inherited from IMPL::AccessChecked | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Protected Attributes | |
| int | _cellID |
| float | _time |
| float | _charge |
| int | _quality |
| int | _rawSize |
| int * | _rawArray |
Protected Attributes inherited from IMPL::AccessChecked | |
| bool | _readOnly |
| int | _id |
Additional Inherited Members | |
Public Types inherited from EVENT::TPCHit | |
| typedef TPCHit | lcobject_type |
| Useful typedef for template programming with LCIO. | |
Implementation of the real data TPCHit.
|
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.
|
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.8.6