Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
l1t::TkHTMiss::TkHTMiss
TkHTMiss()
Definition:
TkHTMiss.cc:5
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition:
Ref.h:238
edm::Ref< TkPrimaryVertexCollection >
edm::RefProd< TkJetCollection >
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::TkHTMiss::vtxRef
const edm::Ref< TkPrimaryVertexCollection > & vtxRef() const
Definition:
TkHTMiss.h:35
l1t::TkHTMiss::setVtx
void setVtx(const float &zvtx)
Definition:
TkHTMiss.h:41
l1t::TkHTMiss::vtxRef_
edm::Ref< TkPrimaryVertexCollection > vtxRef_
Definition:
TkHTMiss.h:52
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
makePileupJSON.bx
tuple bx
Definition:
makePileupJSON.py:40
TkHTMiss.h
Generated for CMSSW Reference Manual by
1.8.5