Definition at line 16 of file MergedTrackstersProducer.cc.
◆ MergedTrackstersProducer()
Definition at line 29 of file MergedTrackstersProducer.cc.
34 produces<std::vector<Trackster>>();
T getParameter(std::string const &) const
edm::EDGetTokenT< std::vector< Trackster > > egamma_tracksters_token_
edm::EDGetTokenT< std::vector< Trackster > > general_tracksters_token_
◆ ~MergedTrackstersProducer()
MergedTrackstersProducer::~MergedTrackstersProducer |
( |
| ) |
|
|
inlineoverride |
◆ fillDescriptions()
◆ produce()
Definition at line 37 of file MergedTrackstersProducer.cc.
References egamma_tracksters_token_, general_tracksters_token_, edm::Event::get(), eostools::move(), and edm::Event::put().
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);
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
edm::EDGetTokenT< std::vector< Trackster > > general_tracksters_token_
◆ egamma_tracksters_token_
◆ general_tracksters_token_