30 : egamma_tracksters_token_(
32 general_tracksters_token_(
34 produces<std::vector<Trackster>>();
38 auto resultTracksters = std::make_unique<std::vector<Trackster>>();
41 for (
auto const &eg_trackster : egamma_tracksters) {
42 resultTracksters->push_back(eg_trackster);
44 for (
auto const &had_trackster : had_tracksters) {
45 resultTracksters->push_back(had_trackster);
55 descriptions.
add(
"mergedTrackstersProducer",
desc);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< std::vector< Trackster > > egamma_tracksters_token_
bool get(ProductID const &oid, Handle< PROD > &result) const
MergedTrackstersProducer(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< std::vector< Trackster > > general_tracksters_token_
void produce(edm::Event &, const edm::EventSetup &) override
~MergedTrackstersProducer() override