LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Interface to a service with detector-specific geometry knowledge. More...
#include "ExptGeoHelperInterface.h"
Public Types | |
using | ChannelMapAlgPtr_t = std::unique_ptr< ChannelMapAlg > |
Public Member Functions | |
virtual | ~ExptGeoHelperInterface ()=default |
Virtual destructor; does nothing. More... | |
ChannelMapAlgPtr_t | ConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const |
Configure and initialize the channel map. More... | |
Private Member Functions | |
virtual ChannelMapAlgPtr_t | doConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const =0 |
Interface to a service with detector-specific geometry knowledge.
This is an interface to a service that virtualizes detector or experiment-specific knowledge that is required by the Geometry service. Experiments implement the private virtual function within a concrete service provider class to perform the specified actions as appropriate for the particular experiment.
It is expected that such requests will occur infrequently within a job. Calculations that occur frequently should be handled via interfaces that are passed back to the Geometry service.
Definition at line 55 of file ExptGeoHelperInterface.h.
using geo::ExptGeoHelperInterface::ChannelMapAlgPtr_t = std::unique_ptr<ChannelMapAlg> |
Definition at line 57 of file ExptGeoHelperInterface.h.
|
virtualdefault |
Virtual destructor; does nothing.
|
inline |
Configure and initialize the channel map.
sortingParameters | parameters for the channel map algorithm |
detectorName | name of detector described by geometry |
This method creates a new ChannelMapAlg according to the geometry and specified configuration.
Definition at line 71 of file ExptGeoHelperInterface.h.
References DECLARE_ART_SERVICE_INTERFACE, and detectorName.
|
privatepure virtual |
Implemented in geo::StandardGeometryHelper.