src
DataFormats
L1TMuonPhase2
src
SAMuon.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1TMuonPhase2/interface/SAMuon.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
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
11
SAMuon::~SAMuon
() {}
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
}
parallelization.uint
uint
Definition:
parallelization.py:124
l1t::SAMuon::hwBeta_
uint hwBeta_
Definition:
SAMuon.h:73
MessageLogger.h
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:13
l1t::SAMuon::hwZ0_
int hwZ0_
Definition:
SAMuon.h:71
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
quality
string quality
Definition:
beamSpotDipStandalone.cc:53
l1t::SAMuon::hwCharge_
bool hwCharge_
Definition:
SAMuon.h:70
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::SAMuon::SAMuon
SAMuon()
Definition:
SAMuon.cc:6
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:72
l1t::Muon
Definition:
Muon.h:21
d0
static constexpr float d0
Definition:
L1EGammaCrystalsEmulatorProducer.cc:83
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:11
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:241
Generated for CMSSW Reference Manual by
1.8.14