27 const HepGeom::Point3D<double> &localEndPosition,
28 const double energyLoss,
29 const double meanTime,
30 const int truthBarcode,
31 const unsigned int id) :
34 m_stX( (
float) localStartPosition.
x() ),
35 m_stY( (
float) localStartPosition.
y() ),
36 m_stZ( (
float) localStartPosition.
z() ),
37 m_enX( (
float) localEndPosition.
x() ),
38 m_enY( (
float) localEndPosition.
y() ),
39 m_enZ( (
float) localEndPosition.
z() ),
40 m_energyLoss(energyLoss),
49 const HepGeom::Point3D<double> &localEndPosition,
50 const double energyLoss,
51 const double meanTime,
52 const int truthBarcode,
54 const int etaM,
const int phiM,
const int side) :
57 m_stX( (
float) localStartPosition.
x() ),
58 m_stY( (
float) localStartPosition.
y() ),
59 m_stZ( (
float) localStartPosition.
z() ),
60 m_enX( (
float) localEndPosition.
x() ),
61 m_enY( (
float) localEndPosition.
y() ),
62 m_enZ( (
float) localEndPosition.
z() ),
63 m_energyLoss(energyLoss),
74 const HepGeom::Point3D<double> &localEndPosition,
75 const double energyLoss,
76 const double meanTime,
78 const unsigned int id) :
81 m_stX( (
float) localStartPosition.
x() ),
82 m_stY( (
float) localStartPosition.
y() ),
83 m_stZ( (
float) localStartPosition.
z() ),
84 m_enX( (
float) localEndPosition.
x() ),
85 m_enY( (
float) localEndPosition.
y() ),
86 m_enZ( (
float) localEndPosition.
z() ),
87 m_energyLoss(energyLoss),
96 const HepGeom::Point3D<double> &localEndPosition,
97 const double energyLoss,
98 const double meanTime,
101 const int etaM,
const int phiM,
const int side) :
104 m_stX( (
float) localStartPosition.
x() ),
105 m_stY( (
float) localStartPosition.
y() ),
106 m_stZ( (
float) localStartPosition.
z() ),
107 m_enX( (
float) localEndPosition.
x() ),
108 m_enY( (
float) localEndPosition.
y() ),
109 m_enZ( (
float) localEndPosition.
z() ),
110 m_energyLoss(energyLoss),
111 m_meanTime(meanTime),
148 return {
static_cast<double>(
m_stX),
149 static_cast<double>(
m_stY),
150 static_cast<double>(
m_stZ) };
155 return {
static_cast<double>(
m_enX),
156 static_cast<double>(
m_enY),
157 static_cast<double>(
m_enZ) };
183 std::cout <<
"*** PLR Hit " << std::endl;
185 std::cout <<
"*** Pixel Hit " << std::endl;
187 }
else if (
isSCT()) {
188 std::cout <<
"*** SCT Hit " << std::endl;
191 std::cout <<
"*** HGTD Hit " << std::endl;
193 std::cout <<
" Barrel/ EndCap Number " <<
getBarrelEndcap() << std::endl;
194 std::cout <<
" Layer/Disk Number " <<
getLayerDisk() << std::endl;
195 std::cout <<
" Eta Number " <<
getEtaModule() << std::endl;
196 std::cout <<
" Phi Number " <<
getPhiModule() << std::endl;
197 std::cout <<
" Side Number " <<
getSide() << std::endl;