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_);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::vector< reco::TrackBase::TrackAlgorithm > algoOrder_
std::unique_ptr< TrackAlgoPriorityOrder > produce(const CkfComponentsRecord &iRecord)
TrackAlgoPriorityOrderESProducer(const edm::ParameterSet &iConfig)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
#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