CbmRoot
LitCudaTrack.h
Go to the documentation of this file.
1
#ifndef LITCUDATRACK_H_
2
#define LITCUDATRACK_H_
3
4
//#include "LitTypes.h"
5
#include "
LitCudaHit.h
"
6
#include "
LitCudaTrackParam.h
"
7
8
#include <iostream>
9
10
const
unsigned
char
LIT_CUDA_MAX_NOF_HITS_IN_TRACK
= 30;
11
12
struct
LitCudaTrack
{
13
14
LitCudaTrack
()
15
:
chiSq
(0.),
NDF
(1),
nofHits
(0),
nofMissingHits
(0),
previouseTrackId
(0) {}
16
17
void
AddHit
(
LitCudaPixelHit
* hit) {
hits
[
nofHits
++] = hit; }
18
19
LitCudaTrackParam
paramFirst
;
20
LitCudaTrackParam
paramLast
;
21
float
chiSq
;
22
unsigned
short
NDF
;
23
LitCudaPixelHit
*
hits
[
LIT_CUDA_MAX_NOF_HITS_IN_TRACK
];
24
unsigned
short
nofHits
;
25
unsigned
short
nofMissingHits
;
26
unsigned
short
previouseTrackId
;
27
28
friend
std::ostream&
operator<<
(std::ostream& strm,
29
const
LitCudaTrack
& track) {
30
strm <<
"LitCudaTrack: "
31
<<
"nofHits="
<< track.
nofHits
<<
" chiSq="
<< track.
chiSq
32
<<
" NDF="
<< track.
NDF
<<
" nofMissingHits="
<< track.
nofMissingHits
33
<<
" previouseTrackId="
<< track.
previouseTrackId
34
<<
" paramFirst="
<< track.
paramFirst
35
<<
" paramLast="
<< track.
paramLast
<< std::endl;
36
return
strm;
37
}
38
};
39
40
41
#endif
/* LITCUDATRACK_H_ */
LitCudaTrack::previouseTrackId
unsigned short previouseTrackId
Definition:
LitCudaTrack.h:26
LitCudaPixelHit
Definition:
LitCudaHit.h:28
LitCudaTrack::paramFirst
LitCudaTrackParam paramFirst
Definition:
LitCudaTrack.h:19
LitCudaTrack::chiSq
float chiSq
Definition:
LitCudaTrack.h:21
LitCudaTrack::operator<<
friend std::ostream & operator<<(std::ostream &strm, const LitCudaTrack &track)
Definition:
LitCudaTrack.h:28
LitCudaTrack::NDF
unsigned short NDF
Definition:
LitCudaTrack.h:22
LitCudaHit.h
LitCudaTrackParam
Definition:
LitCudaTrackParam.h:6
LitCudaTrack
Definition:
LitCudaTrack.h:12
LitCudaTrack::paramLast
LitCudaTrackParam paramLast
Definition:
LitCudaTrack.h:20
LitCudaTrack::nofHits
unsigned short nofHits
Definition:
LitCudaTrack.h:24
LIT_CUDA_MAX_NOF_HITS_IN_TRACK
const unsigned char LIT_CUDA_MAX_NOF_HITS_IN_TRACK
Definition:
LitCudaTrack.h:10
LitCudaTrack::LitCudaTrack
LitCudaTrack()
Definition:
LitCudaTrack.h:14
LitCudaTrack::nofMissingHits
unsigned short nofMissingHits
Definition:
LitCudaTrack.h:25
LitCudaTrackParam.h
LitCudaTrack::hits
LitCudaPixelHit * hits[LIT_CUDA_MAX_NOF_HITS_IN_TRACK]
Definition:
LitCudaTrack.h:23
LitCudaTrack::AddHit
void AddHit(LitCudaPixelHit *hit)
Definition:
LitCudaTrack.h:17
reco
littrack
cuda
LitCudaTrack.h
Generated on Wed Oct 28 2020 15:11:49 for CbmRoot by
1.8.18