|
LCIO
02.17
|
Default implementation of TrackerPulse. More...
#include <TrackerPulseImpl.h>
Inheritance diagram for IMPL::TrackerPulseImpl:Public Member Functions | |
| TrackerPulseImpl () | |
| Default Constructor - initializes all data to 0's. More... | |
| TrackerPulseImpl (const TrackerPulseImpl &)=default | |
| default copy constructor - use with care More... | |
| TrackerPulseImpl & | operator= (const TrackerPulseImpl &)=default |
| default assignment operator - use with care More... | |
| virtual | ~TrackerPulseImpl () |
| Destructor. More... | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
| virtual int | getCellID0 () const |
| Returns the first detector specific (geometrical) cell id. More... | |
| virtual int | getCellID1 () const |
| Returns the second detector specific (geometrical) cell id. More... | |
| virtual float | getTime () const |
| The time of the pulse. More... | |
| virtual float | getCharge () const |
| The integrated charge of the pulse // FIXME: unit ?. More... | |
| virtual const EVENT::FloatVec & | getCovMatrix () 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. More... | |
| 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. 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. More... | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. More... | |
| virtual LCObject * | clone () 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,... More... | |
| template<class V > | |
| const V::ext_type | ext () const |
| 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,... More... | |
| 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. More... | |
Public Member Functions inherited from IMPL::AccessChecked | |
| AccessChecked () | |
| virtual | ~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 {false} |
| int | _id {-1} |
Additional Inherited Members | |
Public Types inherited from EVENT::TrackerPulse | |
| typedef TrackerPulse | lcobject_type |
| Useful typedef for template programming with LCIO. More... | |
Public Types inherited from lcrtrel::LCRTRelations | |
| typedef std::type_index | ext_index |
| typedef std::shared_ptr< void > | ext_type |
| typedef std::map< ext_index, ext_type > | ext_map |
Protected Member Functions inherited from IMPL::AccessChecked | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () |
| void | checkAccess (const char *what) |
Static Protected Attributes inherited from IMPL::AccessChecked | |
| static std::atomic_int | _lCObjectId |
Default implementation of TrackerPulse.
Definition at line 17 of file TrackerPulseImpl.h.
| IMPL::TrackerPulseImpl::TrackerPulseImpl | ( | ) |
Default Constructor - initializes all data to 0's.
Definition at line 11 of file TrackerPulseImpl.cc.
|
default |
default copy constructor - use with care
|
virtual |
Destructor.
Definition at line 22 of file TrackerPulseImpl.cc.
|
inlinevirtual |
Returns the first detector specific (geometrical) cell id.
Implements EVENT::TrackerPulse.
Definition at line 39 of file TrackerPulseImpl.h.
References _cellID0.
|
inlinevirtual |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::TRAWBIT_ID1)==1.
Implements EVENT::TrackerPulse.
Definition at line 44 of file TrackerPulseImpl.h.
References _cellID1.
|
inlinevirtual |
The integrated charge of the pulse // FIXME: unit ?.
Implements EVENT::TrackerPulse.
Definition at line 55 of file TrackerPulseImpl.h.
References _charge.
|
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.
Definition at line 64 of file TrackerPulseImpl.h.
References _cov.
|
inlinevirtual |
The quality bit flag of the pulse - use the defined constants for referring to the bits.
Implements EVENT::TrackerPulse.
Definition at line 69 of file TrackerPulseImpl.h.
References _quality.
|
inlinevirtual |
The time of the pulse.
Implements EVENT::TrackerPulse.
Definition at line 48 of file TrackerPulseImpl.h.
References _time.
|
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.
Definition at line 75 of file TrackerPulseImpl.h.
References _corrData.
|
inlinevirtual |
Returns an object id for internal (debugging) use in LCIO.
Implements EVENT::LCObject.
Definition at line 34 of file TrackerPulseImpl.h.
References IMPL::AccessChecked::simpleUID().
|
default |
default assignment operator - use with care
| void IMPL::TrackerPulseImpl::setCellID0 | ( | int | cellID0 | ) |
Definition at line 25 of file TrackerPulseImpl.cc.
References _cellID0, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setCellID1 | ( | int | cellID1 | ) |
Definition at line 30 of file TrackerPulseImpl.cc.
References _cellID1, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setCharge | ( | float | charge | ) |
Definition at line 45 of file TrackerPulseImpl.cc.
References _charge, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setCovMatrix | ( | const float * | cov | ) |
Definition at line 63 of file TrackerPulseImpl.cc.
References _cov, IMPL::AccessChecked::checkAccess(), and TRKPULSENCOVMATRIX.
| void IMPL::TrackerPulseImpl::setCovMatrix | ( | const EVENT::FloatVec & | cov | ) |
Definition at line 56 of file TrackerPulseImpl.cc.
References _cov, IMPL::AccessChecked::checkAccess(), and TRKPULSENCOVMATRIX.
| void IMPL::TrackerPulseImpl::setQuality | ( | int | quality | ) |
Definition at line 70 of file TrackerPulseImpl.cc.
References _quality, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setQualityBit | ( | int | bit, |
| bool | val = true |
||
| ) |
Definition at line 75 of file TrackerPulseImpl.cc.
References _quality, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setTime | ( | float | time | ) |
Definition at line 35 of file TrackerPulseImpl.cc.
References _time, and IMPL::AccessChecked::checkAccess().
| void IMPL::TrackerPulseImpl::setTrackerData | ( | EVENT::TrackerData * | corrData | ) |
Definition at line 84 of file TrackerPulseImpl.cc.
References _corrData, and IMPL::AccessChecked::checkAccess().
|
protected |
Definition at line 94 of file TrackerPulseImpl.h.
Referenced by getCellID0(), and setCellID0().
|
protected |
Definition at line 95 of file TrackerPulseImpl.h.
Referenced by getCellID1(), and setCellID1().
|
protected |
Definition at line 97 of file TrackerPulseImpl.h.
Referenced by getCharge(), and setCharge().
|
protected |
Definition at line 100 of file TrackerPulseImpl.h.
Referenced by getTrackerData(), and setTrackerData().
|
protected |
Definition at line 99 of file TrackerPulseImpl.h.
Referenced by getCovMatrix(), and setCovMatrix().
|
protected |
Definition at line 98 of file TrackerPulseImpl.h.
Referenced by getQuality(), setQuality(), and setQualityBit().
|
protected |
Definition at line 96 of file TrackerPulseImpl.h.
1.8.5