LCIO
02.17
|
Implementation of the tracker hit on a cylindrical surface parallel to z. More...
#include <TrackerHitZCylinderImpl.h>
Public Member Functions | |
TrackerHitZCylinderImpl () | |
virtual | ~TrackerHitZCylinderImpl () |
Destructor. More... | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
virtual int | getCellID0 () const |
Same name as in CalorimeterHit, even though there are no 'cells' in this case. More... | |
virtual int | getCellID1 () const |
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not stored - check the flag word (bit RTHZBIT_ID1) of the collection. More... | |
virtual const double * | getPosition () const |
The hit position in [mm]. More... | |
virtual const float * | getCenter () const |
Radius of cylinder. More... | |
virtual float | getdRPhi () const |
Measurement error along RPhi. More... | |
virtual float | getdZ () const |
Measurement error along z. More... | |
virtual const EVENT::FloatVec & | getCovMatrix () const |
Covariance of the position (x,y,z) More... | |
LCIO_DEPRECATED ("Use getEDep() instead", virtual float getdEdx() const ) | |
The dE/dx of the hit in [GeV/mm]. More... | |
virtual float | getEDep () const |
The deposited energy of the hit [GeV]. More... | |
virtual float | getEDepError () const |
The error measured on EDep [GeV]. More... | |
virtual float | getTime () const |
The time of the hit in [ns]. More... | |
virtual int | getType () const |
Type of hit. More... | |
virtual int | getQuality () const |
The quality bit flag of the hit. More... | |
virtual const EVENT::LCObjectVec & | getRawHits () const |
The raw data hits. More... | |
virtual EVENT::LCObjectVec & | rawHits () |
Use to manipulate the raw hits. More... | |
void | setCellID0 (int id0) |
Sets the first cell id;. More... | |
void | setCellID1 (int id1) |
Sets the second cell id; Only store if the flag word (bit RTHZBIT_ID1) of the collection is set. More... | |
void | setType (int type) |
void | setPosition (const double pos[3]) |
void | setCenter (const float c[2]) |
void | setCenter (float xc, float yc) |
void | setdRPhi (float drphi) |
void | setdZ (float dz) |
void | setEDep (float e) |
void | setEDepError (float e) |
void | setTime (float t) |
void | setQuality (int quality) |
void | setQualityBit (int bit, bool val=true) |
![]() | |
virtual | ~TrackerHitZCylinder () |
Destructor. More... | |
![]() | |
virtual | ~TrackerHit () |
Destructor. More... | |
virtual float | getdEdx () const =0 |
The dE/dx of the hit in [GeV]. More... | |
![]() | |
virtual | ~LCObject () |
Destructor. More... | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
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... | |
![]() | |
AccessChecked () | |
virtual | ~AccessChecked () |
virtual int | simpleUID () const |
Protected Attributes | |
int | _cellID0 |
int | _cellID1 |
int | _type |
double | _pos [3] = {0,0,0} |
float | _center [2] = {0,0} |
float | _drphi |
float | _dz |
float | _EDep |
float | _EDepError |
float | _time |
int | _quality |
EVENT::FloatVec | _cov |
EVENT::LCObjectVec | _rawHits |
![]() | |
bool | _readOnly {false} |
int | _id {-1} |
Additional Inherited Members | |
![]() | |
typedef TrackerHitZCylinder | lcobject_type |
Useful typedef for template programming with LCIO. More... | |
![]() | |
typedef TrackerHit | lcobject_type |
Useful typedef for template programming with LCIO. More... | |
![]() | |
typedef std::type_index | ext_index |
typedef std::shared_ptr< void > | ext_type |
typedef std::map< ext_index, ext_type > | ext_map |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () |
void | checkAccess (const char *what) |
![]() | |
static std::atomic_int | _lCObjectId |
Implementation of the tracker hit on a cylindrical surface parallel to z.
Definition at line 21 of file TrackerHitZCylinderImpl.h.
IMPL::TrackerHitZCylinderImpl::TrackerHitZCylinderImpl | ( | ) |
Definition at line 8 of file TrackerHitZCylinderImpl.cc.
|
virtual |
Destructor.
Definition at line 23 of file TrackerHitZCylinderImpl.cc.
|
inlinevirtual |
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
Implements EVENT::TrackerHitZCylinder.
Definition at line 35 of file TrackerHitZCylinderImpl.h.
References _cellID0.
|
inlinevirtual |
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not stored - check the flag word (bit RTHZBIT_ID1) of the collection.
Default is to store only cellid0.
Implements EVENT::TrackerHitZCylinder.
Definition at line 41 of file TrackerHitZCylinderImpl.h.
References _cellID1.
|
inlinevirtual |
Radius of cylinder.
Center of cylinder in RPhi-plane - given as (x,y).
Implements EVENT::TrackerHitZCylinder.
Definition at line 54 of file TrackerHitZCylinderImpl.h.
References _center.
|
virtual |
Covariance of the position (x,y,z)
Implements EVENT::TrackerHit.
Definition at line 27 of file TrackerHitZCylinderImpl.cc.
References _cov.
|
inlinevirtual |
Measurement error along RPhi.
Implements EVENT::TrackerHitZCylinder.
Definition at line 57 of file TrackerHitZCylinderImpl.h.
References _drphi.
|
inlinevirtual |
Measurement error along z.
Implements EVENT::TrackerHitZCylinder.
Definition at line 60 of file TrackerHitZCylinderImpl.h.
References _dz.
|
inlinevirtual |
The deposited energy of the hit [GeV].
Implements EVENT::TrackerHit.
Definition at line 75 of file TrackerHitZCylinderImpl.h.
References _EDep.
|
inlinevirtual |
The error measured on EDep [GeV].
Implements EVENT::TrackerHit.
Definition at line 79 of file TrackerHitZCylinderImpl.h.
References _EDepError.
|
inlinevirtual |
The hit position in [mm].
Implements EVENT::TrackerHit.
Definition at line 46 of file TrackerHitZCylinderImpl.h.
References _pos.
|
inlinevirtual |
The quality bit flag of the hit.
Implements EVENT::TrackerHit.
Definition at line 94 of file TrackerHitZCylinderImpl.h.
References _quality.
|
inlinevirtual |
The raw data hits.
Check getType() to get actual data type.
Implements EVENT::TrackerHit.
Definition at line 99 of file TrackerHitZCylinderImpl.h.
References _rawHits.
|
inlinevirtual |
The time of the hit in [ns].
Is this needed ?
Implements EVENT::TrackerHit.
Definition at line 83 of file TrackerHitZCylinderImpl.h.
References _time.
|
inlinevirtual |
Type of hit.
Mapping of integer types to type names through collection parameters "TrackerHitTypeNames" and "TrackerHitTypeValues".
Implements EVENT::TrackerHit.
Definition at line 89 of file TrackerHitZCylinderImpl.h.
References _type.
|
inlinevirtual |
Returns an object id for internal (debugging) use in LCIO.
Implements EVENT::LCObject.
Definition at line 31 of file TrackerHitZCylinderImpl.h.
References IMPL::AccessChecked::simpleUID().
|
inlinevirtual |
Use to manipulate the raw hits.
Definition at line 104 of file TrackerHitZCylinderImpl.h.
References _rawHits.
void IMPL::TrackerHitZCylinderImpl::setCellID0 | ( | int | id0 | ) |
Sets the first cell id;.
Definition at line 39 of file TrackerHitZCylinderImpl.cc.
References _cellID0, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setCellID1 | ( | int | id1 | ) |
Sets the second cell id; Only store if the flag word (bit RTHZBIT_ID1) of the collection is set.
Default is to store only cellid0.
Definition at line 44 of file TrackerHitZCylinderImpl.cc.
References _cellID1, and IMPL::AccessChecked::checkAccess().
|
inline |
Definition at line 121 of file TrackerHitZCylinderImpl.h.
References setCenter().
Referenced by setCenter().
void IMPL::TrackerHitZCylinderImpl::setCenter | ( | float | xc, |
float | yc | ||
) |
Definition at line 62 of file TrackerHitZCylinderImpl.cc.
References _center, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setdRPhi | ( | float | drphi | ) |
Definition at line 73 of file TrackerHitZCylinderImpl.cc.
References _drphi, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setdZ | ( | float | dz | ) |
Definition at line 78 of file TrackerHitZCylinderImpl.cc.
References _dz, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setEDep | ( | float | e | ) |
Definition at line 83 of file TrackerHitZCylinderImpl.cc.
References _EDep, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setEDepError | ( | float | e | ) |
Definition at line 88 of file TrackerHitZCylinderImpl.cc.
References _EDepError, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setPosition | ( | const double | pos[3] | ) |
Definition at line 55 of file TrackerHitZCylinderImpl.cc.
References _pos, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setQuality | ( | int | quality | ) |
Definition at line 98 of file TrackerHitZCylinderImpl.cc.
References _quality, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setQualityBit | ( | int | bit, |
bool | val = true |
||
) |
Definition at line 103 of file TrackerHitZCylinderImpl.cc.
References _quality, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setTime | ( | float | t | ) |
Definition at line 93 of file TrackerHitZCylinderImpl.cc.
References _time, and IMPL::AccessChecked::checkAccess().
void IMPL::TrackerHitZCylinderImpl::setType | ( | int | type | ) |
Definition at line 50 of file TrackerHitZCylinderImpl.cc.
References _type, and IMPL::AccessChecked::checkAccess().
|
protected |
Definition at line 137 of file TrackerHitZCylinderImpl.h.
Referenced by getCellID0(), and setCellID0().
|
protected |
Definition at line 138 of file TrackerHitZCylinderImpl.h.
Referenced by getCellID1(), and setCellID1().
|
protected |
Definition at line 142 of file TrackerHitZCylinderImpl.h.
Referenced by getCenter(), and setCenter().
|
mutableprotected |
Definition at line 149 of file TrackerHitZCylinderImpl.h.
Referenced by getCovMatrix().
|
protected |
Definition at line 143 of file TrackerHitZCylinderImpl.h.
Referenced by getdRPhi(), and setdRPhi().
|
protected |
Definition at line 144 of file TrackerHitZCylinderImpl.h.
|
protected |
Definition at line 145 of file TrackerHitZCylinderImpl.h.
|
protected |
Definition at line 146 of file TrackerHitZCylinderImpl.h.
Referenced by getEDepError(), and setEDepError().
|
protected |
Definition at line 141 of file TrackerHitZCylinderImpl.h.
Referenced by getPosition(), and setPosition().
|
protected |
Definition at line 148 of file TrackerHitZCylinderImpl.h.
Referenced by getQuality(), setQuality(), and setQualityBit().
|
protected |
Definition at line 150 of file TrackerHitZCylinderImpl.h.
Referenced by getRawHits(), and rawHits().
|
protected |
Definition at line 147 of file TrackerHitZCylinderImpl.h.
|
protected |
Definition at line 140 of file TrackerHitZCylinderImpl.h.