84 produces<vector<int>>(
"jetPt" ).setBranchAlias(
"jetPt");
88 produces<l1t::JetRefVector>(
"l1tJetRef" ).setBranchAlias(
"l1tJetRef");
114 unique_ptr<vector<int>> jetMom (
new vector<int> );
123 jetMom->reserve( size );
127 for (iter = jets->
begin(0); iter != jets->
end(0); ++iter){
129 jetMom->push_back(iter->pt());
132 jetRef->push_back(myref);
const_iterator end(int bx) const
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
unsigned size(int bx) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~TestBXVectorRefProducer() override
unsigned int key(const_iterator &iter) const
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
void beginStream(edm::StreamID) override
TestBXVectorRefProducer(const edm::ParameterSet &)
edm::EDGetTokenT< l1t::JetBxCollection > token_
void produce(edm::Event &, const edm::EventSetup &) override
void endStream() override
const_iterator begin(int bx) const
std::vector< T >::const_iterator const_iterator