LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
InputSourceMacros.h
Go to the documentation of this file.
1
#ifndef art_Framework_Core_InputSourceMacros_h
2
#define art_Framework_Core_InputSourceMacros_h
3
4
#include "
art/Framework/Core/InputSource.h
"
5
#include "cetlib/ProvideFilePathMacro.h"
6
#include "cetlib/compiler_macros.h"
7
#include "
fhiclcpp/types/AllowedConfigurationMacro.h
"
8
9
#define DEFINE_ART_INPUT_SOURCE(klass) \
10
EXTERN_C_FUNC_DECLARE_START \
11
CET_PROVIDE_FILE_PATH() \
12
FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \
13
std::unique_ptr<art::InputSource> make(fhicl::ParameterSet const& ps, \
14
art::InputSourceDescription& desc) \
15
{ \
16
return std::make_unique<klass>(ps, desc); \
17
} \
18
EXTERN_C_FUNC_DECLARE_END
19
20
#endif
/* art_Framework_Core_InputSourceMacros_h */
21
22
// Local Variables:
23
// mode: c++
24
// End:
AllowedConfigurationMacro.h
InputSource.h
art
Framework
Core
InputSourceMacros.h
Generated on Wed Dec 12 2018 14:42:32 for LArSoft by
1.8.11