DataFormats
L1TCorrelator
src
TkJet.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1Trigger
4
// Class : TkJet
5
//
6
7
#include "
DataFormats/L1TCorrelator/interface/TkJet.h
"
8
9
using namespace
l1t
;
10
11
TkJet::TkJet
() {}
12
13
TkJet::TkJet
(
const
LorentzVector
&
p4
,
14
const
edm::Ref<JetBxCollection>
& jetRef,
15
const
std::vector
<
edm::Ptr<L1TTTrackType>
>& trkPtrs,
16
float
jetvtx)
17
:
L1Candidate
(
p4
), jetRef_(jetRef), trkPtrs_(trkPtrs), JetVtx_(jetvtx) {}
18
TkJet::TkJet
(
const
LorentzVector
&
p4
,
19
const
std::vector
<
edm::Ptr<L1TTTrackType>
>& trkPtrs,
20
float
jetvtx,
21
unsigned
int
ntracks
,
22
unsigned
int
tighttracks,
23
unsigned
int
displacedtracks,
24
unsigned
int
tightdisplacedtracks)
25
:
L1Candidate
(
p4
),
26
trkPtrs_(trkPtrs),
27
JetVtx_(jetvtx),
28
ntracks_(
ntracks
),
29
tighttracks_(tighttracks),
30
displacedtracks_(displacedtracks),
31
tightdisplacedtracks_(tightdisplacedtracks) {}
32
int
TkJet::bx
()
const
{
33
// in the producer TkJetProducer.cc, we keep only jets with bx = 0
34
return
0;
35
}
l1t::TkJet::TkJet
TkJet()
Definition:
TkJet.cc:11
vertices_cff.ntracks
ntracks
Definition:
vertices_cff.py:34
edm::Ref
Definition:
AssociativeIterator.h:58
l1t::L1Candidate
Definition:
L1Candidate.h:15
l1t::TkJet::bx
int bx() const
Definition:
TkJet.cc:32
l1t
delete x;
Definition:
CaloConfig.h:22
TkJet.h
p4
double p4[4]
Definition:
TauolaWrapper.h:92
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
edm::Ptr
Definition:
AssociationVector.h:31
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
Generated for CMSSW Reference Manual by
1.8.16