CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
19 
30 
31 
34 
35 #include "fastjet/SISConePlugin.hh"
36 #include "fastjet/CMSIterativeConePlugin.hh"
37 #include "fastjet/ATLASConePlugin.hh"
38 #include "fastjet/CDFMidPointPlugin.hh"
39 
40 
41 #include <iostream>
42 #include <memory>
43 #include <algorithm>
44 #include <limits>
45 #include <cmath>
46 
47 using namespace std;
48 
49 
50 
52 // construction / destruction
54 
55 //______________________________________________________________________________
57  : VirtualJetProducer( iConfig ),
58  alg_( iConfig.getParameter<double>("seedObjectPt"),
59  iConfig.getParameter<double>("growthParameter"),
60  iConfig.getParameter<double>("maxSize"),
61  iConfig.getParameter<double>("minSize") )
62 {
63 }
64 
65 
66 //______________________________________________________________________________
68 {
69 }
70 
71 
73 // implementation of member functions
75 
77 {
78  VirtualJetProducer::produce( iEvent, iSetup );
79 }
80 
81 //______________________________________________________________________________
83 {
84 
85  fjJets_.clear();
86 
88 }
89 
90 
91 
93 // define as cmssw plugin
95 
97 
98 
99 
CMSInsideOutAlgorithm alg_
std::vector< fastjet::PseudoJet > fjJets_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
CMSInsideOutJetProducer(const edm::ParameterSet &iConfig)
std::vector< fastjet::PseudoJet > fjInputs_
int iEvent
Definition: GenABIO.cc:243
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
void run(const std::vector< fastjet::PseudoJet > &fInput, std::vector< fastjet::PseudoJet > &fOutput)
Build from input candidate collection.