Default implementation of TrackerData. More...
#include <IMPL/TrackerDataImpl.h>
Public Member Functions | |
| TrackerDataImpl () | |
| Default Constructor - initializes all data to 0's. | |
| virtual | ~TrackerDataImpl () |
| Destructor. | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. | |
| virtual int | getCellID0 () const |
| Returns the first detector specific (geometrical) cell id. | |
| virtual int | getCellID1 () const |
| Returns the second detector specific (geometrical) cell id. More... | |
| virtual float | getTime () const |
| Returns the time. | |
| virtual const EVENT::FloatVec & | getChargeValues () const |
| The calibrated ADC values. | |
| void | setCellID0 (int cellID0) |
| void | setCellID1 (int cellID1) |
| void | setTime (float time) |
| void | setChargeValues (const EVENT::FloatVec &charge) |
| Set the charge vector by copying the values. | |
| EVENT::FloatVec & | chargeValues () |
| Allows direct access to the charge vector. More... | |
Public Member Functions inherited from EVENT::TrackerData | |
| virtual | ~TrackerData () |
| 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 Attributes | |
| int | _cellID0 |
| int | _cellID1 |
| float | _time |
| EVENT::FloatVec | _charge |
Protected Attributes inherited from IMPL::AccessChecked | |
| bool | _readOnly |
| int | _id |
Additional Inherited Members | |
Public Types inherited from EVENT::TrackerData | |
| typedef TrackerData | lcobject_type |
| Useful typedef for template programming with LCIO. | |
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 ) |
Default implementation of TrackerData.
| FloatVec & IMPL::TrackerDataImpl::chargeValues | ( | ) |
Allows direct access to the charge vector.
Can be used e.g. to set the values: raw->chargeValues().clear() ; raw->chargeValues().resize( n ) ; raw->chargeValues()[i] = 42. ;
|
inlinevirtual |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::TRAWBIT_ID1)==1.
Implements EVENT::TrackerData.
1.8.6