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
() : 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
18
SAMuon::~SAMuon
() {}
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
}
parallelization.uint
uint
Definition:
parallelization.py:124
l1t::SAMuon::hwBeta_
uint hwBeta_
Definition:
SAMuon.h:83
MessageLogger.h
funct::false
false
Definition:
Factorize.h:29
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:20
l1t::SAMuon::hwZ0_
int hwZ0_
Definition:
SAMuon.h:81
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:80
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::SAMuon::SAMuon
SAMuon()
Definition:
SAMuon.cc:6
l1t::L1Candidate::hwEta
int hwEta() const
Definition:
L1Candidate.h:36
l1t::bmtf
Definition:
RegionalMuonCandFwd.h:8
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
l1t::SAMuon::hwD0_
int hwD0_
Definition:
SAMuon.h:82
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:18
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:241
Generated for CMSSW Reference Manual by
1.8.14