LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
InputSourceFactory.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_InputSourceFactory_h
2 #define art_Framework_Core_InputSourceFactory_h
3 
4 // ======================================================================
5 //
6 // InputSourceFactory
7 //
8 // ======================================================================
9 
12 #include "cetlib/LibraryManager.h"
13 #include "fhiclcpp/ParameterSet.h"
14 
15 #include <memory>
16 
17 namespace art {
18  class InputSourceFactory;
19 }
20 
21 // ----------------------------------------------------------------------
22 
24  InputSourceFactory(InputSourceFactory const&) = delete;
26 
27 public:
28  static std::unique_ptr<InputSource> make(fhicl::ParameterSet const&,
30 
31 private:
32  explicit InputSourceFactory() = default;
33  static InputSourceFactory& instance();
34 
35  cet::LibraryManager lm_{Suffixes::source()};
36 
37 }; // InputSourceFactory
38 
39 // ======================================================================
40 
41 #endif /* art_Framework_Core_InputSourceFactory_h */
42 
43 // Local Variables:
44 // mode: c++
45 // End:
static std::unique_ptr< InputSource > make(fhicl::ParameterSet const &, InputSourceDescription &)
static InputSourceFactory & instance()
static std::string const & source()
InputSourceFactory & operator=(InputSourceFactory const &)=delete
cet::LibraryManager lm_
HLT enums.