Interface to a service with detector-specific geometry knowledge. More...
#include <ExptGeoHelperInterface.h>
Public Types | |
using | ChannelMapAlgPtr_t = std::shared_ptr< const seg::ChannelMapAlg > |
using | SegmentationAlgPtr_t = std::shared_ptr< const seg::SegmentationAlg > |
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 |
void | ConfigureECALSegmentationAlg (fhicl::ParameterSet const &segParameters, geo::GeometryCore *geom) |
SegmentationAlgPtr_t | GetECALSegmentationAlg () const |
void | ConfigureMinervaSegmentationAlg (fhicl::ParameterSet const &segParameters, geo::GeometryCore *geom) |
SegmentationAlgPtr_t | GetMinervaSegmentationAlg () const |
void | ConfigureMuIDSegmentationAlg (fhicl::ParameterSet const &segParameters, geo::GeometryCore *geom) |
SegmentationAlgPtr_t | GetMuIDSegmentationAlg () const |
Private Member Functions | |
virtual void | doConfigureChannelMapAlg (fhicl::ParameterSet const &sortingParameters, gar::geo::GeometryCore *geom)=0 |
Implementation of ConfigureChannelMapAlg (pure virtual) More... | |
virtual ChannelMapAlgPtr_t | doGetChannelMapAlg () const =0 |
Returns the ChannelMapAlg. More... | |
virtual void | doConfigureECALSegmentationAlg (fhicl::ParameterSet const &segParameters, gar::geo::GeometryCore *geom)=0 |
Implementation of ConfigureECALSegmentationAlg (pure virtual) More... | |
virtual SegmentationAlgPtr_t | doGetECALSegmentationAlg () const =0 |
Returns the ECAL SegmentationAlg. More... | |
virtual void | doConfigureMinervaSegmentationAlg (fhicl::ParameterSet const &segParameters, gar::geo::GeometryCore *geom)=0 |
Implementation of ConfigureECALSegmentationAlg (pure virtual) More... | |
virtual SegmentationAlgPtr_t | doGetMinervaSegmentationAlg () const =0 |
Returns the Tracker Sc SegmentationAlg. More... | |
virtual void | doConfigureMuIDSegmentationAlg (fhicl::ParameterSet const &segParameters, gar::geo::GeometryCore *geom)=0 |
Implementation of ConfigureECALSegmentationAlg (pure virtual) More... | |
virtual SegmentationAlgPtr_t | doGetMuIDSegmentationAlg () const =0 |
Returns the MuID SegmentationAlg. 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 64 of file ExptGeoHelperInterface.h.
using gar::geo::ExptGeoHelperInterface::ChannelMapAlgPtr_t = std::shared_ptr<const seg::ChannelMapAlg> |
Definition at line 67 of file ExptGeoHelperInterface.h.
using gar::geo::ExptGeoHelperInterface::SegmentationAlgPtr_t = std::shared_ptr<const seg::SegmentationAlg> |
Definition at line 68 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 141 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 154 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 167 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 180 of file ExptGeoHelperInterface.h.
|
privatepure virtual |
Implementation of ConfigureChannelMapAlg (pure virtual)
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Implementation of ConfigureECALSegmentationAlg (pure virtual)
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Implementation of ConfigureECALSegmentationAlg (pure virtual)
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Implementation of ConfigureECALSegmentationAlg (pure virtual)
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Returns the ChannelMapAlg.
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Returns the ECAL SegmentationAlg.
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Returns the Tracker Sc SegmentationAlg.
Implemented in gar::geo::StandardGeometryHelperGAr.
|
privatepure virtual |
Returns the MuID SegmentationAlg.
Implemented in gar::geo::StandardGeometryHelperGAr.
|
inline |
Returns null pointer if the initialization failed NOTE: the sub-class owns the ChannelMapAlg object
Definition at line 148 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 161 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 174 of file ExptGeoHelperInterface.h.
|
inline |
Definition at line 187 of file ExptGeoHelperInterface.h.