24 std::unordered_map<std::string, std::unique_ptr<SensitiveDetectorMakerBase>> retValue;
25 if (chosenMakers.empty()) {
29 if (infosItr == categoriesToInfo.end()) {
31 <<
"When trying to load all SensitiveDetectorMakerBase, no plugins found";
33 for (
auto const&
info : infosItr->second) {
38 for (
auto const&
name : chosenMakers) {
const CategoryToInfos & categoryToInfos() const
static const char category[]
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > sensitiveDetectorMakers(edm::ParameterSet const &, edm::ConsumesCollector, std::vector< std::string > const &chosenMakers)
static PluginManager * get()