CbmRoot
Loading...
Searching...
No Matches
LitScalPixelHit.h
Go to the documentation of this file.
1
/* Copyright (C) 2009-2013 GSI/JINR-LIT, Darmstadt/Dubna
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Andrey Lebedev [committer] */
4
12
#ifndef LITSCALPIXELHIT_H_
13
#define LITSCALPIXELHIT_H_
14
15
#include "
LitTypes.h
"
16
17
#include <sstream>
18
#include <string>
19
using
std::ostream;
20
using
std::string;
21
using
std::stringstream;
22
23
namespace
lit
24
{
25
namespace
parallel
26
{
27
37
class
LitScalPixelHit
{
38
public
:
42
LitScalPixelHit
() :
X
(0.),
Y
(0.),
Dx
(0.),
Dy
(0.),
Dxy
(0.),
stationId
(0),
refId
(0),
Z
(0.) {}
43
47
virtual
~LitScalPixelHit
() {}
48
53
string
ToString
()
const
54
{
55
stringstream ss;
56
ss <<
"LitScalPixelHit: X="
<<
X
<<
" Y="
<<
Y
<<
" Dx="
<<
Dx
<<
" Dy="
<<
Dy
<<
" Dxy="
<<
Dxy
57
<<
" planeId="
<< (int)
stationId
<<
" refId="
<<
refId
<<
" Z="
<<
Z
<<
"\n"
;
58
return
ss.str();
59
}
60
65
friend
ostream&
operator<<
(ostream& strm,
const
LitScalPixelHit
& hit)
66
{
67
strm << hit.
ToString
();
68
return
strm;
69
}
70
71
public
:
72
fscal
X
,
Y
;
// X and Y position measurements [cm]
73
fscal
Dx
,
Dy
;
// X and Y position error [cm]
74
fscal
Dxy
;
// Covariance between X and Y [cm]
75
unsigned
char
stationId
;
// Detector station ID
76
unsigned
short
refId
;
// Reference id to smth
77
fscal
Z
;
// Z position [cm]
78
};
79
80
}
// namespace parallel
81
}
// namespace lit
82
#endif
/* LITSCALPIXELHIT_H_ */
LitTypes.h
Header files for SSE operations.
lit::parallel::LitScalPixelHit
Base class for scalar pixel hits.
Definition
LitScalPixelHit.h:37
lit::parallel::LitScalPixelHit::X
fscal X
Definition
LitScalPixelHit.h:72
lit::parallel::LitScalPixelHit::refId
unsigned short refId
Definition
LitScalPixelHit.h:76
lit::parallel::LitScalPixelHit::Z
fscal Z
Definition
LitScalPixelHit.h:77
lit::parallel::LitScalPixelHit::Y
fscal Y
Definition
LitScalPixelHit.h:72
lit::parallel::LitScalPixelHit::stationId
unsigned char stationId
Definition
LitScalPixelHit.h:75
lit::parallel::LitScalPixelHit::ToString
string ToString() const
Returns string representation of the class.
Definition
LitScalPixelHit.h:53
lit::parallel::LitScalPixelHit::Dy
fscal Dy
Definition
LitScalPixelHit.h:73
lit::parallel::LitScalPixelHit::operator<<
friend ostream & operator<<(ostream &strm, const LitScalPixelHit &hit)
Operator << for convenient output to ostream.
Definition
LitScalPixelHit.h:65
lit::parallel::LitScalPixelHit::~LitScalPixelHit
virtual ~LitScalPixelHit()
Destructor.
Definition
LitScalPixelHit.h:47
lit::parallel::LitScalPixelHit::LitScalPixelHit
LitScalPixelHit()
Constructor.
Definition
LitScalPixelHit.h:42
lit::parallel::LitScalPixelHit::Dx
fscal Dx
Definition
LitScalPixelHit.h:73
lit::parallel::LitScalPixelHit::Dxy
fscal Dxy
Definition
LitScalPixelHit.h:74
cbm::algo::kf::fscal
float fscal
Definition
KfSimdPseudo.h:16
lit
Definition
LitTrackFinderNNVecElectron.h:24
reco
littrack
parallel
LitScalPixelHit.h
Generated on Sun Dec 22 2024 23:04:17 for CbmRoot by
1.12.0