CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CMSInsideOutJetProducer.cc
Go to the documentation of this file.
1 //
3 // CMSInsideOutJetProducer
4 // ------------------
5 //
6 // 04/21/2009 Philipp Schieferdecker <philipp.schieferdecker@cern.ch>
8 
10 
12 
18 
29 
32 
33 #include "fastjet/SISConePlugin.hh"
34 #include "fastjet/CMSIterativeConePlugin.hh"
35 #include "fastjet/ATLASConePlugin.hh"
36 #include "fastjet/CDFMidPointPlugin.hh"
37 
38 #include <iostream>
39 #include <memory>
40 #include <algorithm>
41 #include <limits>
42 #include <cmath>
43 
44 using namespace std;
45 
47 // construction / destruction
49 
50 //______________________________________________________________________________
52  : VirtualJetProducer(iConfig),
53  alg_(iConfig.getParameter<double>("seedObjectPt"),
54  iConfig.getParameter<double>("growthParameter"),
55  iConfig.getParameter<double>("maxSize"),
56  iConfig.getParameter<double>("minSize")) {}
57 
58 //______________________________________________________________________________
60 
62 // implementation of member functions
64 
66  VirtualJetProducer::produce(iEvent, iSetup);
67 }
68 
69 //______________________________________________________________________________
71  fjJets_.clear();
72 
74 }
75 
77 // define as cmssw plugin
79 
CMSInsideOutAlgorithm alg_
std::vector< fastjet::PseudoJet > fjJets_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
CMSInsideOutJetProducer(const edm::ParameterSet &iConfig)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup) override
std::vector< fastjet::PseudoJet > fjInputs_
int iEvent
Definition: GenABIO.cc:224
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void run(const std::vector< fastjet::PseudoJet > &fInput, std::vector< fastjet::PseudoJet > &fOutput)
Build from input candidate collection.