35 src_ (PSet.getParameter<
edm::InputTag>(
"src")),
38 produces<reco::PFJetCollection>();
47 descriptions.
add(
"BasicToPFJet",desc);
57 auto PFJetColl = std::make_unique<reco::PFJetCollection>();
63 reco::BasicJetCollection::const_iterator
i = BasicJetColl->begin();
66 for(; i!=BasicJetColl->end(); i++){
68 PFJetColl->push_back(pfjet);
const edm::EDGetTokenT< reco::BasicJetCollection > inputToken_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
BasicToPFJet(const edm::ParameterSet &PSet)
Jets made from PFObjects.
void produce(edm::Event &event, const edm::EventSetup &EventSetup) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< BasicJet > BasicJetCollection
collection of BasicJet objects