src
DataFormats
L1TCorrelator
src
TkHTMiss.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1TCorrelator/interface/TkHTMiss.h
"
2
3
using namespace
l1t
;
4
5
TkHTMiss::TkHTMiss
() {}
6
7
TkHTMiss::TkHTMiss
(
const
LorentzVector
& p4,
8
double
etTotal,
9
const
edm::RefProd<TkJetCollection>
& jetCollRef,
10
const
edm::Ref<VertexCollection>
& avtxRef,
11
int
bx
)
12
:
L1Candidate
(p4), etTot_(etTotal), jetCollectionRef_(jetCollRef), vtxRef_(avtxRef), bx_(
bx
) {
13
if
(
vtxRef_
.
isNonnull
()) {
14
setVtx
(
vtxRef
()->
z0
());
15
}
16
}
l1t::TkHTMiss::TkHTMiss
TkHTMiss()
Definition:
TkHTMiss.cc:5
edm::Ref< VertexCollection >
l1t::TkHTMiss::vtxRef
const edm::Ref< VertexCollection > & vtxRef() const
Definition:
TkHTMiss.h:35
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition:
Ref.h:238
l1t
delete x;
Definition:
CaloConfig.h:22
nano_mu_digi_cff.bx
bx
Definition:
nano_mu_digi_cff.py:41
edm::RefProd< TkJetCollection >
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::TkHTMiss::setVtx
void setVtx(const float &zvtx)
Definition:
TkHTMiss.h:41
l1t::TkHTMiss::vtxRef_
edm::Ref< VertexCollection > vtxRef_
Definition:
TkHTMiss.h:52
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition:
HLTMuonOfflineAnalyzer_cfi.py:46
TkHTMiss.h
Generated for CMSSW Reference Manual by
1.8.14