Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoTauTag
HLTProducers
src
PFJetToCaloProducer.cc
Go to the documentation of this file.
1
#include "
RecoTauTag/HLTProducers/interface/PFJetToCaloProducer.h
"
2
#include "
DataFormats/VertexReco/interface/Vertex.h
"
3
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
4
#include "Math/GenVector/VectorUtil.h"
5
//
6
// class decleration
7
//
8
9
PFJetToCaloProducer::PFJetToCaloProducer
(
const
edm::ParameterSet
& iConfig) {
10
tauSrc_
= consumes<reco::PFJetCollection>(iConfig.
getParameter
<
edm::InputTag
>(
"Source"
));
11
produces<reco::CaloJetCollection>();
12
}
13
14
PFJetToCaloProducer::~PFJetToCaloProducer
() {}
15
16
void
PFJetToCaloProducer::produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iES) {
17
using namespace
reco
;
18
using namespace
edm
;
19
using namespace
std
;
20
21
std::unique_ptr<reco::CaloJetCollection>
selectedTaus
(
new
CaloJetCollection
);
22
23
edm::Handle<PFJetCollection>
tauJets;
24
iEvent
.getByToken(
tauSrc_
, tauJets);
25
26
CaloJet::Specific
specific
;
27
for
(PFJetCollection::const_iterator
i
= tauJets->begin();
i
!= tauJets->end(); ++
i
) {
28
CaloJet
jet
(
i
->p4(),
i
->vertex(),
specific
);
29
jet
.setPdgId(15);
30
selectedTaus
->push_back(
jet
);
31
}
32
33
iEvent
.put(
std::move
(
selectedTaus
));
34
}
PFJetToCaloProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
PFJetToCaloProducer.cc:16
reco::CaloJet
Jets made from CaloTowers.
Definition:
CaloJet.h:27
mps_fire.i
i
Definition:
mps_fire.py:428
edm
HLT enums.
Definition:
AlignableModifier.h:19
PFJetToCaloProducer.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
edm::Handle
Definition:
AssociativeIterator.h:50
objectSelection_cff.selectedTaus
selectedTaus
======================================
Definition:
objectSelection_cff.py:58
timingPdfMaker.specific
specific
Definition:
timingPdfMaker.py:78
Vertex.h
PFJetToCaloProducer::PFJetToCaloProducer
PFJetToCaloProducer(const edm::ParameterSet &)
Definition:
PFJetToCaloProducer.cc:9
edm::ParameterSet
Definition:
ParameterSet.h:47
iEvent
int iEvent
Definition:
GenABIO.cc:224
reco::CaloJetCollection
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
Definition:
CaloJetCollection.h:15
edm::EventSetup
Definition:
EventSetup.h:58
PFJetToCaloProducer::~PFJetToCaloProducer
~PFJetToCaloProducer() override
Definition:
PFJetToCaloProducer.cc:14
VertexFwd.h
eostools.move
def move(src, dest)
Definition:
eostools.py:511
std
Definition:
JetResolutionObject.h:76
metsig::jet
Definition:
SignAlgoResolutions.h:47
PFJetToCaloProducer::tauSrc_
edm::EDGetTokenT< reco::PFJetCollection > tauSrc_
Definition:
PFJetToCaloProducer.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
reco::CaloJet::Specific
Definition:
CaloJet.h:32
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16