72 cout <<
" ----------------------------------------------------- " << endl;
74 <<
" ************** " << endl;
75 cout <<
" ----------------------------------------------------- " << endl;
78 for (
int i = m_minBx;
i <= m_maxBx; ++
i) {
81 if (
muons.isValid()) {
82 if (
i >=
muons->getFirstBX() &&
i <=
muons->getLastBX()) {
83 for (std::vector<l1t::Muon>::const_iterator
mu =
muons->begin(
i);
mu !=
muons->end(
i); ++
mu) {
84 cout <<
" " <<
std::dec << std::setw(2) << std::setfill(
' ') << std::setfill(
'0') <<
")";
85 cout <<
" Pt " <<
std::dec << std::setw(3) <<
mu->hwPt() <<
" (0x" << std::hex << std::setw(3)
86 << std::setfill(
'0') <<
mu->hwPt() <<
")";
87 cout <<
" EtaAtVtx " <<
std::dec << std::setw(3) <<
mu->hwEtaAtVtx() <<
" (0x" << std::hex << std::setw(3)
88 << std::setfill(
'0') << (
mu->hwEtaAtVtx() & 0x1ff) <<
")";
89 cout <<
" Eta " <<
std::dec << std::setw(3) <<
mu->hwEta() <<
" (0x" << std::hex << std::setw(3)
90 << std::setfill(
'0') << (
mu->hwEta() & 0x1ff) <<
")";
91 cout <<
" PhiAtVtx " <<
std::dec << std::setw(3) <<
mu->hwPhiAtVtx() <<
" (0x" << std::hex << std::setw(3)
92 << std::setfill(
'0') <<
mu->hwPhiAtVtx() <<
")";
93 cout <<
" Phi " <<
std::dec << std::setw(3) <<
mu->hwPhi() <<
" (0x" << std::hex << std::setw(3)
94 << std::setfill(
'0') <<
mu->hwPhi() <<
")";
101 cout <<
"No Muons stored for this bx " <<
i << endl;
104 cout <<
"No Muon Data in this event " << endl;
T getParameter(std::string const &) const
EDGetTokenT< BXVector< l1t::Muon > > muToken
~DumpMuonScouting() override
DumpMuonScouting(const edm::ParameterSet &)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override