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;
70 LOG_DEBUG(
"ServiceTable") <<
"Applying edits for " 82 s.fService->do_reconfigure(pset);
83 s.fCurrentParamSet = pset;
86 LOG_ERROR(
"ServiceTable") <<
"Error parsing the new configuration:\n" 88 <<
"\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()
Collection of Services used in the event display.
cet::exempt_ptr< Reconfigurable > fService
static std::map< std::string, int > fgCategoryOverrides
void Edit(unsigned int i)
void make_ParameterSet(intermediate_table const &tbl, ParameterSet &ps)
Manage all things related to colors for the event display.
#define LOG_ERROR(category)
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