IMPL::TrackerPulseImpl Class Reference

Default implementation of TrackerPulse. More...

#include <IMPL/TrackerPulseImpl.h>

Inheritance diagram for IMPL::TrackerPulseImpl:
EVENT::TrackerPulse IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::TrackerPulseIOImpl

List of all members.

Public Member Functions

 TrackerPulseImpl ()
 Default Constructor - initializes all data to 0's.
 TrackerPulseImpl (const TrackerPulseImpl &)
 default copy constructor - use with care
TrackerPulseImploperator= (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::FloatVecgetCovMatrix () 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::TrackerDatagetTrackerData () 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

Detailed Description

Default implementation of TrackerPulse.

Author:
gaede
Version:
Id
TrackerPulseImpl.h,v 1.4 2010-05-12 14:50:00 engels Exp

Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1