Default implementation of TrackerPulse. More...
#include <IMPL/TrackerPulseImpl.h>
Public Member Functions | |
TrackerPulseImpl () | |
Default Constructor - initializes all data to 0's. | |
TrackerPulseImpl (const TrackerPulseImpl &) | |
default copy constructor - use with care | |
TrackerPulseImpl & | operator= (const TrackerPulseImpl &) |
default assignment operator - use with care | |
virtual | ~TrackerPulseImpl () |
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 |
The time of the pulse. | |
virtual float | getCharge () const |
The integrated charge of the pulse // FIXME: unit ?. | |
virtual const EVENT::FloatVec & | getCovMatrix () const |
Covariance matrix of the charge (c) and time (t) measurements. | |
virtual int | getQuality () const |
The quality bit flag of the pulse - use the defined constants for referring to the bits. | |
virtual EVENT::TrackerData * | getTrackerData () const |
Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NULL if none. | |
void | setCellID0 (int cellID0) |
void | setCellID1 (int cellID1) |
void | setTime (float time) |
void | setCharge (float charge) |
void | setCovMatrix (const float *cov) |
void | setCovMatrix (const EVENT::FloatVec &) |
void | setQuality (int quality) |
void | setQualityBit (int bit, bool val=true) |
void | setTrackerData (EVENT::TrackerData *corrData) |
Protected Attributes | |
int | _cellID0 |
int | _cellID1 |
float | _time |
float | _charge |
int | _quality |
EVENT::FloatVec | _cov |
EVENT::TrackerData * | _corrData |
Default implementation of TrackerPulse.
virtual int IMPL::TrackerPulseImpl::getCellID1 | ( | ) | const [inline, virtual] |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::TRAWBIT_ID1)==1.
Implements EVENT::TrackerPulse.
virtual const EVENT::FloatVec& IMPL::TrackerPulseImpl::getCovMatrix | ( | ) | const [inline, virtual] |
Covariance matrix of the charge (c) and time (t) measurements.
Stored as lower triangle matrix, i.e. cov(c,c) , cov(t,c) , cov(t,t). Optional, check/set flag(LCIO::TRAWBIT_CM)==1.
Implements EVENT::TrackerPulse.
virtual EVENT::TrackerData* IMPL::TrackerPulseImpl::getTrackerData | ( | ) | const [inline, virtual] |
Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NULL if none.
Check the quality bits for reason why the spectrum has been stored for the pulse.
Implements EVENT::TrackerPulse.