LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
EVENT::TrackerHit Class Referenceabstract

A generic tracker hit to be used by pattern recognition. More...

#include <TrackerHit.h>

+ Inheritance diagram for EVENT::TrackerHit:

Public Types

typedef TrackerHit 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
 

Public Member Functions

virtual ~TrackerHit ()
 Destructor. More...
 
virtual int getCellID0 () const =0
 Same name as in CalorimeterHit, even though there are no 'cells' in this case. More...
 
virtual int getCellID1 () const =0
 Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::RTHBIT_ID1)==1. More...
 
virtual const double * getPosition () const =0
 The hit position in [mm]. More...
 
virtual const FloatVecgetCovMatrix () const =0
 Covariance of the position (x,y,z), stored as lower triangle matrix. More...
 
virtual float getdEdx () const =0
 The dE/dx of the hit in [GeV]. More...
 
virtual float getTime () const =0
 The time of the hit in [ns]. More...
 
virtual int getType () const =0
 Type of raw data hit, either one of
LCIO::TPCHIT
LCIO::SIMTRACKERHIT
More...
 
virtual int getQuality () const =0
 The quality bit flag of the hit. More...
 
virtual float getEDep () const =0
 The energy deposited on the hit [GeV]. More...
 
virtual float getEDepError () const =0
 The error measured on EDep [GeV]. More...
 
virtual const LCObjectVecgetRawHits () const =0
 The raw data hits. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
virtual int id () const =0
 Returns an object id for internal (debugging) use in LCIO. More...
 
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,... 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...
 

Detailed Description

A generic tracker hit to be used by pattern recognition.

Author
gaede
Version
Id:
TrackerHit.aid,v 1.16 2010-06-17 12:28:59 engels Exp

Definition at line 26 of file TrackerHit.h.

Member Typedef Documentation

Useful typedef for template programming with LCIO.

Definition at line 34 of file TrackerHit.h.

Constructor & Destructor Documentation

virtual EVENT::TrackerHit::~TrackerHit ( )
inlinevirtual

Destructor.

Definition at line 30 of file TrackerHit.h.

Member Function Documentation

virtual int EVENT::TrackerHit::getCellID0 ( ) const
pure virtual

Same name as in CalorimeterHit, even though there are no 'cells' in this case.

Implemented in EVENT::TrackerHitPlane, EVENT::TrackerHitZCylinder, IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitImpl, and IMPL::TrackerHitZCylinderImpl.

Referenced by UTIL::operator<<().

virtual int EVENT::TrackerHit::getCellID1 ( ) const
pure virtual

Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::RTHBIT_ID1)==1.

Implemented in EVENT::TrackerHitPlane, EVENT::TrackerHitZCylinder, IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitImpl, and IMPL::TrackerHitZCylinderImpl.

Referenced by UTIL::operator<<().

virtual const FloatVec& EVENT::TrackerHit::getCovMatrix ( ) const
pure virtual

Covariance of the position (x,y,z), stored as lower triangle matrix.

i.e. cov(x,x) , cov(y,x) , cov(y,y) , cov(z,x) , cov(z,y) , cov(z,z).

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual float EVENT::TrackerHit::getdEdx ( ) const
pure virtual

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

Deprecated:
See Also
getEDep()
virtual float EVENT::TrackerHit::getEDep ( ) const
pure virtual

The energy deposited on the hit [GeV].

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual float EVENT::TrackerHit::getEDepError ( ) const
pure virtual

The error measured on EDep [GeV].

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual const double* EVENT::TrackerHit::getPosition ( ) const
pure virtual

The hit position in [mm].

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual int EVENT::TrackerHit::getQuality ( ) const
pure virtual

The quality bit flag of the hit.

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual const LCObjectVec& EVENT::TrackerHit::getRawHits ( ) const
pure virtual

The raw data hits.

Check getType() to get actual data type.

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual float EVENT::TrackerHit::getTime ( ) const
pure virtual

The time of the hit in [ns].

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().

virtual int EVENT::TrackerHit::getType ( ) const
pure virtual

Type of raw data hit, either one of
LCIO::TPCHIT
LCIO::SIMTRACKERHIT

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

Implemented in IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, and IMPL::TrackerHitImpl.

Referenced by UTIL::operator<<().


The documentation for this class was generated from the following file: