LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
geo::StandardGeometryHelper Class Reference

Simple implementation of channel mapping. More...

#include "StandardGeometryHelper.h"

Inheritance diagram for geo::StandardGeometryHelper:
geo::ExptGeoHelperInterface

Public Types

using ChannelMapAlgPtr_t = std::unique_ptr< ChannelMapAlg >
 

Public Member Functions

 StandardGeometryHelper (fhicl::ParameterSet const &pset)
 
ChannelMapAlgPtr_t ConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const
 Configure and initialize the channel map. More...
 

Private Member Functions

ChannelMapAlgPtr_t doConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override
 

Detailed Description

Simple implementation of channel mapping.

This ExptGeoHelperInterface implementation serves a ChannelMapStandardAlg for experiments that are known to work well with it.

Definition at line 27 of file StandardGeometryHelper.h.

Member Typedef Documentation

Definition at line 57 of file ExptGeoHelperInterface.h.

Constructor & Destructor Documentation

geo::StandardGeometryHelper::StandardGeometryHelper ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 21 of file StandardGeometryHelper.cc.

21 {}

Member Function Documentation

ChannelMapAlgPtr_t geo::ExptGeoHelperInterface::ConfigureChannelMapAlg ( fhicl::ParameterSet const &  sortingParameters,
std::string const &  detectorName 
) const
inlineinherited

Configure and initialize the channel map.

Parameters
sortingParametersparameters for the channel map algorithm
detectorNamename of detector described by geometry
Returns
a (shared) pointer to the channel mapping algorithm

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.

73  {
74  return doConfigureChannelMapAlg(sortingParameters, detectorName);
75  }
virtual ChannelMapAlgPtr_t doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const =0
std::string detectorName
StandardGeometryHelper::ChannelMapAlgPtr_t geo::StandardGeometryHelper::doConfigureChannelMapAlg ( fhicl::ParameterSet const &  sortingParameters,
std::string const &  detectorName 
) const
overrideprivatevirtual

Implements geo::ExptGeoHelperInterface.

Definition at line 24 of file StandardGeometryHelper.cc.

27  {
28  mf::LogInfo("StandardGeometryHelper") << "Loading channel mapping: ChannelMapStandardAlg";
29  return std::make_unique<geo::ChannelMapStandardAlg>(sortingParameters);
30  }
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo

The documentation for this class was generated from the following files: