27 tokenPFCandidates_ = consumes<PFCandidateCollection>(inputTagPFCandidates_);
29 produces<METCollection>();
32 <<
" input collection : "<<inputTagPFCandidates_ ;
49 <<
" in run "<<iEvent.
id().
run()<<endl;
56 iEvent.
getByToken( tokenPFCandidates_, pfCandidates);
58 unique_ptr< METCollection >
63 pOutput->push_back( pfMETAlgo_.produce( *pfCandidates ) );
67 <<
" in run "<<iEvent.
id().
run()<<endl;
T getParameter(std::string const &) const
EventNumber_t event() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< reco::MET > METCollection
collection of MET objects
PFMET(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override