![]() |
ATLAS Offline Software
|
Data class describing the L0 muon candidates from NSW-TP to TGC SL. More...
#include <NSWCandData_v1.h>
Public Member Functions | |
| NSWCandData_v1 ()=default | |
| ~NSWCandData_v1 ()=default | |
| uint16_t | bcid () const |
| Getters. | |
| uint8_t | nSegments () const |
| Retrieve the number of segments sent from NSW-TP to Sector Logic. | |
| bool | overflow () const |
| Check if the segment candidate limit has been exceeded. | |
| uint8_t | fiberId () const |
| Retrieve the fiber id. | |
| uint8_t | boardId () const |
| Retrieve the board id. | |
| const std::vector< uint32_t > & | segmentWords () const |
| Segments. | |
| uint16_t | segEtaIndex (size_t i) const |
| Element-by-Element Index. | |
| uint16_t | segPhiIndex (size_t i) const |
| Retrieve the phi index for a specific segment. | |
| uint8_t | segDeltaThetaIndex (size_t i) const |
| Retrieve the delta theta index for a specific segment. | |
| uint8_t | segQuality (size_t i) const |
| Retrieve the quality flag for a specific segment. | |
| float | segEta (size_t i) const |
| Retrieve the decoded physical eta coordinate for a specific segment. | |
| float | segPhi (size_t i) const |
| Retrieve the decoded physical phi coordinate for a specific segment. | |
| void | setBCID (uint16_t bcid) |
| Setters. | |
| void | setNSegments (uint8_t nseg) |
| Set the total number of segments sent from NSW-TP to Sector Logic. | |
| void | setOverflow (bool ovf) |
| Set the segment total capacity overflow state flag. | |
| void | setFiberId (uint8_t fiber) |
| Set the fiber id. | |
| void | setBoardId (uint8_t board) |
| Set the board id. | |
| void | addSegment (uint16_t etaIndex, uint16_t phiIndex, uint8_t deltaThetaIndex, uint8_t quality) |
| Pack and append a single segment. | |
| void | clearSegments () |
| Clear all recorded segment vectors. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const NSWCandData_v1 &obj) |
| Produce a formatted string representation of the candidates. | |
Data class describing the L0 muon candidates from NSW-TP to TGC SL.
Definition at line 20 of file NSWCandData_v1.h.
|
default |
|
default |
| void xAOD::NSWCandData_v1::addSegment | ( | uint16_t | etaIndex, |
| uint16_t | phiIndex, | ||
| uint8_t | deltaThetaIndex, | ||
| uint8_t | quality ) |
Pack and append a single segment.
Push a new completed segment into the candidate's segment collections
| etaIndex | Calculated eta index |
| phiIndex | Calculated phi index |
| deltaThetaIndex | Calculated theta index |
| quality | Quality flag value |
Definition at line 72 of file NSWCandData_v1.cxx.
| uint16_t xAOD::NSWCandData_v1::bcid | ( | ) | const |
| uint8_t xAOD::NSWCandData_v1::boardId | ( | ) | const |
Retrieve the board id.
| void xAOD::NSWCandData_v1::clearSegments | ( | ) |
Clear all recorded segment vectors.
Definition at line 86 of file NSWCandData_v1.cxx.
| uint8_t xAOD::NSWCandData_v1::fiberId | ( | ) | const |
Retrieve the fiber id.
| uint8_t xAOD::NSWCandData_v1::nSegments | ( | ) | const |
Retrieve the number of segments sent from NSW-TP to Sector Logic.
| bool xAOD::NSWCandData_v1::overflow | ( | ) | const |
Check if the segment candidate limit has been exceeded.
Definition at line 29 of file NSWCandData_v1.cxx.
| uint8_t xAOD::NSWCandData_v1::segDeltaThetaIndex | ( | size_t | i | ) | const |
Retrieve the delta theta index for a specific segment.
| i | Index of the segment within the vector |
Definition at line 54 of file NSWCandData_v1.cxx.
| float xAOD::NSWCandData_v1::segEta | ( | size_t | i | ) | const |
Retrieve the decoded physical eta coordinate for a specific segment.
| i | Index of the segment within the vector |
Definition at line 62 of file NSWCandData_v1.cxx.
| uint16_t xAOD::NSWCandData_v1::segEtaIndex | ( | size_t | i | ) | const |
Element-by-Element Index.
Retrieve the eta index for a specific segment
| i | Index of the segment within the vector |
Definition at line 46 of file NSWCandData_v1.cxx.
Segments.
Get the complete collection of packed 32-bit segment words
Definition at line 40 of file NSWCandData_v1.cxx.
| float xAOD::NSWCandData_v1::segPhi | ( | size_t | i | ) | const |
Retrieve the decoded physical phi coordinate for a specific segment.
| i | Index of the segment within the vector |
Definition at line 67 of file NSWCandData_v1.cxx.
| uint16_t xAOD::NSWCandData_v1::segPhiIndex | ( | size_t | i | ) | const |
Retrieve the phi index for a specific segment.
| i | Index of the segment within the vector |
Definition at line 50 of file NSWCandData_v1.cxx.
| uint8_t xAOD::NSWCandData_v1::segQuality | ( | size_t | i | ) | const |
Retrieve the quality flag for a specific segment.
| i | Index of the segment within the vector |
Definition at line 58 of file NSWCandData_v1.cxx.
| void xAOD::NSWCandData_v1::setBCID | ( | uint16_t | bcid | ) |
| void xAOD::NSWCandData_v1::setFiberId | ( | uint8_t | fiber | ) |
Set the fiber id.
| fiber | Fiber id code |
| void xAOD::NSWCandData_v1::setNSegments | ( | uint8_t | nseg | ) |
| void xAOD::NSWCandData_v1::setOverflow | ( | bool | ovf | ) |
Set the segment total capacity overflow state flag.
| ovf | Overflow flag state |
Definition at line 34 of file NSWCandData_v1.cxx.
|
friend |
Produce a formatted string representation of the candidates.
Definition at line 92 of file NSWCandData_v1.cxx.