CMS 3D CMS Logo

SAMuon.cc
Go to the documentation of this file.
2 
3 using namespace l1t;
4 
5 SAMuon::SAMuon() : hwZ0_(0), hwD0_(0), word_(0) {}
6 
7 SAMuon::SAMuon(const l1t::Muon& mu, bool charge, uint pt, int eta, int phi, int z0, int d0, uint quality)
8  : L1Candidate(mu.p4(), pt, eta, phi, quality), hwCharge_(charge), hwZ0_(z0), hwD0_(d0), word_(0) {}
9 
11 
12 void SAMuon::print() const {
13  LogDebug("SAMuon") << "Standalone Muon: charge=" << hwCharge_ << " pt=" << hwPt() << "," << p4().pt()
14  << " eta=" << hwEta() << "," << p4().eta() << " phi=" << hwPhi() << "," << p4().phi()
15  << " z0=" << hwZ0_ << " d0=" << hwD0_ << " isolation=" << hwIso() << " beta=" << hwBeta_
16  << " quality=" << hwQual();
17 }
uint hwBeta_
Definition: SAMuon.h:55
int hwPhi() const
Definition: L1Candidate.h:37
delete x;
Definition: CaloConfig.h:22
void print() const
Definition: SAMuon.cc:12
int hwZ0_
Definition: SAMuon.h:53
const LorentzVector & p4() const final
four-momentum Lorentz vector
int hwQual() const
Definition: L1Candidate.h:38
bool hwCharge_
Definition: SAMuon.h:52
SAMuon()
Definition: SAMuon.cc:5
int hwEta() const
Definition: L1Candidate.h:36
int hwD0_
Definition: SAMuon.h:54
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:10
string quality
#define LogDebug(id)