RecoJets
JetProducers
plugins
SubJetProducer.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
#include "
SubJetProducer.h
"
3
4
using namespace
edm
;
5
using namespace
cms
;
6
using namespace
reco
;
7
8
SubJetProducer::SubJetProducer(
edm::ParameterSet
const
& conf)
9
:
CompoundJetProducer
(conf),
10
alg_(conf.getParameter<double>(
"jetPtMin"
),
11
conf.getParameter<
int
>(
"nSubjets"
),
12
conf.getParameter<double>(
"zcut"
),
13
conf.getParameter<double>(
"rcut_factor"
),
14
fjJetDefinition_,
15
doAreaFastjet_,
16
fjActiveArea_,
17
voronoiRfact_) {}
18
19
void
SubJetProducer::produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
) {
CompoundJetProducer::produce
(
e
,
c
); }
20
21
void
SubJetProducer::runAlgorithm
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup) {
22
alg_
.
run
(
fjInputs_
,
fjCompoundJets_
);
23
}
24
25
//define this as a plug-in
26
DEFINE_FWK_MODULE
(
SubJetProducer
);
VirtualJetProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition:
VirtualJetProducer.cc:264
cms::SubJetProducer::alg_
SubJetAlgorithm alg_
Definition:
SubJetProducer.h:21
edm
HLT enums.
Definition:
AlignableModifier.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
edm::ParameterSet
Definition:
ParameterSet.h:47
createfilelist.int
int
Definition:
createfilelist.py:10
iEvent
int iEvent
Definition:
GenABIO.cc:224
cms::SubJetProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition:
SubJetProducer.cc:19
cms::CompoundJetProducer::fjCompoundJets_
std::vector< CompoundPseudoJet > fjCompoundJets_
Definition:
CompoundJetProducer.h:46
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
SubJetAlgorithm::run
void run(const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< CompoundPseudoJet > &hardjetsOutput)
Find the ProtoJets from the collection of input Candidates.
Definition:
SubJetAlgorithm.cc:17
SubJetProducer.h
cms::SubJetProducer::runAlgorithm
void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition:
SubJetProducer.cc:21
cms::CompoundJetProducer
Definition:
CompoundJetProducer.h:39
cms::SubJetProducer
Definition:
SubJetProducer.h:10
VirtualJetProducer::fjInputs_
std::vector< fastjet::PseudoJet > fjInputs_
Definition:
VirtualJetProducer.h:191
edm::Event
Definition:
Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16