72 produces<vector<int>>(
"jetPt").setBranchAlias(
"jetPt");
75 produces<l1t::JetRefVector>(
"l1tJetRef").setBranchAlias(
"l1tJetRef");
87 unique_ptr<vector<int>> jetMom(
new vector<int>);
97 jetMom->reserve(
size);
101 for (iter =
jets->begin(0); iter !=
jets->end(0); ++iter) {
102 jetMom->push_back(iter->pt());
105 jetRef->push_back(myref);
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< T >::const_iterator const_iterator
void addDefault(ParameterSetDescription const &psetDescription)
#define DEFINE_FWK_MODULE(type)
TestBXVectorRefProducer(const edm::ParameterSet &)
edm::EDGetTokenT< l1t::JetBxCollection > token_
void produce(edm::Event &, const edm::EventSetup &) override