CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SubJetProducer.cc
Go to the documentation of this file.
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 {
20 }
21 
23 {
25 }
26 
28 {
29 
30  alg_.run( fjInputs_,
32 }
33 
34 
35 //define this as a plug-in
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
std::vector< fastjet::PseudoJet > fjInputs_
int iEvent
Definition: GenABIO.cc:230
SubJetAlgorithm alg_
std::vector< CompoundPseudoJet > fjCompoundJets_
tuple conf
Definition: dbtoconf.py:185
DEFINE_FWK_MODULE(CaloMETProducer)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
void run(const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< CompoundPseudoJet > &hardjetsOutput)
Find the ProtoJets from the collection of input Candidates.