11 #include <boost/algorithm/string.hpp> 75 const std::vector<std::string>& lheOutputs = LHEAscii->
getStrings();
77 unsigned int iout = 0;
83 for (
unsigned int i = 0;
i < lheOutputs.size(); ++
i){
88 std::stringstream
fname;
89 fname << basename <<
"_" << iout ;
94 outfile << lheOutputs[
i];
104 std::stringstream
fname;
105 fname << basename <<
"_" << iout ;
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
const std::vector< std::string > & getStrings() const
~ExternalLHEAsciiDumper()
const std::vector< std::vector< uint8_t > > & getCompressed() const
void writeCompressedContent(std::ostream &output, unsigned int i) const
virtual void endRun(edm::Run const &, edm::EventSetup const &) override
edm::InputTag lheProduct_