All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoherentNoiseFactor_service.cc
Go to the documentation of this file.
1 /**
2  * @file icaruscode/Decode/ChannelMapping/ICARUSChannelMap_service.cc
3  * @brief Wrapper service for `icarusDB::ICARUSChannelMapProvider`.
4  * @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5  */
6 
8 
9 // framework libraries
10 #include "art/Framework/Services/Registry/ActivityRegistry.h"
11 #include "art/Framework/Services/Registry/ServiceDefinitionMacros.h"
12 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
13 #include "fhiclcpp/ParameterSet.h"
14 #include "cetlib_except/exception.h"
15 
16 
17 // -----------------------------------------------------------------------------
18 namespace Noise { class CoherentNoiseFactor; }
20 
21  public:
22 
23  CoherentNoiseFactor(const fhicl::ParameterSet& pset, art::ActivityRegistry& reg);
24 
25 }; // class icarusDB::ICARUSChannelMap
26 
27 
28 // -----------------------------------------------------------------------------
29 // --- Implementation
30 // -----------------------------------------------------------------------------
32  (const fhicl::ParameterSet& pset, art::ActivityRegistry& /* reg */)
34  {}
35 
36 
37 // -----------------------------------------------------------------------------
38 DECLARE_ART_SERVICE_INTERFACE_IMPL(Noise::CoherentNoiseFactor, Noise::ICoherentNoiseFactor, SHARED)
39 DEFINE_ART_SERVICE_INTERFACE_IMPL(Noise::CoherentNoiseFactor, Noise::ICoherentNoiseFactor)
40 
41 
42 // -----------------------------------------------------------------------------
CoherentNoiseFactor(const fhicl::ParameterSet &pset, art::ActivityRegistry &reg)