All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
icaruscode/icaruscode/CRT/CRTGeometryHelper.h
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////////////
2 /// \file CRTGeometryHelper.h
3 /// \brief Auxiliary detector geometry helper service for SBND geometries.
4 ///
5 /// Handles SBND-specific information for the generic Geometry service
6 /// within LArSoft. Derived from the ExptGeoHelperInterface class.
7 ///
8 /// Originally ported from LArIATAuxDetGeometryHelper.h (Author: brebel@fnal.gov)
9 /// and modified for SBND (Author: mastbaum@uchicago.edu)
10 ///
11 /// \version $Id: 0.0 $
12 /// \author chilge@rams.colostate.edu
13 ///////////////////////////////////////////////////////////////////////////////
14 
15 #ifndef ICARUS_CRTExptGeoHelperInterface_h
16 #define ICARUS_CRTExptGeoHelperInterface_h
17 
21 #include "art/Framework/Services/Registry/ServiceHandle.h"
22 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
23 #include <memory>
24 
25 namespace geo
26 {
27  class CRTChannelMapAlg;
28 }
29 
30 namespace icarus {
31 namespace crt{
32 
34  public:
35 
36  explicit CRTGeometryHelper(fhicl::ParameterSet const & pset);
37 
38  private:
39 
41  doConfigureAuxDetChannelMapAlg(fhicl::ParameterSet const& sortingParameters) const override;
42 
43  fhicl::ParameterSet fPset; ///< Copy of configuration parameter set
44  };
45 
46 } //namespace crt
47 } // namespace icarus
48 
49 DECLARE_ART_SERVICE_INTERFACE_IMPL(icarus::crt::CRTGeometryHelper, geo::AuxDetExptGeoHelperInterface, SHARED)
50 
51 #endif // ICARUS_CRTExptGeoHelperInterface_h
fhicl::ParameterSet fPset
Copy of configuration parameter set.
std::unique_ptr< AuxDetChannelMapAlg > AuxDetChannelMapAlgPtr_t
Interface to a service that handles any experiment-specific knowledge that is needed by the AuxDetGeo...
process_name crt
Interface to a service with detector-specific geometry knowledge.
AuxDetChannelMapAlgPtr_t doConfigureAuxDetChannelMapAlg(fhicl::ParameterSet const &sortingParameters) const override
Implementation of ConfigureChannelMapAlg (pure virtual)