4#ifndef XAODL0MUONCAND_VERSION_NSWCANDDATA_V1_H
5#define XAODL0MUONCAND_VERSION_NSWCANDDATA_V1_H
96 float segEta(
size_t i)
const;
103 float segPhi(
size_t i)
const;
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Data class describing the L0 muon candidates from NSW-TP to TGC SL.
void setBCID(uint16_t bcid)
Setters.
bool overflow() const
Check if the segment candidate limit has been exceeded.
float segEta(size_t i) const
Retrieve the decoded physical eta coordinate for a specific segment.
friend std::ostream & operator<<(std::ostream &os, const NSWCandData_v1 &obj)
Produce a formatted string representation of the candidates.
void setFiberId(uint8_t fiber)
Set the fiber id.
uint16_t bcid() const
Getters.
uint16_t segEtaIndex(size_t i) const
Element-by-Element Index.
void setNSegments(uint8_t nseg)
Set the total number of segments sent from NSW-TP to Sector Logic.
void clearSegments()
Clear all recorded segment vectors.
uint8_t fiberId() const
Retrieve the fiber id.
void addSegment(uint16_t etaIndex, uint16_t phiIndex, uint8_t deltaThetaIndex, uint8_t quality)
Pack and append a single segment.
uint8_t nSegments() const
Retrieve the number of segments sent from NSW-TP to Sector Logic.
~NSWCandData_v1()=default
uint16_t segPhiIndex(size_t i) const
Retrieve the phi index for a specific segment.
const std::vector< uint32_t > & segmentWords() const
Segments.
float segPhi(size_t i) const
Retrieve the decoded physical phi coordinate for a specific segment.
uint8_t boardId() const
Retrieve the board id.
uint8_t segDeltaThetaIndex(size_t i) const
Retrieve the delta theta index for a specific segment.
void setBoardId(uint8_t board)
Set the board id.
void setOverflow(bool ovf)
Set the segment total capacity overflow state flag.
uint8_t segQuality(size_t i) const
Retrieve the quality flag for a specific segment.
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.