42 if len(__datatypes__) > 1:
44 for dtype
in __datatypes__:
45 datatypes.append(
"std::shared_ptr<%s>" % dtype)
46 print " typedef edm::ESProducts<%s> ReturnType;" %
','.join(datatypes)
47 elif len(__datatypes__) == 1:
48 print " typedef std::shared_ptr<%s> ReturnType;" % __datatypes__[0]
94 using namespace edm::es;
98 for dtype
in __datatypes__:
99 out1.append(
" std::shared_ptr<%s> p%s;" % (dtype, dtype))
100 out2.append(
"p%s" % dtype)
102 output +=
"\n return products(%s);" %
','.join(out2)
virtual void produce(edm::Event &, const edm::EventSetup &) override
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::map< DetId, double > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)