Definition at line 46 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_2023v12_cff::eta1, HLT_2023v12_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, l1ScoutingRun3::ugmt::block::mu, HLT_2023v12_cff::muon, nMuonsOrbit_, l1ScoutingRun3::ugmt::block::orbit, orbitBuffer_, PVValHelper::phi, l1ScoutingRun3::printMuon(), DiDispStaMuonMonitor_cfi::pt, l1tGTMenu_lepSeeds_cff::qual, l1ScoutingRun3::ugmt::muon::s, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by produce().
61 uint32_t mAcount = (
header & header_masks::mAcount) >> header_shifts::mAcount;
62 uint32_t mBcount = (
header & header_masks::mBcount) >> header_shifts::mBcount;
66 pos += 4 + 4 + (mAcount + mBcount) * 12;
69 uint32_t orbit = bl->
orbit & 0x7FFFFFFF;
73 std::cout <<
"GMT Orbit " << orbit <<
", BX -> " <<
bx <<
", nMuons -> " << mAcount + mBcount << std::endl;
79 for (
unsigned int i = 0;
i < mAcount + mBcount;
i++) {
80 uint32_t interm = (bl->
mu[
i].
extra >> ugmt::shiftsMuon::interm) & ugmt::masksMuon::interm;
83 std::cout <<
" -> Excluding intermediate muon\n";
89 uint32_t ietaextu = (bl->
mu[
i].
f >> ugmt::shiftsMuon::etaext) & ugmt::masksMuon::etaextv;
91 if (((bl->
mu[
i].
f >> ugmt::shiftsMuon::etaext) & ugmt::masksMuon::etaexts) != 0) {
92 ietaext = ietaextu -= 256;
98 int32_t iptuncon = (bl->
mu[
i].
s >> ugmt::shiftsMuon::ptuncon) & ugmt::masksMuon::ptuncon;
109 int32_t iphiext = ((bl->
mu[
i].
f >> ugmt::shiftsMuon::phiext) & ugmt::masksMuon::phiext);
115 uint32_t iso = (bl->
mu[
i].
s >> ugmt::shiftsMuon::iso) & ugmt::masksMuon::iso;
117 if (((bl->
mu[
i].
s >> ugmt::shiftsMuon::chrgv) & ugmt::masksMuon::chrgv) == 1)
118 chrg = ((bl->
mu[
i].
s >> ugmt::shiftsMuon::chrg) & ugmt::masksMuon::chrg) == 1 ? -1 : 1;
144 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_