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. | |
| 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. | |
Protected Attributes | |
| int | _cellID0 |
| int | _cellID1 |
| float | _time |
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. ;
| virtual int IMPL::TrackerDataImpl::getCellID1 | ( | ) | const [inline, virtual] |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::TRAWBIT_ID1)==1.
Implements EVENT::TrackerData.
1.6.1