11 #include <boost/algorithm/string.hpp>
50 lheProduct_( ps.getParameter<edm::
InputTag>(
"lheProduct") ),
51 lheFileName_( ps.getParameter<std::
string>(
"lheFileName") )
75 const std::vector<std::string>& lheOutputs = LHEAscii->getStrings();
81 for (
unsigned int i = 0;
i < lheOutputs.size(); ++
i){
86 std::stringstream
fname;
87 fname << basename <<
"_" <<
i ;
89 fname <<
"." << extension;
92 outfile << lheOutputs[
i];
bool getByLabel(std::string const &label, Handle< PROD > &result) const
ExternalLHEAsciiDumper(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
~ExternalLHEAsciiDumper()
virtual void endRun(edm::Run const &, edm::EventSetup const &) override
edm::InputTag lheProduct_