24 {
25 SectorLogicWords
words;
27 encodeField(candidate.
l1Pt(), bits::RUN4_SL2MUCTPI_PT_VAL_SHIFT,
28 bits::RUN4_SL2MUCTPI_PT_VAL_MASK) |
29 encodeField(candidate.
l1CandCharge(), bits::RUN4_SL2MUCTPI_CHARGE_SHIFT,
30 bits::RUN4_SL2MUCTPI_CHARGE_MASK) |
31 encodeField(candidate.
l1Phi(), bits::RUN4_SL2MUCTPI_PHI_SHIFT,
32 bits::RUN4_SL2MUCTPI_PHI_MASK) |
33 encodeField(candidate.
l1Eta(), bits::RUN4_SL2MUCTPI_ETA_SHIFT,
34 bits::RUN4_SL2MUCTPI_ETA_MASK);
35
38 bits::RUN4_SL2MUCTPI_PTTHRESHOLD_SHIFT,
39 bits::RUN4_SL2MUCTPI_PTTHRESHOLD_MASK) |
40 encodeField(candidate.
tcId(), bits::RUN4_SL2MUCTPI_TCID_SHIFT,
41 bits::RUN4_SL2MUCTPI_TCID_MASK) |
42 encodeField(candidate.
coinType(), bits::RUN4_SL2MUCTPI_COINTYPE_SHIFT,
43 bits::RUN4_SL2MUCTPI_COINTYPE_MASK);
45}
uint8_t coinType() const
Retrieve the coincidence type.
uint8_t l1Threshold() const
Retrieve the threshold.
uint8_t l1CandCharge() const
Retrieve the candidate charge.
uint8_t l1Pt() const
Retrieve the encoded candidate pT.
uint16_t l1Eta() const
Retrieve the eta.
uint8_t tcId() const
Retrieve the trigger-candidate identifier.
uint16_t l1Phi() const
Retrieve the phi.