LDMX Software
|
Public Member Functions | |
EcalGeometryProvider (const std::string &name, const std::string &tagname, const framework::config::Parameters ¶meters, framework::Process &process) | |
Class constructor. | |
virtual | ~EcalGeometryProvider () |
Destructor. | |
virtual std::pair< const framework::ConditionsObject *, framework::ConditionsIOV > | getCondition (const ldmx::EventHeader &context) |
Provides access to the EcalGeometry or EcalTriggerGeometry. | |
virtual void | releaseConditionsObject (const framework::ConditionsObject *co) |
Take no action on release, as the object is permanently owned by the Provider. | |
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 | |
ConditionsObjectProvider (const std::string &objname, const std::string &tagname, const framework::config::Parameters ¶meters, Process &process) | |
Class constructor. | |
virtual | ~ConditionsObjectProvider () |
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 | |
std::vector< framework::config::Parameters > | geometries_ |
parameters for the various geometry versions we can support | |
std::string | detectorGeometry_ |
Geometry as last used. | |
ldmx::EcalGeometry * | ecalGeometry_ |
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 17 of file EcalGeometryProvider.cxx.
ecal::EcalGeometryProvider::EcalGeometryProvider | ( | const std::string & | name, |
const std::string & | tagname, | ||
const framework::config::Parameters & | parameters, | ||
framework::Process & | process | ||
) |
Class constructor.
parameters | – uses the "EcalGeometry" section to configure the EcalGeometry |
Definition at line 72 of file EcalGeometryProvider.cxx.
References geometries_, and framework::config::Parameters::getParameter().
|
virtual |
Destructor.
Definition at line 85 of file EcalGeometryProvider.cxx.
|
virtual |
Provides access to the EcalGeometry or EcalTriggerGeometry.
Implements framework::ConditionsObjectProvider.
Definition at line 91 of file EcalGeometryProvider.cxx.
References detectorGeometry_, geometries_, and ldmx::EventHeader::getRun().
|
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 47 of file EcalGeometryProvider.cxx.
References detectorGeometry_, and ldmx::RunHeader::getDetectorName().
|
inlinevirtual |
Take no action on release, as the object is permanently owned by the Provider.
Reimplemented from framework::ConditionsObjectProvider.
Definition at line 45 of file EcalGeometryProvider.cxx.
|
private |
Geometry as last used.
Definition at line 68 of file EcalGeometryProvider.cxx.
Referenced by getCondition(), and onNewRun().
|
private |
Definition at line 69 of file EcalGeometryProvider.cxx.
|
private |
parameters for the various geometry versions we can support
Definition at line 66 of file EcalGeometryProvider.cxx.
Referenced by EcalGeometryProvider(), and getCondition().