CbmRoot
Loading...
Searching...
No Matches
LitCudaTrack.h
Go to the documentation of this file.
1/* Copyright (C) 2010-2011 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
5#ifndef LITCUDATRACK_H_
6#define LITCUDATRACK_H_
7
8//#include "LitTypes.h"
9#include "LitCudaHit.h"
10#include "LitCudaTrackParam.h"
11
12#include <iostream>
13
14const unsigned char LIT_CUDA_MAX_NOF_HITS_IN_TRACK = 30;
15
17
19
20 void AddHit(LitCudaPixelHit* hit) { hits[nofHits++] = hit; }
21
24 float chiSq;
25 unsigned short NDF;
27 unsigned short nofHits;
28 unsigned short nofMissingHits;
29 unsigned short previouseTrackId;
30
31 friend std::ostream& operator<<(std::ostream& strm, const LitCudaTrack& track)
32 {
33 strm << "LitCudaTrack: "
34 << "nofHits=" << track.nofHits << " chiSq=" << track.chiSq << " NDF=" << track.NDF
35 << " nofMissingHits=" << track.nofMissingHits << " previouseTrackId=" << track.previouseTrackId
36 << " paramFirst=" << track.paramFirst << " paramLast=" << track.paramLast << std::endl;
37 return strm;
38 }
39};
40
41
42#endif /* LITCUDATRACK_H_ */
const unsigned char LIT_CUDA_MAX_NOF_HITS_IN_TRACK
LitCudaPixelHit * hits[LIT_CUDA_MAX_NOF_HITS_IN_TRACK]
LitCudaTrackParam paramFirst
LitCudaTrackParam paramLast
unsigned short NDF
void AddHit(LitCudaPixelHit *hit)
unsigned short nofMissingHits
friend std::ostream & operator<<(std::ostream &strm, const LitCudaTrack &track)
unsigned short nofHits
unsigned short previouseTrackId