We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4fce7 commit 1d49900Copy full SHA for 1d49900
PWGLF/TableProducer/Nuspex/ebyeMaker.cxx
@@ -93,6 +93,7 @@ float calculateDCAStraightToPV(float X, float Y, float Z, float Px, float Py, fl
93
{
94
return std::sqrt((std::pow((pvY - Y) * Pz - (pvZ - Z) * Py, 2) + std::pow((pvX - X) * Pz - (pvZ - Z) * Px, 2) + std::pow((pvX - X) * Py - (pvY - Y) * Px, 2)) / (Px * Px + Py * Py + Pz * Pz));
95
}
96
+//
97
void encode16bit(int const& n, uint8_t& low, uint8_t& up)
98
99
if (n >= (1 << 16)) {
0 commit comments