#include <SubJetProducer.h>
Public Member Functions | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) |
SubJetProducer (const edm::ParameterSet &ps) | |
virtual | ~SubJetProducer () |
Private Attributes | |
SubJetAlgorithm | alg_ |
Definition at line 11 of file SubJetProducer.h.
SubJetProducer::SubJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 8 of file SubJetProducer.cc.
References alg_, SubJetAlgorithm::get_pruning(), edm::ParameterSet::getParameter(), SubJetAlgorithm::set_rcut_factor(), SubJetAlgorithm::set_zcut(), and z.
: CompoundJetProducer( conf ), alg_(src_, conf.getParameter<int>("algorithm"), conf.getParameter<double>("centralEtaCut"), conf.getParameter<double>("jetPtMin"), conf.getParameter<double>("jetSize"), conf.getParameter<int>("nSubjets"), conf.getParameter<bool>("enable_pruning")) { if(alg_.get_pruning()){ double z = conf.getParameter<double>("zcut"); alg_.set_zcut(z); double rcut = conf.getParameter<double>("rcut_factor"); alg_.set_rcut_factor(rcut); } }
virtual cms::SubJetProducer::~SubJetProducer | ( | ) | [inline, virtual] |
Definition at line 17 of file SubJetProducer.h.
{}
void SubJetProducer::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Reimplemented from VirtualJetProducer.
Definition at line 26 of file SubJetProducer.cc.
{ CompoundJetProducer::produce(e, c); }
void SubJetProducer::runAlgorithm | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements VirtualJetProducer.
Definition at line 31 of file SubJetProducer.cc.
References alg_, cms::CompoundJetProducer::fjCompoundJets_, VirtualJetProducer::fjInputs_, and SubJetAlgorithm::run().
{ alg_.run( fjInputs_, fjCompoundJets_, iSetup ); }
SubJetAlgorithm cms::SubJetProducer::alg_ [private] |
Definition at line 24 of file SubJetProducer.h.
Referenced by runAlgorithm(), and SubJetProducer().