#include <CATopJetProducer.h>
Public Member Functions | |
CATopJetProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~CATopJetProducer () |
Private Attributes | |
CATopJetAlgorithm | alg_ |
Definition at line 71 of file CATopJetProducer.h.
CATopJetProducer::CATopJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 8 of file CATopJetProducer.cc.
: CompoundJetProducer( conf ), alg_(src_, conf.getParameter<bool> ("verbose"), conf.getParameter<int> ("algorithm"), // 0 = KT, 1 = CA, 2 = anti-KT conf.getParameter<int> ("useAdjacency"), // choose adjacency requirement: // 0 = no adjacency // 1 = deltar adjacency // 2 = modified adjacency // 3 = calotower neirest neigbor based adjacency (untested) conf.getParameter<double>("centralEtaCut"), // eta for defining "central" jets conf.getParameter<double>("jetPtMin"), // min jet pt conf.getParameter<std::vector<double> >("sumEtBins"), // sumEt bins over which cuts may vary. vector={bin 0 lower bound, bin 1 lower bound, ...} conf.getParameter<std::vector<double> >("rBins"), // Jet distance paramter R. R values depend on sumEt bins. conf.getParameter<std::vector<double> >("ptFracBins"), // fraction of hard jet pt that subjet must have (deltap) conf.getParameter<std::vector<double> >("deltarBins"), // Applicable only if useAdjacency=1. deltar adjacency values for each sumEtBin conf.getParameter<std::vector<double> >("nCellBins"), // Applicable only if useAdjacency=3. number of cells to consider two subjets adjacent conf.getParameter<double>("inputEtMin"), // seed threshold - NOT USED conf.getParameter<bool> ("useMaxTower"), // use max tower as adjacency criterion, otherwise use centroid - NOT USED conf.getParameter<double>("sumEtEtaCut"), // eta for event SumEt - NOT USED conf.getParameter<double>("etFrac"), // fraction of event sumEt / 2 for a jet to be considered "hard" -NOT USED fjJetDefinition_, doAreaFastjet_, fjActiveArea_, voronoiRfact_ ) {}
virtual cms::CATopJetProducer::~CATopJetProducer | ( | ) | [inline, virtual] |
Definition at line 77 of file CATopJetProducer.h.
{}
void CATopJetProducer::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Reimplemented from VirtualJetProducer.
Definition at line 36 of file CATopJetProducer.cc.
{ CompoundJetProducer::produce(e, c); }
void CATopJetProducer::runAlgorithm | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements VirtualJetProducer.
Definition at line 41 of file CATopJetProducer.cc.
References alg_, cms::CompoundJetProducer::fjCompoundJets_, VirtualJetProducer::fjInputs_, and CATopJetAlgorithm::run().
{ alg_.run( fjInputs_, fjCompoundJets_ ); }
CATopJetAlgorithm cms::CATopJetProducer::alg_ [private] |
Definition at line 84 of file CATopJetProducer.h.
Referenced by runAlgorithm().