16 produces<std::vector<reco::GenMET> >();
30 if(src->size()==0)
edm::LogError(
"GenMETExtractor::produce") <<
"input genMET collection is empty" ;
34 std::vector<reco::GenMET> *genMetCol =
new std::vector<reco::GenMET>();
35 genMetCol->push_back( (*genMet) );
37 std::auto_ptr<std::vector<reco::GenMET> > genMETs(genMetCol);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
TLorentzVector genMet(const HepMC::GenEvent *all, double etamin=-9999., double etamax=9999.)