10 const std::string& objname,
const std::string& tagname,
12 : theLog_{logging::makeLogger(objname)},
17std::pair<const ConditionsObject*, ConditionsIOV>
22 return std::make_pair(obj, iov);
Base class for provider of conditions information like pedestals, gains, electronics maps,...
Class which provides a singleton module factory that creates EventProcessor objects.
Class which represents the process under execution.
Class which defines the run/event/type range for which a given condition is valid,...
static const int CLASSTYPE
Constant used to types by the PluginFactory.
std::pair< const ConditionsObject *, ConditionsIOV > requestParentCondition(const std::string &name, const ldmx::EventHeader &context)
Request another condition needed to construct this condition.
ConditionsObjectProvider(const std::string &objname, const std::string &tagname, const framework::config::Parameters ¶meters, Process &process)
Class constructor.
static void declare(const std::string &classname, ConditionsObjectProviderMaker *)
Internal function which is part of the PluginFactory machinery.
Process & process_
Handle to the Process.
Base class for all conditions objects, very simple.
const ConditionsObject * getConditionPtr(const std::string &condition_name)
Primary request action for a conditions object If the object is in the cache and still valid (IOV),...
ConditionsIOV getConditionIOV(const std::string &condition_name) const
Access the IOV for the given condition.
void registerConditionsObjectProvider(const std::string &classname, int classtype, ConditionsObjectProviderMaker *maker)
Register a conditions object provider.
static PluginFactory & getInstance()
Get the factory instance.
Class which represents the process under execution.
Conditions & getConditions()
Get a reference to the conditions system.
Class encapsulating parameters for configuring a processor.
All classes in the ldmx-sw project use this namespace.
ConditionsObjectProvider * ConditionsObjectProviderMaker(const std::string &objname, const std::string &tagname, const framework::config::Parameters ¶ms, Process &process)
Typedef for PluginFactory use.