CbmRoot
Loading...
Searching...
No Matches
LitCudaHit.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 LITCUDAHIT_H_
6
#define LITCUDAHIT_H_
7
8
#include <iostream>
9
10
struct
LitCudaStripHit
{
11
public
:
12
float
phiCos
;
13
float
phiSin
;
14
float
U
;
15
float
Du
;
16
unsigned
char
planeId
;
17
unsigned
short
refId
;
18
float
Z
;
19
20
friend
std::ostream&
operator<<
(std::ostream& strm,
const
LitCudaStripHit
& hit)
21
{
22
strm <<
"LitCudaStripHit: "
23
<<
"phiCos="
<< hit.
phiCos
<<
" phiSin="
<< hit.
phiSin
<<
" U="
<< hit.
U
<<
" Du="
<< hit.
Du
24
<<
" planeId="
<< (int) hit.
planeId
<<
" refId="
<< hit.
refId
<<
" Z="
<< hit.
Z
<< std::endl;
25
return
strm;
26
}
27
};
28
29
30
struct
LitCudaPixelHit
{
31
public
:
32
float
X
,
Y
;
33
float
Dx
,
Dy
;
34
float
Dxy
;
35
unsigned
char
planeId
;
36
unsigned
short
refId
;
37
float
Z
;
38
39
friend
std::ostream&
operator<<
(std::ostream& strm,
const
LitCudaPixelHit
& hit)
40
{
41
strm <<
"LitCudaPixelHit: "
42
<<
"X="
<< hit.
X
<<
" Y="
<< hit.
Y
<<
" Dx="
<< hit.
Dx
<<
" Dy="
<< hit.
Dy
<<
" Dxy="
<< hit.
Dxy
43
<<
" planeId="
<< (int) hit.
planeId
<<
" refId="
<< hit.
refId
<<
" Z="
<< hit.
Z
<< std::endl;
44
return
strm;
45
}
46
};
47
48
49
#endif
/* LITCUDAHIT_H_ */
LitCudaPixelHit
Definition
LitCudaHit.h:30
LitCudaPixelHit::refId
unsigned short refId
Definition
LitCudaHit.h:36
LitCudaPixelHit::Y
float Y
Definition
LitCudaHit.h:32
LitCudaPixelHit::operator<<
friend std::ostream & operator<<(std::ostream &strm, const LitCudaPixelHit &hit)
Definition
LitCudaHit.h:39
LitCudaPixelHit::Dy
float Dy
Definition
LitCudaHit.h:33
LitCudaPixelHit::planeId
unsigned char planeId
Definition
LitCudaHit.h:35
LitCudaPixelHit::Z
float Z
Definition
LitCudaHit.h:37
LitCudaPixelHit::Dxy
float Dxy
Definition
LitCudaHit.h:34
LitCudaPixelHit::X
float X
Definition
LitCudaHit.h:32
LitCudaPixelHit::Dx
float Dx
Definition
LitCudaHit.h:33
LitCudaStripHit
Definition
LitCudaHit.h:10
LitCudaStripHit::Z
float Z
Definition
LitCudaHit.h:18
LitCudaStripHit::U
float U
Definition
LitCudaHit.h:14
LitCudaStripHit::operator<<
friend std::ostream & operator<<(std::ostream &strm, const LitCudaStripHit &hit)
Definition
LitCudaHit.h:20
LitCudaStripHit::refId
unsigned short refId
Definition
LitCudaHit.h:17
LitCudaStripHit::phiSin
float phiSin
Definition
LitCudaHit.h:13
LitCudaStripHit::Du
float Du
Definition
LitCudaHit.h:15
LitCudaStripHit::planeId
unsigned char planeId
Definition
LitCudaHit.h:16
LitCudaStripHit::phiCos
float phiCos
Definition
LitCudaHit.h:12
reco
littrack
cuda
LitCudaHit.h
Generated on Sun Dec 22 2024 23:04:17 for CbmRoot by
1.12.0