LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
StandardWireReadout.cc
Go to the documentation of this file.
1 // larsoft libraries
5 
6 // framework libraries
11 
12 namespace {
13  auto default_wire_sorter()
14  {
15  fhicl::ParameterSet result;
16  result.put("tool_type", std::string{"WireReadoutSorterStandard"});
17  return result;
18  }
19 }
20 
21 namespace geo {
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  }
30 
32  {
33  return alg_;
34  }
35 }
WireReadoutGeom const & wireReadoutGeom() const override
T * get() const
Definition: ServiceHandle.h:69
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
Geometry helper service for detectors with strictly standard mapping.
Interface for a class providing readout channel mapping to geometry.
T get(std::string const &key) const
Definition: ParameterSet.h:314
WireReadoutStandardGeom alg_
ROOT libraries.
StandardWireReadout(fhicl::ParameterSet const &pset)
void put(std::string const &key)
art framework interface to geometry description