8 : mStream (parameters.getParameter<
std::
string>(
"stoppedFile").c_str()),
9 mProducer (parameters.getUntrackedParameter<
std::
string>(
"producer",
"g4SimHits"))
30 if (names->size() != xs->size() || xs->size() != ys->size() || ys->size() != zs->size()) {
31 edm::LogError (
"RHStopDump") <<
"mismatch array sizes name/x/y/z:" 32 << names->size() <<
'/' << xs->size() <<
'/' << ys->size() <<
'/' << zs->size()
36 for (
size_t i = 0;
i < names->size(); ++
i) {
37 mStream << (*names)[
i] <<
' ' << (*xs)[
i] <<
' ' << (*ys)[
i] <<
' ' << (*zs)[
i] <<
' ' << (*ts)[
i] << std::endl;
38 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