80 produces<vector<int>>(
"jetPt").setBranchAlias(
"jetPt");
83 produces<l1t::JetRefVector>(
"l1tJetRef").setBranchAlias(
"l1tJetRef");
100 unique_ptr<vector<int>> jetMom(
new vector<int>);
110 jetMom->reserve(
size);
114 for (iter =
jets->begin(0); iter !=
jets->end(0); ++iter) {
115 jetMom->push_back(iter->pt());
118 jetRef->push_back(myref);
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~TestBXVectorRefProducer() override
std::vector< T >::const_iterator const_iterator
void addDefault(ParameterSetDescription const &psetDescription)
void beginStream(edm::StreamID) override
#define DEFINE_FWK_MODULE(type)
TestBXVectorRefProducer(const edm::ParameterSet &)
edm::EDGetTokenT< l1t::JetBxCollection > token_
void produce(edm::Event &, const edm::EventSetup &) override
void endStream() override