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<TkPrimaryVertexCollection>
& avtxRef,
11
int
bx
)
12
:
L1Candidate
(
p4
), etTot_(etTotal), jetCollectionRef_(jetCollRef), vtxRef_(avtxRef), bx_(
bx
) {
13
if
(
vtxRef_
.
isNonnull
()) {
14
setVtx
(
vtxRef
()->zvertex());
15
}
16
}
edm::RefProd< TkJetCollection >
l1t::TkHTMiss::vtxRef_
edm::Ref< TkPrimaryVertexCollection > vtxRef_
Definition:
TkHTMiss.h:52
TkHTMiss.h
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
l1t::TkHTMiss::setVtx
void setVtx(const float &zvtx)
Definition:
TkHTMiss.h:41
edm::Ref< TkPrimaryVertexCollection >
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::TkHTMiss::vtxRef
const edm::Ref< TkPrimaryVertexCollection > & vtxRef() const
Definition:
TkHTMiss.h:35
l1t
delete x;
Definition:
CaloConfig.h:22
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition:
Ref.h:238
p4
double p4[4]
Definition:
TauolaWrapper.h:92
l1t::TkHTMiss::TkHTMiss
TkHTMiss()
Definition:
TkHTMiss.cc:5
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
Generated for CMSSW Reference Manual by
1.8.16