IMPL::TrackerHitPlaneImpl Class Reference

Implementation of the planar tracker hit. More...

#include <IMPL/TrackerHitPlaneImpl.h>

Inheritance diagram for IMPL::TrackerHitPlaneImpl:
EVENT::TrackerHitPlane IMPL::AccessChecked EVENT::TrackerHit EVENT::TrackerHit EVENT::LCObject EVENT::LCObject lcrtrel::LCRTRelations lcrtrel::LCRTRelations IOIMPL::TrackerHitPlaneIOImpl

List of all members.

Public Member Functions

virtual ~TrackerHitPlaneImpl ()
 Destructor.
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO.
virtual int getCellID0 () const
 Same name as in CalorimeterHit, even though there are no 'cells' in this case.
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 RTHPBIT_ID1) of the collection.
virtual const double * getPosition () const
 The hit position in [mm].
virtual const float * getU () const
 Direction of first measurement - given as (theta, phi).
virtual const float * getV () const
 Direction of second measurement - given as (theta, phi).
virtual float getdU () const
 Error along u.
virtual float getdV () const
 Error along v.
virtual const EVENT::FloatVecgetCovMatrix () const
 Covariance of the position (x,y,z).
virtual float getdEdx () const
 The dE/dx of the hit in [GeV/mm].
virtual float getEDep () const
 The deposited energy of the hit [GeV].
virtual float getEDepError () const
 The error measured on EDep [GeV].
virtual float getTime () const
 The time of the hit in [ns].
virtual int getType () const
 Type of hit.
virtual int getQuality () const
 The quality bit flag of the hit.
virtual const EVENT::LCObjectVecgetRawHits () const
 The raw data hits.
virtual EVENT::LCObjectVecrawHits ()
 Use to manipulate the raw hits.
void setCellID0 (int id0)
 Sets the first cell id;.
void setCellID1 (int id1)
 Sets the second cell id; Only store if the flag word (bit RTHPBIT_ID1) of the collection is set.
void setType (int type)
void setPosition (const double pos[3])
void setU (const float u[2])
void setU (float theta, float phi)
void setV (const float v[2])
void setV (float theta, float phi)
void setdU (float du)
void setdV (float dv)
void setEDep (float e)
void setEDepError (float e)
void setTime (float t)
void setQuality (int quality)
void setQualityBit (int bit, bool val=true)

Protected Attributes

int _cellID0
int _cellID1
int _type
double _pos [3] = {0,0,0}
float _u [2] = {0,0}
float _v [2] = {0,0}
float _du
float _dv
float _EDep
float _EDepError
float _time
int _quality
EVENT::FloatVec _cov
EVENT::LCObjectVec _rawHits

Detailed Description

Implementation of the planar tracker hit.

Author:
gaede
Version:
Id

Member Function Documentation

virtual int IMPL::TrackerHitPlaneImpl::getCellID1 (  )  const [inline, virtual]

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 RTHPBIT_ID1) of the collection.

Default is to store only cellid0.

Implements EVENT::TrackerHitPlane.

float IMPL::TrackerHitPlaneImpl::getdEdx (  )  const [virtual]

The dE/dx of the hit in [GeV/mm].

Deprecated:
See also:
getEDep()

Implements EVENT::TrackerHit.

References getEDep().

virtual const EVENT::LCObjectVec& IMPL::TrackerHitPlaneImpl::getRawHits (  )  const [inline, virtual]

The raw data hits.

Check getType() to get actual data type.

Implements EVENT::TrackerHit.

virtual float IMPL::TrackerHitPlaneImpl::getTime (  )  const [inline, virtual]

The time of the hit in [ns].

Is this needed ?

Implements EVENT::TrackerHit.

virtual int IMPL::TrackerHitPlaneImpl::getType (  )  const [inline, virtual]

Type of hit.

Mapping of integer types to type names through collection parameters "TrackerHitTypeNames" and "TrackerHitTypeValues".

Implements EVENT::TrackerHit.

virtual const float* IMPL::TrackerHitPlaneImpl::getU (  )  const [inline, virtual]

Direction of first measurement - given as (theta, phi).

Defines spanning vector of measurement plane.

Implements EVENT::TrackerHitPlane.

virtual const float* IMPL::TrackerHitPlaneImpl::getV (  )  const [inline, virtual]

Direction of second measurement - given as (theta, phi).

Defines spanning vector of measurement plane.

Implements EVENT::TrackerHitPlane.

void IMPL::TrackerHitPlaneImpl::setCellID1 ( int  id1  ) 

Sets the second cell id; Only store if the flag word (bit RTHPBIT_ID1) of the collection is set.

Default is to store only cellid0.


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