Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase 2 GTT Fix ptbits z0bits of GTT ObjectWords #44334

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DataFormats/L1Trigger/interface/TkJetWord.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ namespace l1t {

// These functions return the packed bits in integer format for each quantity
// Signed quantities have the sign enconded in the left-most bit.
unsigned int ptBits() const { return ptWord().to_uint(); }
unsigned int ptBits() const { return ptWord().range().to_uint(); }
unsigned int glbEtaBits() const { return glbEtaWord().to_uint(); }
unsigned int glbPhiBits() const { return glbPhiWord().to_uint(); }
unsigned int z0Bits() const { return z0Word().to_uint(); }
unsigned int z0Bits() const { return z0Word().range().to_uint(); }
unsigned int ntBits() const { return ntWord().to_uint(); }
unsigned int xtBits() const { return xtWord().to_uint(); }
unsigned int dispFlagBits() const { return dispFlagWord().to_uint(); }
Expand Down
4 changes: 2 additions & 2 deletions DataFormats/L1Trigger/interface/VertexWord.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ namespace l1t {
// These functions return the packed bits in integer format for each quantity
// Signed quantities have the sign enconded in the left-most bit.
unsigned int validBits() const { return validWord().to_uint(); }
unsigned int z0Bits() const { return z0Word().to_uint(); }
unsigned int z0Bits() const { return z0Word().range().to_uint(); }
unsigned int multiplicityBits() const { return multiplicityWord().to_uint(); }
unsigned int ptBits() const { return ptWord().to_uint(); }
unsigned int ptBits() const { return ptWord().range().to_uint(); }
unsigned int qualityBits() const { return qualityWord().to_uint(); }
unsigned int inverseMultiplicityBits() const { return inverseMultiplicityWord().to_uint(); }
unsigned int unassignedBits() const { return unassignedWord().to_uint(); }
Expand Down