|
LDMX Software
|
Public Member Functions | |
| TrigScintGeometryProvider (const std::string &name, const std::string &tagname, const framework::config::Parameters ¶meters, framework::Process &process) | |
| virtual std::pair< const framework::ConditionsObject *, framework::ConditionsIOV > | getCondition (const ldmx::EventHeader &context) |
| Pure virtual getCondition function. | |
| virtual void | releaseConditionsObject (const framework::ConditionsObject *co) |
| Called by conditions system when done with a conditions object, appropriate point for cleanup. | |
| virtual void | onNewRun (ldmx::RunHeader &rh) |
| Callback for the ConditionsObjectProvider to take any necessary action when the processing of events starts for a given run. | |
Public Member Functions inherited from framework::ConditionsObjectProvider | |
| DECLARE_FACTORY (ConditionsObjectProvider, std::shared_ptr< ConditionsObjectProvider >, const std::string &, const std::string &, const framework::config::Parameters &, Process &) | |
| declare that we have a factory for these types of classes | |
| ConditionsObjectProvider (const std::string &objname, const std::string &tagname, const framework::config::Parameters ¶meters, Process &process) | |
| Class constructor. | |
| virtual | ~ConditionsObjectProvider ()=default |
| Class destructor. | |
| 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. | |
| const std::string & | getConditionObjectName () const |
| Get the list of conditions objects available from this provider. | |
| const std::string & | getTagName () const |
| Access the tag name. | |
Private Attributes | |
| framework::config::Parameters | params_ |
| std::string | detector_geometry_ |
| ldmx::TrigScintGeometry * | ts_geometry_ |
Additional Inherited Members | |
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 | the_log_ |
| The logger for this ConditionsObjectProvider. | |
Definition at line 16 of file TrigScintGeometryProvider.cxx.
| trigscint::TrigScintGeometryProvider::TrigScintGeometryProvider | ( | const std::string & | name, |
| const std::string & | tagname, | ||
| const framework::config::Parameters & | parameters, | ||
| framework::Process & | process ) |
Definition at line 56 of file TrigScintGeometryProvider.cxx.
|
virtual |
Definition at line 69 of file TrigScintGeometryProvider.cxx.
|
virtual |
Pure virtual getCondition function.
Must be implemented by any Conditions providers.
Implements framework::ConditionsObjectProvider.
Definition at line 75 of file TrigScintGeometryProvider.cxx.
References framework::config::Parameters::exists(), framework::config::Parameters::get(), ldmx::EventHeader::getRun(), and framework::config::Parameters::keys().
|
inlinevirtual |
Callback for the ConditionsObjectProvider to take any necessary action when the processing of events starts for a given run.
Reimplemented from framework::ConditionsObjectProvider.
Definition at line 30 of file TrigScintGeometryProvider.cxx.
References ldmx::RunHeader::getDetectorName().
|
inlinevirtual |
Called by conditions system when done with a conditions object, appropriate point for cleanup.
Reimplemented from framework::ConditionsObjectProvider.
Definition at line 28 of file TrigScintGeometryProvider.cxx.
|
private |
Definition at line 52 of file TrigScintGeometryProvider.cxx.
|
private |
Definition at line 51 of file TrigScintGeometryProvider.cxx.
|
private |
Definition at line 53 of file TrigScintGeometryProvider.cxx.