17 unsigned int multiplicity,
20 unsigned int inverseMultiplicity,
21 unsigned int unassigned) {
31 setVertexWord(valid_ap, z0_ap, mult_ap, pt_ap, quality_ap, invmult_ap, unassigned_ap);
36 unsigned int multiplicity,
39 unsigned int inverseMultiplicity,
40 unsigned int unassigned) {
44 z0, VertexBitWidths::kZ0Size, 1.0 / (1 << (VertexBitWidths::kZ0Size - VertexBitWidths::kZ0MagSize)));
47 z0, VertexBitWidths::kSumPtSize, 1.0 / (1 << (VertexBitWidths::kSumPtSize - VertexBitWidths::kSumPtMagSize)));
52 setVertexWord(valid_ap, z0_ap, mult_ap, pt_ap, quality_ap, invmult_ap, unassigned_ap);
74 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kValidSize);
b++) {
77 offset += VertexBitWidths::kValidSize;
78 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kZ0Size);
b++) {
81 offset += VertexBitWidths::kZ0Size;
83 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kNTrackInPVSize);
b++) {
86 offset += VertexBitWidths::kNTrackInPVSize;
87 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kSumPtSize);
b++) {
90 offset += VertexBitWidths::kSumPtSize;
91 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kQualitySize);
b++) {
94 offset += VertexBitWidths::kQualitySize;
95 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kNTrackOutPVSize);
b++) {
98 offset += VertexBitWidths::kNTrackOutPVSize;
99 for (
unsigned int b =
offset;
b < (
offset + VertexBitWidths::kUnassignedSize);
b++) {
ap_uint< VertexBitWidths::kUnassignedSize > vtxunassigned_t
unsigned int unassigned() const
ap_ufixed< VertexBitWidths::kNTrackInPVSize, VertexBitWidths::kNTrackInPVSize, AP_RND_CONV, AP_SAT > vtxmultiplicity_t
unsigned int quality() const
void setVertexWord(vtxvalid_t valid, vtxz0_t z0, vtxmultiplicity_t multiplicity, vtxsumpt_t pt, vtxquality_t quality, vtxinversemult_t inverseMultiplicity, vtxunassigned_t unassigned)
ap_ufixed< VertexBitWidths::kNTrackOutPVSize, VertexBitWidths::kNTrackOutPVSize, AP_RND_CONV, AP_SAT > vtxinversemult_t
ap_fixed< VertexBitWidths::kZ0Size, VertexBitWidths::kZ0MagSize, AP_RND_CONV, AP_SAT > vtxz0_t
ap_ufixed< VertexBitWidths::kSumPtSize, VertexBitWidths::kSumPtMagSize, AP_RND_CONV, AP_SAT > vtxsumpt_t
ap_uint< VertexBitWidths::kQualitySize > vtxquality_t
unsigned int multiplicity() const
double unpackSignedValue(unsigned int bits, unsigned int nBits, double lsb) const
unsigned int inverseMultiplicity() const
ap_uint< VertexBitWidths::kValidSize > vtxvalid_t