13#ifndef LITCUDACONVERTER_H_
14#define LITCUDACONVERTER_H_
29 lhit->
X = hit->
GetX();
30 lhit->
Y = hit->
GetY();
34 lhit->
planeId = hit->GetPlaneId();
36 lhit->
Z = hit->
GetZ();
45 lpar->
X = par->
GetX();
46 lpar->
Y = par->
GetY();
50 lpar->
Z = par->
GetZ();
118 for (
int i = 0; i < ltrack->
nofHits; i++) {
151 for (
int i = 0; i < track->
GetNofHits(); i++) {
154 newHit->
X = hit->
GetX();
155 newHit->
Y = hit->
GetY();
Base data class for pixel hits.
Data class for track parameters.
Base data class for track.
void CbmLitPixelHitToLitCudaPixelHit(const CbmLitPixelHit *hit, LitCudaPixelHit *lhit)
void LitCudaTrackToCbmLitTrack(LitCudaTrack *ltrack, CbmLitTrack *track)
void LitCudaTrackParamToCbmLitTrackParam(const LitCudaTrackParam *lpar, CbmLitTrackParam *par)
void CbmLitTrackParamToLitCudaTrackParam(const CbmLitTrackParam *par, LitCudaTrackParam *lpar)
void CbmLitTrackToLitCudaTrack(CbmLitTrack *track, LitCudaTrack *ltrack)
void SetRefId(Int_t refId)
void SetHitType(LitHitType hitType)
void SetDetectorId(LitSystemId sysId, Int_t station)
Base data class for pixel hits.
void SetDxy(litfloat dxy)
Data class for track parameters.
void SetCovariance(int index, litfloat cov)
litfloat GetCovariance(int index) const
Base data class for track.
void SetParamLast(const CbmLitTrackParam *par)
void SetParamFirst(const CbmLitTrackParam *par)
const CbmLitHit * GetHit(Int_t index) const
const CbmLitTrackParam * GetParamLast() const
void SetChi2(litfloat chi2)
void SetPreviousTrackId(Int_t id)
void AddHit(const CbmLitHit *hit)
Add hit to track. No additional memory is allocated for hit.
void SetQuality(LitTrackQa quality)
LitCudaPixelHit * hits[LIT_CUDA_MAX_NOF_HITS_IN_TRACK]
LitCudaTrackParam paramFirst
LitCudaTrackParam paramLast
void AddHit(LitCudaPixelHit *hit)
unsigned short previouseTrackId