Interface to a service with detector-specific geometry knowledge. More...
#include <AuxDetExptGeoHelperInterface.h>
Public Types | |
using | AuxDetChannelMapAlgPtr_t = std::shared_ptr< const seg::AuxDetChannelMapAlg > |
Public Member Functions | |
virtual | ~AuxDetExptGeoHelperInterface ()=default |
Virtual destructor; does nothing. More... | |
void | ConfigureAuxDetChannelMapAlg (fhicl::ParameterSet const &sortingParameters, geo::AuxDetGeometryCore *geom) |
Configure and initialize the channel map. More... | |
AuxDetChannelMapAlgPtr_t | GetAuxDetChannelMapAlg () const |
Private Member Functions | |
virtual void | doConfigureAuxDetChannelMapAlg (fhicl::ParameterSet const &sortingParameters, geo::AuxDetGeometryCore *geom)=0 |
Implementation of ConfigureChannelMapAlg (pure virtual) More... | |
virtual AuxDetChannelMapAlgPtr_t | doGetAuxDetChannelMapAlg () 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 59 of file AuxDetExptGeoHelperInterface.h.
using gar::geo::AuxDetExptGeoHelperInterface::AuxDetChannelMapAlgPtr_t = std::shared_ptr<const seg::AuxDetChannelMapAlg> |
Definition at line 62 of file AuxDetExptGeoHelperInterface.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 100 of file AuxDetExptGeoHelperInterface.h.
|
privatepure virtual |
Implementation of ConfigureChannelMapAlg (pure virtual)
Implemented in gar::geo::AuxDetGeometryHelperExample.
|
privatepure virtual |
Returns the ChannelMapAlg.
Implemented in gar::geo::AuxDetGeometryHelperExample.
|
inline |
Returns null pointer if the initialization failed NOTE: the sub-class owns the ChannelMapAlg object
Definition at line 106 of file AuxDetExptGeoHelperInterface.h.