LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Collection of Services used in the event display. More...
#include "ServiceTable.h"
Public Member Functions | |
void | RegisterService (fhicl::ParameterSet const &ps, cet::exempt_ptr< Reconfigurable > s) |
void | Edit (unsigned int i) |
void | ApplyEdits () |
fhicl::ParameterSet const & | GetParameterSet (unsigned int i) const |
Static Public Member Functions | |
static ServiceTable & | Instance () |
static bool | IsDrawingService (std::string const &s) |
static void | OverrideCategory (std::string const &s, int cat) |
Public Attributes | |
std::vector< ServiceTableEntry > | fServices |
Private Member Functions | |
ServiceTable () | |
Static Private Attributes | |
static std::map< std::string, int > | fgCategoryOverrides |
Collection of Services used in the event display.
Definition at line 36 of file ServiceTable.h.
|
private |
Definition at line 111 of file ServiceTable.cxx.
void ServiceTable::ApplyEdits | ( | ) |
Definition at line 64 of file ServiceTable.cxx.
References e, fServices, LOG_DEBUG, LOG_ERROR, fhicl::make_ParameterSet(), and s.
Referenced by evdb::EventDisplay::postProcessEvent().
void ServiceTable::Edit | ( | unsigned int | i | ) |
Definition at line 56 of file ServiceTable.cxx.
References fServices.
Referenced by evdb::EditMenu::MenuSelect().
fhicl::ParameterSet const & ServiceTable::GetParameterSet | ( | unsigned int | i | ) | const |
Definition at line 103 of file ServiceTable.cxx.
References fServices.
Referenced by evdb::ParameterSetEditFrame::ParameterSetEditFrame().
|
static |
Definition at line 48 of file ServiceTable.cxx.
References s.
Referenced by evdb::ParameterSetEditDialog::Apply(), evdb::EditMenu::MenuSelect(), evdb::ParameterSetEditDialog::ParameterSetEditDialog(), evdb::ParameterSetEditFrame::ParameterSetEditFrame(), evdb::EventDisplay::postProcessEvent(), evdb::Reconfigurable::Reconfigurable(), and evdb::EditMenu::SetServices().
|
static |
Definition at line 23 of file ServiceTable.cxx.
References fgCategoryOverrides, and evdb::kDRAWING_SERVICE.
Referenced by RegisterService().
|
static |
Definition at line 96 of file ServiceTable.cxx.
References fgCategoryOverrides, and s.
void ServiceTable::RegisterService | ( | fhicl::ParameterSet const & | ps, |
cet::exempt_ptr< Reconfigurable > | s | ||
) |
Definition at line 33 of file ServiceTable.cxx.
References evdb::ServiceTableEntry::fCategory, evdb::ServiceTableEntry::fCurrentParamSet, evdb::ServiceTableEntry::fName, evdb::ServiceTableEntry::fParamSet, evdb::ServiceTableEntry::fService, fServices, fhicl::ParameterSet::get(), IsDrawingService(), evdb::kDRAWING_SERVICE, evdb::kEXPERIMENT_SERVICE, and s.
Referenced by evdb::Reconfigurable::Reconfigurable().
|
staticprivate |
Definition at line 53 of file ServiceTable.h.
Referenced by IsDrawingService(), and OverrideCategory().
std::vector<ServiceTableEntry> evdb::ServiceTable::fServices |
Definition at line 50 of file ServiceTable.h.
Referenced by evdb::ParameterSetEditDialog::Apply(), ApplyEdits(), Edit(), GetParameterSet(), evdb::ParameterSetEditDialog::ParameterSetEditDialog(), RegisterService(), and evdb::EditMenu::SetServices().