DataFormats
L1TMuonPhase2
src
SAMuon.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1TMuonPhase2/interface/SAMuon.h
"
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
10
SAMuon::~SAMuon
() {}
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
}
parallelization.uint
uint
Definition:
parallelization.py:124
l1t::SAMuon::hwBeta_
uint hwBeta_
Definition:
SAMuon.h:55
l1t::L1Candidate::hwPhi
int hwPhi() const
Definition:
L1Candidate.h:37
SAMuon.h
amptDefaultParameters_cff.mu
mu
Definition:
amptDefaultParameters_cff.py:16
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::SAMuon::print
void print() const
Definition:
SAMuon.cc:12
l1t::SAMuon::hwZ0_
int hwZ0_
Definition:
SAMuon.h:53
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:114
l1t::L1Candidate::hwQual
int hwQual() const
Definition:
L1Candidate.h:38
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
l1t::SAMuon::hwCharge_
bool hwCharge_
Definition:
SAMuon.h:52
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::SAMuon::SAMuon
SAMuon()
Definition:
SAMuon.cc:5
l1t::L1Candidate::hwEta
int hwEta() const
Definition:
L1Candidate.h:36
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
l1t::SAMuon::hwD0_
int hwD0_
Definition:
SAMuon.h:54
l1t::Muon
Definition:
Muon.h:21
d0
static constexpr float d0
Definition:
L1EGammaCrystalsEmulatorProducer.cc:82
l1t::L1Candidate::hwPt
int hwPt() const
Definition:
L1Candidate.h:35
l1t::L1Candidate::hwIso
int hwIso() const
Definition:
L1Candidate.h:39
l1t::SAMuon::~SAMuon
~SAMuon() override
Definition:
SAMuon.cc:10
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition:
HLTMuonOfflineAnalyzer_cfi.py:42
quality
string quality
Definition:
beamSpotDipStandalone.cc:53
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
Generated for CMSSW Reference Manual by
1.8.14