LDMX Software
|
Public Member Functions | |
GeometryContextProvider (const std::string &name, const std::string &tagname, const framework::config::Parameters ¶meters, framework::Process &process) | |
Create the context conditions object. | |
std::pair< const framework::ConditionsObject *, framework::ConditionsIOV > | getCondition (const ldmx::EventHeader &context) final override |
Get the context as a conditions object. | |
Public Member Functions inherited from framework::ConditionsObjectProvider | |
ConditionsObjectProvider (const std::string &objname, const std::string &tagname, const framework::config::Parameters ¶meters, Process &process) | |
Class constructor. | |
virtual | ~ConditionsObjectProvider () |
Class destructor. | |
virtual void | releaseConditionsObject (const ConditionsObject *co) |
Called by conditions system when done with a conditions object, appropriate point for cleanup. | |
virtual void | onProcessStart () |
Callback for the ConditionsObjectProvider to take any necessary action when the processing of events starts. | |
virtual void | onProcessEnd () |
Callback for the ConditionsObjectProvider to take any necessary action when the processing of events finishes, such as closing database connections. | |
virtual void | onNewRun (ldmx::RunHeader &) |
Callback for the ConditionsObjectProvider to take any necessary action when the processing of events starts for a given run. | |
const std::string & | getConditionObjectName () const |
Get the list of conditions objects available from this provider. | |
const std::string & | getTagName () const |
Access the tag name. | |
Additional Inherited Members | |
Static Public Member Functions inherited from framework::ConditionsObjectProvider | |
static void | declare (const std::string &classname, ConditionsObjectProviderMaker *) |
Internal function which is part of the PluginFactory machinery. | |
Static Public Attributes inherited from framework::ConditionsObjectProvider | |
static const int | CLASSTYPE {10} |
Constant used to types by the PluginFactory. | |
Protected Member Functions inherited from framework::ConditionsObjectProvider | |
std::pair< const ConditionsObject *, ConditionsIOV > | requestParentCondition (const std::string &name, const ldmx::EventHeader &context) |
Request another condition needed to construct this condition. | |
const Process & | process () const |
Get the process handle. | |
Protected Attributes inherited from framework::ConditionsObjectProvider | |
logging::logger | theLog_ |
The logger for this ConditionsObjectProvider. | |
Definition at line 68 of file GeometryContext.cxx.
|
inline |
Create the context conditions object.
[in] | name | the name of this provider |
[in] | tagname | the name of the tag generation of this condition |
[in] | parameters | configuration parameters from python |
[in] | process | reference to the running process object |
Definition at line 78 of file GeometryContext.cxx.
|
inlinefinaloverridevirtual |
Get the context as a conditions object.
We just create a new context without any parameters and return the unlimited interval of validity.
[in] | context | EventHeader for the event context |
Implements framework::ConditionsObjectProvider.
Definition at line 94 of file GeometryContext.cxx.