42 if len(__datatypes__) > 1:
44 for dtype
in __datatypes__:
45 datatypes.append(
"boost::auto_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]
100 using namespace edm::es;
104 for dtype
in __datatypes__:
105 out1.append(
" std::auto_ptr<%s> p%s;" % (dtype, dtype))
106 out2.append(
"p%s" % dtype)
108 output +=
"\n return products(%s);\n" %
','.join(out2)
virtual void produce(edm::Event &, const edm::EventSetup &) override
virtual Status endOfLoop(const edm::EventSetup &)
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
virtual Status duringLoop(const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_LOOPER(type)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
if virtual len(__datatypes__) > 1 void beginOfJob()
std::map< DetId, double > ReturnType
virtual void startingNewLoop(unsigned int)