CMS 3D CMS Logo

Public Member Functions | Private Attributes

cms::SubJetProducer Class Reference

#include <SubJetProducer.h>

Inheritance diagram for cms::SubJetProducer:
cms::CompoundJetProducer VirtualJetProducer edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

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_

Detailed Description

Definition at line 11 of file SubJetProducer.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

void SubJetProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
) [virtual]

Reimplemented from VirtualJetProducer.

Definition at line 26 of file SubJetProducer.cc.

void SubJetProducer::runAlgorithm ( edm::Event iEvent,
const edm::EventSetup iSetup 
) [virtual]

Member Data Documentation

Definition at line 24 of file SubJetProducer.h.

Referenced by runAlgorithm(), and SubJetProducer().