1 #ifndef RecoTracker_TkSeedGenerator_SeedCreatorFromRegionHitsEDProducerT_H 2 #define RecoTracker_TkSeedGenerator_SeedCreatorFromRegionHitsEDProducerT_H 20 template <
typename T_SeedCreator>
37 template <
typename T_SeedCreator>
47 produces<TrajectorySeedCollection>();
50 template <
typename T_SeedCreator>
62 auto label =
std::string(
"seedCreatorFromRegion") + T_SeedCreator::fillDescriptionsLabel() +
"EDProducer";
63 descriptions.
add(label, desc);
66 template <
typename T_SeedCreator>
72 auto seeds = std::make_unique<TrajectorySeedCollection>();
92 seeds->shrink_to_fit();
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
def create(alignables, pedeDump, additionalData, outputFile, config)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void setAllowAnything()
allow any parameter label/value pairs
T_SeedCreator seedCreator_
edm::EDGetTokenT< RegionsSeedingHitSets > seedingHitSetsToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void reserve(size_t nregions, size_t nhitsets)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< SeedComparitor > comparitor_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
SeedCreatorFromRegionHitsEDProducerT(const edm::ParameterSet &iConfig)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
~SeedCreatorFromRegionHitsEDProducerT() override=default
T get(const Candidate &c)