28 return (s.find(
"DrawingOptions")!=std::string::npos);
34 cet::exempt_ptr<Reconfigurable> s)
37 entry.
fName = ps.
get<std::string>(
"service_type");
68 if (s.fParamSet.empty())
continue;
83 s.fService->do_reconfigure(pset);
84 s.fCurrentParamSet = pset;
87 MF_LOG_ERROR(
"ServiceTable") <<
"Error parsing the new configuration:\n" 89 <<
"\nRe-configuration has been ignored for service: " void RegisterService(fhicl::ParameterSet const &ps, cet::exempt_ptr< Reconfigurable > s)
static constexpr int kDRAWING_SERVICE
static ServiceTable & Instance()
static ParameterSet make(intermediate_table const &tbl)
Collection of Services used in the event display.
cet::exempt_ptr< Reconfigurable > fService
Interface to services and their configurations.
static std::map< std::string, int > fgCategoryOverrides
#define MF_LOG_ERROR(category)
void Edit(unsigned int i)
Manage all things related to colors for the event display.
static constexpr int kEXPERIMENT_SERVICE
static bool IsDrawingService(std::string const &s)
Top-level interface to all parameter sets.
T get(std::string const &key) const
Pop-up window for editing parameter sets.
std::vector< ServiceTableEntry > fServices
fhicl::ParameterSet const & GetParameterSet(unsigned int i) const
fhicl::ParameterSet fCurrentParamSet
static void OverrideCategory(std::string const &s, int cat)
Information about a service required by the event display.
cet::coded_exception< error, detail::translate > exception