1 #ifndef IMPL_TrackerPulseImpl_H
2 #define IMPL_TrackerPulseImpl_H 1
4 #include "EVENT/TrackerPulse.h"
5 #include "AccessChecked.h"
7 #define TRKPULSENCOVMATRIX 3
28 virtual int id()
const {
return simpleUID() ; }
42 virtual float getTime()
const {
return _time ; }
49 virtual float getCharge()
const {
return _charge ; }
73 void setCellID0(
int cellID0 ) ;
74 void setCellID1(
int cellID1 ) ;
75 void setTime(
float time ) ;
77 void setCharge(
float charge ) ;
80 void setCovMatrix(
const float* cov ) ;
82 void setQuality(
int quality ) ;
83 void setQualityBit(
int bit ,
bool val=
true ) ;
virtual ~TrackerPulseImpl()
Destructor.
Definition: TrackerPulseImpl.cc:29
virtual int getCellID0() const
Returns the first detector specific (geometrical) cell id.
Definition: TrackerPulseImpl.h:33
virtual float getTime() const
The time of the pulse.
Definition: TrackerPulseImpl.h:42
TrackerPulseImpl()
Default Constructor - initializes all data to 0's.
Definition: TrackerPulseImpl.cc:11
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance matrix of the charge (c) and time (t) measurements.
Definition: TrackerPulseImpl.h:58
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
TrackerData contains the corrected (calibrated) raw tracker data.
Definition: TrackerData.h:23
Tracker pulses as computed from TrackerData objects or as directly measured by a specific subdetector...
Definition: TrackerPulse.h:26
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
Definition: TrackerPulseImpl.h:28
Default implementation of TrackerPulse.
Definition: TrackerPulseImpl.h:17
virtual EVENT::TrackerData * getTrackerData() const
Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NUL...
Definition: TrackerPulseImpl.h:69
virtual int getCellID1() const
Returns the second detector specific (geometrical) cell id.
Definition: TrackerPulseImpl.h:38
virtual int getQuality() const
The quality bit flag of the pulse - use the defined constants for referring to the bits...
Definition: TrackerPulseImpl.h:63
Controls access to objects.
Definition: AccessChecked.h:17
virtual float getCharge() const
The integrated charge of the pulse // FIXME: unit ?.
Definition: TrackerPulseImpl.h:49