LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
geo::StandardWireReadout Class Reference

Simple implementation of channel mapping. More...

#include "StandardWireReadout.h"

Inheritance diagram for geo::StandardWireReadout:
geo::WireReadout

Public Member Functions

 StandardWireReadout (fhicl::ParameterSet const &pset)
 
WireReadoutGeom const & Get () const
 

Private Member Functions

WireReadoutGeom const & wireReadoutGeom () const override
 

Private Attributes

WireReadoutStandardGeom alg_
 

Detailed Description

Simple implementation of channel mapping.

This WireReadout implementation serves a WireReadoutStandardGeom for experiments that are known to work well with it.

Definition at line 28 of file StandardWireReadout.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file StandardWireReadout.cc.

References art::ServiceHandle< T, SCOPE >::get(), and fhicl::ParameterSet::get().

23  : alg_{pset,
25  art::make_tool<WireReadoutSorter>(
26  pset.get<fhicl::ParameterSet>("SortingParameters", default_wire_sorter()))}
27  {
28  mf::LogInfo("StandardWireReadout") << "Loading wire readout: WireReadoutStandardGeom";
29  }
T * get() const
Definition: ServiceHandle.h:69
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
WireReadoutStandardGeom alg_

Member Function Documentation

WireReadoutGeom const& geo::WireReadout::Get ( ) const
inlineinherited

Definition at line 36 of file WireReadout.h.

References DECLARE_ART_SERVICE_INTERFACE, and geo::WireReadout::wireReadoutGeom().

Referenced by caldata::CalWire::produce().

36 { return wireReadoutGeom(); }
virtual WireReadoutGeom const & wireReadoutGeom() const =0
WireReadoutGeom const & geo::StandardWireReadout::wireReadoutGeom ( ) const
overrideprivatevirtual

Implements geo::WireReadout.

Definition at line 31 of file StandardWireReadout.cc.

References alg_.

32  {
33  return alg_;
34  }
WireReadoutStandardGeom alg_

Member Data Documentation

WireReadoutStandardGeom geo::StandardWireReadout::alg_
private

Definition at line 34 of file StandardWireReadout.h.

Referenced by wireReadoutGeom().


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