8 : mStream(parameters.getParameter<
std::
string>(
"stoppedFile").c_str()),
9 mProducer(parameters.getUntrackedParameter<
std::
string>(
"producer",
"g4SimHits")) {}
29 if (names->size() != xs->size() || xs->size() != ys->size() || ys->size() != zs->size()) {
30 edm::LogError(
"RHStopDump") <<
"mismatch array sizes name/x/y/z:" << names->size() <<
'/' << xs->size() <<
'/' 31 << ys->size() <<
'/' << zs->size() << std::endl;
33 for (
size_t i = 0;
i < names->size(); ++
i) {
34 mStream << (*names)[
i] <<
' ' << (*xs)[
i] <<
' ' << (*ys)[
i] <<
' ' << (*zs)[
i] <<
' ' << (*ts)[
i] << std::endl;
35 mStream << (*ids)[
i] <<
' ' << (*masses)[
i] <<
' ' << (*charges)[
i] << std::endl;
void analyze(const edm::Event &, const edm::EventSetup &) override
const std::string names[nVars_]
RHStopDump(const edm::ParameterSet &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const