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