1 #ifndef PHASE2GMT_PRETRACKMATCHEDMUON 2 #define PHASE2GMT_PRETRACKMATCHEDMUON 50 const int z0()
const {
return z0_; }
51 const int d0()
const {
return d0_; }
85 if (stub->tfLayer() == 0) {
88 }
else if (stub->tfLayer() == 1) {
91 }
else if (stub->tfLayer() == 2) {
94 }
else if (stub->tfLayer() == 3) {
97 }
else if (stub->tfLayer() == 4) {
120 bstart = wordconcat<wordtype>(
w, bstart,
charge_ & 0x1, 1);
121 bstart = wordconcat<wordtype>(
w, bstart,
pt_,
BITSPT);
122 bstart = wordconcat<wordtype>(
w, bstart,
phi_,
BITSPHI);
123 bstart = wordconcat<wordtype>(
w, bstart,
eta_,
BITSETA);
124 bstart = wordconcat<wordtype>(
w, bstart,
z0_,
BITSZ0);
125 bstart = wordconcat<wordtype>(
w, bstart,
d0_,
BITSD0);
137 bstart = wordconcat<wordtype>(
w2, bstart,
isGlobal_, 1);
140 bstart = wordconcat<wordtype>(
w2, bstart,
valid_, 1);
146 LogDebug(
"PreTrackMatchedMuon") <<
"PreTrackMatchedMuon : word=" << std::setfill(
'0') << std::setw(16) << std::hex
147 << (
long long unsigned int)(
msb() >> 2) << std::setfill(
'0') << std::setw(16)
149 << (
long long unsigned int)((
lsb() | (
msb() << 62)) & 0xffffffffffffffff);
void setQuality(uint quality)
const uint stubID1() const
common ppss p3p6s2 common epss epspn46 common const1 w2
const int BITSMATCHQUALITY
const uint stubID4() const
const uint stubID3() const
void setOfflineQuantities(float pt, float eta, float phi)
std::vector< edm::Ref< SAMuonCollection > > SAMuonRefVector
const l1t::MuonStubRefVector & stubs() const
PreTrackMatchedMuon(const uint &charge, const uint &pt, const int &eta, const int &phi, const int &z0, const int &d0, const uint &beta=15)
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
const l1t::SAMuonRefVector & muonRef() const
void setTrkPtr(const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > &trkPtr)
const uint charge() const
bool isGlobalMuon() const
const int quality() const
const float offline_phi() const
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr_
unsigned long long uint64_t
Class to store the L1 Track Trigger tracks.
const float offline_eta() const
l1t::SAMuonRefVector muRef_
const uint stubID0() const
l1t::MuonStubRefVector stubs_
void addMuonRef(const l1t::SAMuonRef &ref)
const uint matchMask() const
const int offline_pt() const
void addStub(const l1t::MuonStubRef &stub, uint mask)
const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr() const
const uint stubID2() const