CMS 3D CMS Logo

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