#include <SimMuon/Neutron/plugins/EmptyHepMCProducer.cc>
Public Member Functions | |
EmptyHepMCProducer (const edm::ParameterSet &) | |
~EmptyHepMCProducer () | |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Utility for neutron simulation framework. Creates an empty HepMCProduct to make MixingModule happy
Definition at line 33 of file EmptyHepMCProducer.cc.
EmptyHepMCProducer::EmptyHepMCProducer | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 48 of file EmptyHepMCProducer.cc.
{ produces<edm::HepMCProduct>(); }
EmptyHepMCProducer::~EmptyHepMCProducer | ( | ) | [inline] |
Definition at line 37 of file EmptyHepMCProducer.cc.
{};
void EmptyHepMCProducer::beginJob | ( | void | ) | [private, virtual] |
void EmptyHepMCProducer::endJob | ( | void | ) | [private, virtual] |
void EmptyHepMCProducer::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
Implements edm::EDProducer.
Definition at line 54 of file EmptyHepMCProducer.cc.
References edm::Event::put().
{ // create an empty output collection std::auto_ptr<edm::HepMCProduct> theOutput(new edm::HepMCProduct()); //theOutput->addHepMCData(theEvent); iEvent.put(theOutput); }