41 params.getUntrackedParameter<edm::
InputTag>(
"moduleLabel", std::
string(
"source")))),
43 params.getUntrackedParameter<edm::
InputTag>(
"moduleLabel", std::
string(
"source")))) {}
57 std::copy(product->begin(), product->end(), std::ostream_iterator<std::string>(
file));
63 system(
"cat writer1.lhe >> writer.lhe");
64 system(
"rm -rf writer1.lhe");
72 std::copy(product->begin(), product->end(), std::ostream_iterator<std::string>(
file1));
edm::EDGetTokenT< LHEEventProduct > tokenLHEEvent_
#define DEFINE_FWK_MODULE(type)
void endRun(const edm::Run &run, const edm::EventSetup &es) override
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
void analyze(const edm::Event &event, const edm::EventSetup &es) override
LHEWriter(const edm::ParameterSet ¶ms)
edm::EDGetTokenT< LHERunInfoProduct > tokenLHERunInfo_
static const std::string & endOfFile()