CbmRoot
LitCudaHit.h
Go to the documentation of this file.
1
#ifndef LITCUDAHIT_H_
2
#define LITCUDAHIT_H_
3
4
#include <iostream>
5
6
struct
LitCudaStripHit
{
7
public
:
8
float
phiCos
;
9
float
phiSin
;
10
float
U
;
11
float
Du
;
12
unsigned
char
planeId
;
13
unsigned
short
refId
;
14
float
Z
;
15
16
friend
std::ostream&
operator<<
(std::ostream& strm,
17
const
LitCudaStripHit
& hit) {
18
strm <<
"LitCudaStripHit: "
19
<<
"phiCos="
<< hit.
phiCos
<<
" phiSin="
<< hit.
phiSin
20
<<
" U="
<< hit.
U
<<
" Du="
<< hit.
Du
21
<<
" planeId="
<< (int) hit.
planeId
<<
" refId="
<< hit.
refId
22
<<
" Z="
<< hit.
Z
<< std::endl;
23
return
strm;
24
}
25
};
26
27
28
struct
LitCudaPixelHit
{
29
public
:
30
float
X
,
Y
;
31
float
Dx
,
Dy
;
32
float
Dxy
;
33
unsigned
char
planeId
;
34
unsigned
short
refId
;
35
float
Z
;
36
37
friend
std::ostream&
operator<<
(std::ostream& strm,
38
const
LitCudaPixelHit
& hit) {
39
strm <<
"LitCudaPixelHit: "
40
<<
"X="
<< hit.
X
<<
" Y="
<< hit.
Y
<<
" Dx="
<< hit.
Dx
41
<<
" Dy="
<< hit.
Dy
<<
" Dxy="
<< hit.
Dxy
42
<<
" planeId="
<< (int) hit.
planeId
<<
" refId="
<< hit.
refId
43
<<
" Z="
<< hit.
Z
<< std::endl;
44
return
strm;
45
}
46
};
47
48
49
#endif
/* LITCUDAHIT_H_ */
LitCudaPixelHit::Z
float Z
Definition:
LitCudaHit.h:35
LitCudaPixelHit
Definition:
LitCudaHit.h:28
LitCudaStripHit::phiSin
float phiSin
Definition:
LitCudaHit.h:9
LitCudaStripHit::phiCos
float phiCos
Definition:
LitCudaHit.h:8
LitCudaPixelHit::operator<<
friend std::ostream & operator<<(std::ostream &strm, const LitCudaPixelHit &hit)
Definition:
LitCudaHit.h:37
LitCudaPixelHit::Y
float Y
Definition:
LitCudaHit.h:30
LitCudaStripHit
Definition:
LitCudaHit.h:6
LitCudaStripHit::U
float U
Definition:
LitCudaHit.h:10
LitCudaPixelHit::Dxy
float Dxy
Definition:
LitCudaHit.h:32
LitCudaStripHit::Du
float Du
Definition:
LitCudaHit.h:11
LitCudaPixelHit::planeId
unsigned char planeId
Definition:
LitCudaHit.h:33
LitCudaPixelHit::Dy
float Dy
Definition:
LitCudaHit.h:31
LitCudaStripHit::refId
unsigned short refId
Definition:
LitCudaHit.h:13
LitCudaPixelHit::refId
unsigned short refId
Definition:
LitCudaHit.h:34
LitCudaStripHit::operator<<
friend std::ostream & operator<<(std::ostream &strm, const LitCudaStripHit &hit)
Definition:
LitCudaHit.h:16
LitCudaPixelHit::X
float X
Definition:
LitCudaHit.h:30
LitCudaStripHit::planeId
unsigned char planeId
Definition:
LitCudaHit.h:12
LitCudaPixelHit::Dx
float Dx
Definition:
LitCudaHit.h:31
LitCudaStripHit::Z
float Z
Definition:
LitCudaHit.h:14
reco
littrack
cuda
LitCudaHit.h
Generated on Wed Oct 28 2020 15:11:49 for CbmRoot by
1.8.18