#include <ExampleClusterProducer.h>
Public Member Functions | |
ExampleClusterProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
~ExampleClusterProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
bool | counterExceeded () const |
Private Attributes | |
ExampleClusterAlgo * | algo_ |
std::string | clusterCollection_ |
std::string | hitCollection_ |
std::string | hitProducer_ |
int | nEvt_ |
int | nMaxPrintout_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
example of producer for BasicCluster from recHits
Definition at line 21 of file ExampleClusterProducer.h.
ExampleClusterProducer::ExampleClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 12 of file ExampleClusterProducer.cc.
References algo_, clusterCollection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hitCollection_, hitProducer_, and nMaxPrintout_.
ExampleClusterProducer::~ExampleClusterProducer | ( | ) |
|
inlineprivate |
|
virtual |
Implements edm::EDProducer.
Definition at line 37 of file ExampleClusterProducer.cc.
References algo_, clusterCollection_, edm::Event::getByLabel(), hitCollection_, hitProducer_, ExampleClusterAlgo::makeClusters(), and edm::Event::put().
|
private |
Definition at line 32 of file ExampleClusterProducer.h.
Referenced by ExampleClusterProducer(), produce(), and ~ExampleClusterProducer().
|
private |
Definition at line 36 of file ExampleClusterProducer.h.
Referenced by ExampleClusterProducer(), and produce().
|
private |
Definition at line 35 of file ExampleClusterProducer.h.
Referenced by ExampleClusterProducer(), and produce().
|
private |
Definition at line 34 of file ExampleClusterProducer.h.
Referenced by ExampleClusterProducer(), and produce().
|
private |
Definition at line 39 of file ExampleClusterProducer.h.
Referenced by counterExceeded().
|
private |
Definition at line 38 of file ExampleClusterProducer.h.
Referenced by counterExceeded(), and ExampleClusterProducer().