Definition at line 16 of file OmtfMuonUnpacker.h.
Definition at line 9 of file OmtfMuonUnpacker.cc.
References BXVector< T >::begin(), simKBmtfDigis_cfi::bx, data, BXVector< T >::end(), l1t::RegionalMuonCand::hwPt(), BXVector< T >::insert(), l1t::RegionalMuonCand::link(), MainPageGenerator::link, LogTrace, l1t::omtf_neg, l1t::omtf_pos, hltL1SingleMuFiltered5_cfi::overlap, l1t::RegionalMuonCand::setHwEta(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setHwPt(), l1t::RegionalMuonCand::setHwQual(), l1t::RegionalMuonCand::setHwSign(), l1t::RegionalMuonCand::setHwSignValid(), l1t::RegionalMuonCand::setTFIdentifiers(), and l1t::RegionalMuonCand::setTrackAddress().
Referenced by omtf::OmtfUnpacker::produce().
13 LogTrace(
"") <<
"OMTF->MUON " << std::endl;
16 unsigned int iProcessor =
amc - 1;
24 std::map<int, int> trackAddr;
25 trackAddr[0] =
data.layers();
27 trackAddr[2] =
data.weight_lowBits();
31 LogTrace(
"") <<
"OMTF Muon, BX=" <<
bx <<
", hwPt=" << digi.
hwPt() <<
", link: " << digi.
link() << std::endl;
36 unsigned int indeks = 0;
37 while (indeks < ite - itb) {
38 if (digi.
link() < (itb + indeks)->
link())
42 producedMuonDigis->insert(
bx, indeks, digi);
void setHwPhi(int bits)
Set compressed relative phi as transmitted by hardware LSB = 2*pi/576 (8 bits)
const int link() const
Get link on which the MicroGMT receives the candidate.
const int hwPt() const
Get compressed pT (returned int * 0.5 = pT (GeV))
void setTrackAddress(const std::map< int, int > &address)
Set the whole track address.
std::vector< RegionalMuonCand >::const_iterator const_iterator
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
void setHwQual(int bits)
Set compressed quality code as transmitted by hardware (4 bits)
void setHwPt(int bits)
Set compressed pT as transmitted by hardware LSB = 0.5 (9 bits)
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
char data[epos_bytes_allocation]
void setHwSignValid(int bits)
Set whether charge measurement is valid (0 for high pT muons)
void setHwSign(int bits)
Set charge sign bit (charge = (-1)^(sign))