1 #ifndef PHASE2GMT_MUONROI 2 #define PHASE2GMT_MUONROI 18 const int bx()
const {
return bx_; }
40 s.setf(ios::right, ios::adjustfield);
43 <<
"BX: " << setw(5) <<
id.bx_ <<
" " 44 <<
"charge:" << setw(5) <<
id.charge_ <<
" " 45 <<
"pt:" << setw(5) <<
id.pt_ <<
" " 46 <<
"quality:" << setw(5) <<
id.quality_ <<
" " 47 <<
"offline pt:" << setw(5) <<
id.offline_pt_;
80 ap_uint<64> s0 = 0x1ff000000000000;
81 ap_uint<64> s1 = 0x1ff000000000000;
82 ap_uint<64> s2 = 0x1ff000000000000;
83 ap_uint<64> s3 = 0x1ff000000000000;
84 ap_uint<64>
s4 = 0x1ff000000000000;
86 if (
s->tfLayer() == 0)
88 if (
s->tfLayer() == 1)
90 if (
s->tfLayer() == 2)
92 if (
s->tfLayer() == 3)
94 if (
s->tfLayer() == 4)
97 LogDebug(
"MuonROI") <<
"MuonROI " << std::setfill(
'0') << std::setw(8) << std::hex
98 << (
long long unsigned int)(
roiWord().to_uint64()) << std::setfill(
'0') << std::setw(16)
99 << std::hex << (
long long unsigned int)(
s4.to_uint64()) << std::setfill(
'0') << std::setw(16)
100 << std::hex << (
long long unsigned int)(s3.to_uint64()) << std::setfill(
'0') << std::setw(16)
101 << std::hex << (
long long unsigned int)(s2.to_uint64()) << std::setfill(
'0') << std::setw(16)
102 << std::hex << (
long long unsigned int)(s1.to_uint64()) << std::setfill(
'0') << std::setw(16)
103 << std::hex << (
long long unsigned int)(s0.to_uint64());
l1t::MuonStubRefVector stubs_
ProductID id() const
Accessor for product ID.
bool isGlobalMuon() const
l1t::RegionalMuonCandRef muRef_
MuonROI(int bx, uint charge, uint pt, uint quality)
const int BITSSTUBETAQUALITY
const float offline_pt() const
void printROILine() const
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
const l1t::RegionalMuonCandRef & muonRef() const
ap_uint< 64 > stubWord(const l1t::MuonStubRef &stub) const
const uint charge() const
const int BITSSTUBPHIQUALITY
const int BITSSTAMUONQUALITY
friend std::ostream & operator<<(std::ostream &s, const MuonROI &id)
const l1t::MuonStubRefVector & stubs() const
void addStub(const l1t::MuonStubRef &stub)
const int quality() const
void setOfflinePt(float pt)
ap_uint< 32 > roiWord() const
void setMuonRef(const l1t::RegionalMuonCandRef &ref)
uint64_t twos_complement(long long int v, uint bits)