CMS 3D CMS Logo

SAMuon.cc
Go to the documentation of this file.
3 
4 using namespace l1t;
5 
6 SAMuon::SAMuon() : hwZ0_(0), hwD0_(0), word_(0) {}
7 
8 SAMuon::SAMuon(const l1t::Muon& mu, bool charge, uint pt, int eta, int phi, int z0, int d0, uint quality)
9  : L1Candidate(mu.p4(), pt, eta, phi, quality), hwCharge_(charge), hwZ0_(z0), hwD0_(d0), word_(0) {}
10 
12 
13 void SAMuon::print() const {
14  LogDebug("SAMuon") << "Standalone Muon: charge=" << hwCharge_ << " pt=" << hwPt() << "," << p4().pt()
15  << " eta=" << hwEta() << "," << p4().eta() << " phi=" << hwPhi() << "," << p4().phi()
16  << " z0=" << hwZ0_ << " d0=" << hwD0_ << " isolation=" << hwIso() << " beta=" << hwBeta_
17  << " quality=" << hwQual();
18 }
uint hwBeta_
Definition: SAMuon.h:73
int hwPhi() const
Definition: L1Candidate.h:37
delete x;
Definition: CaloConfig.h:22
void print() const
Definition: SAMuon.cc:13
int hwZ0_
Definition: SAMuon.h:71
const LorentzVector & p4() const final
four-momentum Lorentz vector
int hwQual() const
Definition: L1Candidate.h:38
string quality
bool hwCharge_
Definition: SAMuon.h:70
SAMuon()
Definition: SAMuon.cc:6
int hwEta() const
Definition: L1Candidate.h:36
int hwD0_
Definition: SAMuon.h:72
Definition: Muon.h:21
static constexpr float d0
int hwPt() const
Definition: L1Candidate.h:35
int hwIso() const
Definition: L1Candidate.h:39
~SAMuon() override
Definition: SAMuon.cc:11
#define LogDebug(id)