LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Interface to a service with detector-specific geometry knowledge. More...
#include "ExptGeoHelperInterface.h"
Public Types | |
using | ChannelMapAlgPtr_t = std::shared_ptr< const ChannelMapAlg > |
Public Member Functions | |
virtual | ~ExptGeoHelperInterface ()=default |
Virtual destructor; does nothing. More... | |
void | ConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, geo::GeometryCore *geom) |
Configure and initialize the channel map. More... | |
ChannelMapAlgPtr_t | GetChannelMapAlg () const |
Private Member Functions | |
virtual void | doConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, geo::GeometryCore *geom)=0 |
Implementation of ConfigureChannelMapAlg (pure virtual) More... | |
virtual ChannelMapAlgPtr_t | doGetChannelMapAlg () const =0 |
Returns the ChannelMapAlg. More... | |
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 functions 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 61 of file ExptGeoHelperInterface.h.
using geo::ExptGeoHelperInterface::ChannelMapAlgPtr_t = std::shared_ptr<const ChannelMapAlg> |
Definition at line 64 of file ExptGeoHelperInterface.h.
|
virtualdefault |
Virtual destructor; does nothing.
|
inline |
Configure and initialize the channel map.
sortingParameters | parameters for the channel map algorithm |
geom | pointer to a geometry description object |
This method creates a new ChannelMapAlg according to the geometry and specified configuration, then it configures the geometry itself according to the channel map (usually, it resorts the data).
Definition at line 107 of file ExptGeoHelperInterface.h.
References doConfigureChannelMapAlg().
|
privatepure virtual |
Implementation of ConfigureChannelMapAlg (pure virtual)
Implemented in geo::StandardGeometryHelper.
Referenced by ConfigureChannelMapAlg().
|
privatepure virtual |
Returns the ChannelMapAlg.
Implemented in geo::StandardGeometryHelper.
Referenced by GetChannelMapAlg().
|
inline |
Returns null pointer if the initialization failed NOTE: the sub-class owns the ChannelMapAlg object
Definition at line 114 of file ExptGeoHelperInterface.h.
References DECLARE_ART_SERVICE_INTERFACE, and doGetChannelMapAlg().