12#ifndef LITTRACKFITTER_H_
13#define LITTRACKFITTER_H_
36 unsigned char nofSteps = (nofVirtualStations - 1) / 2;
37 for (
unsigned char iStep = 0; iStep < nofSteps; iStep++) {
65 unsigned char prevStationId = -1;
67 for (
unsigned short iHit = 0; iHit < nofHits; iHit++) {
76 for (
unsigned char iStation = prevStationId + 1; iStation <= hit->
stationId; iStation++) {
Functions for calculation of the material effects.
Base class for scalar pixel hits.
Track parameters data class.
Header files for SSE operations.
const LitStation< T > & GetStation(unsigned char station) const
Return station by index.
unsigned char GetNofVirtualStations() const
Return number of virtual stations.
const LitVirtualStation< T > & GetVirtualStation(unsigned char virtualStation) const
Return virtual station by index.
bool IsEmpty() const
Check if field was set.
bool IsEmpty() const
Check if material was set.
fscal GetMaterial(fscal x, fscal y) const
Return material thickness in silicon equivalent for (X, Y) position (scalar version).
Base class for scalar pixel hits.
const LitTrackParamScal & GetParamFirst() const
Returns first parameter of the track.
unsigned short GetNofHits() const
Returns number of hits in track.
void SetParamLast(const LitTrackParamScal ¶m)
Sets last track parameter.
const LitScalPixelHit * GetHit(unsigned short index) const
Returns pointer to the hit.
void SetParamFirst(const LitTrackParamScal ¶m)
Sets first track parameter.
Virtual detector station which stores information needed for track propagation.
const LitFieldGrid & GetField() const
const LitMaterialGrid & GetMaterial() const
void LitRK4Extrapolation(LitTrackParam< T > &par, T zOut, const LitFieldGrid &field1, const LitFieldGrid &field2, const LitFieldGrid &field3)
void LitFiltration(LitTrackParam< T > &par, const LitPixelHit< T > &hit, T &chiSq)
Function implements Kalman filter update step for pixel hit.
void LitLineExtrapolation(LitTrackParam< T > &par, T zOut)
Line track extrapolation for the field free regions.
void LitTrackFitter(LitScalTrack &track, const LitDetectorLayoutScal &layout)
Fast scalar track fit.
void LitAddMaterial(LitTrackParam< T > &par, T siliconThickness)