Project
Loading...
Searching...
No Matches
o2::mid::HitFinder Class Reference

Class to find the impact point of a track on the chamber. More...

#include <HitFinder.h>

Public Member Functions

 HitFinder (const GeometryTransformer &geoTrans)
 
 ~HitFinder ()=default
 Default destructor.
 
const GeometryTransformergetGeometryTransformer () const
 Returns the geometry transformer.
 
std::vector< intgetFiredDE (const Track &track, int chamber) const
 
std::vector< ClustergetLocalPositions (const Track &track, int chamber, bool withUncertainties=false) const
 

Detailed Description

Class to find the impact point of a track on the chamber.

Definition at line 30 of file HitFinder.h.

Constructor & Destructor Documentation

◆ HitFinder()

o2::mid::HitFinder::HitFinder ( const GeometryTransformer geoTrans)

Constructor

Parameters
geoTransGeometry transformer

default constructor

Definition at line 28 of file HitFinder.cxx.

◆ ~HitFinder()

o2::mid::HitFinder::~HitFinder ( )
default

Default destructor.

Member Function Documentation

◆ getFiredDE()

std::vector< int > o2::mid::HitFinder::getFiredDE ( const Track track,
int  chamber 
) const

Gets the potentially fired detection elements

Parameters
trackMID track
chamberChamber ID (0-3)
Returns
Vector with the list of the detection element IDs potentially fired

Definition at line 74 of file HitFinder.cxx.

◆ getGeometryTransformer()

const GeometryTransformer & o2::mid::HitFinder::getGeometryTransformer ( ) const
inline

Returns the geometry transformer.

Definition at line 41 of file HitFinder.h.

◆ getLocalPositions()

std::vector< Cluster > o2::mid::HitFinder::getLocalPositions ( const Track track,
int  chamber,
bool  withUncertainties = false 
) const

Gets the list of track-deId intersection in local coordinates, expressed as clusters

Parameters
trackMID track
chamberChamber ID (0-3)
withUncertaintiesAdd also the extrapolated uncertainties to the local point
Returns
Vector of intersection cluster(s) with the detection element(s)

Definition at line 111 of file HitFinder.cxx.


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