LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
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

Public Member Functions

 TrackerPulseImpl ()
 Default Constructor - initializes all data to 0's.
 
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. More...
 
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. More...
 
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. More...
 
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)
 
- Public Member Functions inherited from EVENT::TrackerPulse
virtual ~TrackerPulse ()
 Destructor.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual LCObjectclone () 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
 
float _charge
 
int _quality
 
EVENT::FloatVec _cov
 
EVENT::TrackerData_corrData
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Additional Inherited Members

- Public Types inherited from EVENT::TrackerPulse
typedef TrackerPulse 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 )
 

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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: