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
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
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_ */
unsigned short refId
Definition LitCudaHit.h:36
friend std::ostream & operator<<(std::ostream &strm, const LitCudaPixelHit &hit)
Definition LitCudaHit.h:39
unsigned char planeId
Definition LitCudaHit.h:35
friend std::ostream & operator<<(std::ostream &strm, const LitCudaStripHit &hit)
Definition LitCudaHit.h:20
unsigned short refId
Definition LitCudaHit.h:17
unsigned char planeId
Definition LitCudaHit.h:16