49 : lheProduct_(ps.getParameter<
edm::
InputTag>(
"lheProduct")),
50 lheFileName_(ps.getParameter<
std::
string>(
"lheFileName")),
58 const std::vector<std::string>& lheOutputs = LHEAscii->
getStrings();
60 unsigned int iout = 0;
66 for (
unsigned int i = 0;
i < lheOutputs.size(); ++
i) {
71 std::stringstream
fname;
72 fname << basename <<
"_" << iout;
87 std::stringstream
fname;
88 fname << basename <<
"_" << iout;
void beginRun(edm::Run const &, edm::EventSetup const &) override
ExternalLHEAsciiDumper(const edm::ParameterSet &)
const std::string lheFileName_
void analyze(const edm::Event &, const edm::EventSetup &) override
void writeCompressedContent(std::ostream &output, unsigned int i) const
const edm::InputTag lheProduct_
#define DEFINE_FWK_MODULE(type)
const std::vector< std::vector< uint8_t > > & getCompressed() const
const std::vector< std::string > & getStrings() const
~ExternalLHEAsciiDumper() override=default
void endRun(edm::Run const &, edm::EventSetup const &) override
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
const edm::EDGetTokenT< LHEXMLStringProduct > LHEAsciiToken_