LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
10
#include "
art/Framework/Core/InputSource.h
"
11
#include "
art/Utilities/PluginSuffixes.h
"
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
23
class
art::InputSourceFactory
{
24
InputSourceFactory
(
InputSourceFactory
const
&) =
delete
;
25
InputSourceFactory
&
operator=
(
InputSourceFactory
const
&) =
delete
;
26
27
public
:
28
static
std::unique_ptr<InputSource>
make
(
fhicl::ParameterSet
const
&,
29
InputSourceDescription
&);
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:
art::InputSourceFactory::make
static std::unique_ptr< InputSource > make(fhicl::ParameterSet const &, InputSourceDescription &)
Definition:
InputSourceFactory.cc:22
art::InputSourceFactory::instance
static InputSourceFactory & instance()
Definition:
InputSourceFactory.cc:15
art::Suffixes::source
static std::string const & source()
Definition:
PluginSuffixes.h:95
PluginSuffixes.h
InputSource.h
ParameterSet.h
art::InputSourceFactory::operator=
InputSourceFactory & operator=(InputSourceFactory const &)=delete
art::InputSourceFactory
Definition:
InputSourceFactory.h:23
art::InputSourceFactory::lm_
cet::LibraryManager lm_
Definition:
InputSourceFactory.h:35
art::InputSourceFactory::InputSourceFactory
InputSourceFactory()=default
art::InputSourceDescription
Definition:
InputSourceDescription.h:21
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
fhicl::ParameterSet
Definition:
ParameterSet.h:34
art
Framework
Core
InputSourceFactory.h
Generated on Thu Jul 26 2018 13:09:39 for LArSoft by
1.8.11