6 #include "DataFormats/TestObjects/interface/ThingCollection.h" 7 #include "DataFormats/TestObjects/interface/TrackOfThings.h" 28 void incrementKey(std::vector<unsigned int>::const_iterator&
key)
const;
39 produces<TrackOfThingsCollection>();
53 auto result = std::make_unique<TrackOfThingsCollection>();
61 for (
unsigned int i = 0;
i < 5; ++
i) {
62 edmtest::TrackOfThings trackOfThings;
81 trackOfThings.refToBaseVector1.push_back(
85 result->push_back(trackOfThings);
TrackOfThingsProducer(edm::ParameterSet const &)
~TrackOfThingsProducer() override
void produce(edm::Event &, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< ThingCollection > inputToken_
std::vector< unsigned int > keysToReference_
void incrementKey(std::vector< unsigned int >::const_iterator &key) const