Definition at line 47 of file ScGMTRawToDigi.cc.
References cms::cuda::assert(), visDQMUpload::buf, l1ScoutingRun3::ugmt::block::bx, nano_mu_digi_cff::bx, gather_cfg::cout, debug_, TauDecayModes::dec, PVValHelper::dxy, PVValHelper::eta, HLT_2024v13_cff::eta1, HLT_2024v13_cff::eta2, l1ScoutingRun3::ugmt::muon::extra, l1ScoutingRun3::ugmt::muon::f, RecoTauValidation_cfi::header, mps_fire::i, hcalRecHitTable_cff::ieta, hcaltpdigi_cfi::ieta1, hcaltpdigi_cfi::ieta2, hcalRecHitTable_cff::iphi, genparticles_cff::iso, l1ScoutingRun3::ugmt::block::mu, HLT_2024v13_cff::muon, nMuonsOrbit_, l1ScoutingRun3::ugmt::block::orbit, orbitBuffer_, PVValHelper::phi, l1ScoutingRun3::printMuon(), DiDispStaMuonMonitor_cfi::pt, l1tGTMenu_lepSeeds_cff::qual, l1ScoutingRun3::ugmt::muon::s, skipInterm_, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by produce().
62 uint32_t mAcount = (
header & header_masks::mAcount) >> header_shifts::mAcount;
63 uint32_t mBcount = (
header & header_masks::mBcount) >> header_shifts::mBcount;
67 pos += 4 + 4 + (mAcount + mBcount) * 12;
70 uint32_t orbit = bl->
orbit & 0x7FFFFFFF;
74 std::cout <<
"GMT Orbit " << orbit <<
", BX -> " <<
bx <<
", nMuons -> " << mAcount + mBcount << std::endl;
80 for (
unsigned int i = 0;
i < mAcount + mBcount;
i++) {
81 uint32_t interm = (bl->
mu[
i].
extra >> ugmt::shiftsMuon::interm) & ugmt::masksMuon::interm;
84 std::cout <<
" -> Excluding intermediate muon\n";
90 uint32_t ietaextu = (bl->
mu[
i].
f >> ugmt::shiftsMuon::etaext) & ugmt::masksMuon::etaextv;
92 if (((bl->
mu[
i].
f >> ugmt::shiftsMuon::etaext) & ugmt::masksMuon::etaexts) != 0) {
93 ietaext = ietaextu -= 256;
99 int32_t iptuncon = (bl->
mu[
i].
s >> ugmt::shiftsMuon::ptuncon) & ugmt::masksMuon::ptuncon;
107 int32_t iphiext = ((bl->
mu[
i].
f >> ugmt::shiftsMuon::phiext) & ugmt::masksMuon::phiext);
115 if (((bl->
mu[
i].
s >> ugmt::shiftsMuon::chrgv) & ugmt::masksMuon::chrgv) == 1)
116 chrg = ((bl->
mu[
i].
s >> ugmt::shiftsMuon::chrg) & ugmt::masksMuon::chrg) == 1 ? -1 : 1;
142 l1ScoutingRun3::Muon muon(ipt,
ieta,
iphi,
qual, chrg, chrg != 0,
iso,
index, ietaext, iphiext, iptuncon, idxy);
void printMuon(const Muon &muon, std::ostream &outs=std::cout)
std::vector< std::vector< l1ScoutingRun3::Muon > > orbitBuffer_