Public Member Functions | Private Member Functions | Private Attributes | List of all members
gar::geo::AuxDetGeometryHelperExample Class Reference

#include <AuxDetGeometryHelperExample.h>

Inheritance diagram for gar::geo::AuxDetGeometryHelperExample:
gar::geo::AuxDetExptGeoHelperInterface

Public Member Functions

 AuxDetGeometryHelperExample (fhicl::ParameterSet const &pset, art::ActivityRegistry &)
 
- Public Member Functions inherited from gar::geo::AuxDetExptGeoHelperInterface
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) override
 Implementation of ConfigureChannelMapAlg (pure virtual) More...
 
virtual AuxDetChannelMapAlgPtr_t doGetAuxDetChannelMapAlg () const override
 Returns the ChannelMapAlg. More...
 

Private Attributes

fhicl::ParameterSet fPset
 copy of configuration parameter set More...
 
std::shared_ptr< geo::seg::AuxDetChannelMapAlgfChannelMap
 channel map More...
 

Additional Inherited Members

- Public Types inherited from gar::geo::AuxDetExptGeoHelperInterface
using AuxDetChannelMapAlgPtr_t = std::shared_ptr< const seg::AuxDetChannelMapAlg >
 

Detailed Description

Definition at line 22 of file AuxDetGeometryHelperExample.h.

Constructor & Destructor Documentation

gar::geo::AuxDetGeometryHelperExample::AuxDetGeometryHelperExample ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry  
)

Definition at line 18 of file AuxDetGeometryHelperExample_service.cc.

20  : fPset(pset)
21  , fChannelMap()
22  {}
fhicl::ParameterSet fPset
copy of configuration parameter set
std::shared_ptr< geo::seg::AuxDetChannelMapAlg > fChannelMap
channel map

Member Function Documentation

void gar::geo::AuxDetGeometryHelperExample::doConfigureAuxDetChannelMapAlg ( fhicl::ParameterSet const &  sortingParameters,
geo::AuxDetGeometryCore geom 
)
overrideprivatevirtual

Implementation of ConfigureChannelMapAlg (pure virtual)

Implements gar::geo::AuxDetExptGeoHelperInterface.

Definition at line 25 of file AuxDetGeometryHelperExample_service.cc.

27  {
28 
29  // This is where your experiment specific helper has to instantiate its
30  // sorting algorithm
31  // fChannelMap = std::make_shared<gar::geo::AuxDetChannelMapStandardAlg>(sortingParameters);
32  // if(fChannelMap) geom->ApplyChannelMap(fChannelMap);
33 
34  return;
35  }
AuxDetGeometryHelperExample::AuxDetChannelMapAlgPtr_t gar::geo::AuxDetGeometryHelperExample::doGetAuxDetChannelMapAlg ( ) const
overrideprivatevirtual

Returns the ChannelMapAlg.

Implements gar::geo::AuxDetExptGeoHelperInterface.

Definition at line 38 of file AuxDetGeometryHelperExample_service.cc.

39  {
40  return fChannelMap;
41  }
std::shared_ptr< geo::seg::AuxDetChannelMapAlg > fChannelMap
channel map

Member Data Documentation

std::shared_ptr<geo::seg::AuxDetChannelMapAlg> gar::geo::AuxDetGeometryHelperExample::fChannelMap
private

channel map

Definition at line 49 of file AuxDetGeometryHelperExample.h.

fhicl::ParameterSet gar::geo::AuxDetGeometryHelperExample::fPset
private

copy of configuration parameter set

Definition at line 48 of file AuxDetGeometryHelperExample.h.


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