23 const auto& algoNames = iConfig.
getParameter<std::vector<std::string> >(
"algoOrder");
25 for(
const auto&
name: algoNames) {
40 desc.
add<std::vector<std::string> >(
"algoOrder", std::vector<std::string>());
41 descriptions.
add(
"trackAlgoPriorityOrderDefault", desc);
45 return std::make_unique<TrackAlgoPriorityOrder>(
algoOrder_);
T getParameter(std::string const &) const
std::vector< reco::TrackBase::TrackAlgorithm > algoOrder_
std::unique_ptr< TrackAlgoPriorityOrder > produce(const CkfComponentsRecord &iRecord)
TrackAlgoPriorityOrderESProducer(const edm::ParameterSet &iConfig)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static TrackAlgorithm algoByName(const std::string &name)
~TrackAlgoPriorityOrderESProducer() override=default