26 : inputTrack_(consumes(iConfig.getParameter<edm::
InputTag>(
"src"))),
27 inputAssoc_(consumes(iConfig.getParameter<edm::
InputTag>(
"association"))),
40 if (!assoc.contains(
track.extra().id())) {
45 auto &trackout = tracksOut.emplace_back(
track);
46 trackout.setExtra(trackextraref);
54 desc.
setComment(
"Simple prooducer to re-key muon tracks for refit");
57 ->setComment(
"input track association collection");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
bool isNonnull() const
Checks for non-null.
#define DEFINE_FWK_MODULE(type)
std::vector< Track > TrackCollection
collection of Tracks
auto const & tracks
cannot be loose
void setComment(std::string const &value)
bool get(ProductID const &oid, Handle< PROD > &result) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product