12 LogTrace(
"") <<
"OMTF->MUON " << std::endl;
15 unsigned int iProcessor = amc-1;
23 std::map<int, int> trackAddr;
24 trackAddr[0]=data.
layers();
29 int bx = data.
bxNum()-3;
30 LogTrace(
"") <<
"OMTF Muon, BX="<<bx<<
", hwPt="<<digi.
hwPt()<<
", link: "<<digi.
link() << std::endl;
35 unsigned int indeks = 0;
36 while (indeks < ite-itb) {
37 if (digi.
link()<(itb+indeks)->link())
break;
40 producedMuonDigis->
insert(bx,indeks,digi);
const_iterator end(int bx) const
void setHwPhi(int bits)
Set compressed relative phi as transmitted by hardware LSB = 2*pi/576 (8 bits)
void insert(int bx, unsigned i, T object)
unsigned int bxNum() const
unsigned int quality() const
void setTrackAddress(const std::map< int, int > &address)
Set the whole track address.
unsigned int layers() const
bool overlap(const reco::Muon &muon1, const reco::Muon &muon2, double pullX=1.0, double pullY=1.0, bool checkAdjacentChambers=false)
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
const int link() const
Get link on which the MicroGMT receives the candidate.
void setHwQual(int bits)
Set compressed quality code as transmitted by hardware (4 bits)
unsigned int weight_lowBits() const
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]
const int hwPt() const
Get compressed pT (returned int * 0.5 = pT (GeV))
void setHwSignValid(int bits)
Set whether charge measurement is valid (0 for high pT muons)
void unpack(unsigned int fed, unsigned int amc, const MuonDataWord64 &raw, l1t::RegionalMuonCandBxCollection *muColl)
const_iterator begin(int bx) const
void setHwSign(int bits)
Set charge sign bit (charge = (-1)^(sign))
std::vector< RegionalMuonCand >::const_iterator const_iterator