LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cerr_mfPlugin.cc
Go to the documentation of this file.
1
// vim: set sw=2 expandtab :
2
3
#include "cetlib/PluginTypeDeducer.h"
4
#include "cetlib/ProvideFilePathMacro.h"
5
#include "cetlib/ProvideMakePluginMacros.h"
6
#include "
fhiclcpp/ParameterSet.h
"
7
#include "
fhiclcpp/types/AllowedConfigurationMacro.h
"
8
#include "
messagefacility/MessageService/ELdestination.h
"
9
#include "
messagefacility/MessageService/ELostreamOutput.h
"
10
11
#include <iostream>
12
#include <memory>
13
#include <string>
14
15
using namespace
std
;
16
using
mf::service::ELostreamOutput
;
17
18
MAKE_PLUGIN_START
(
auto
,
string
const
&,
fhicl::ParameterSet
const
& pset)
19
{
20
return
make_unique<ELostreamOutput>(pset, cet::ostream_handle{cerr});
21
}
22
MAKE_PLUGIN_END
23
24
CET_PROVIDE_FILE_PATH()
25
DEFINE_BASIC_PLUGINTYPE_FUNC(
mf::service::ELdestination
)
26
FHICL_PROVIDE_ALLOWED_CONFIGURATION
(
ELostreamOutput
)
AllowedConfigurationMacro.h
ELdestination.h
std
STL namespace.
ParameterSet.h
FHICL_PROVIDE_ALLOWED_CONFIGURATION
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)
Definition:
AllowedConfigurationMacro.h:45
ELostreamOutput.h
MAKE_PLUGIN_START
MAKE_PLUGIN_START(auto, string const &, fhicl::ParameterSet const &pset)
Definition:
cerr_mfPlugin.cc:18
mf::service::ELdestination
Definition:
ELdestination.h:25
mf::service::ELostreamOutput
Definition:
ELostreamOutput.h:24
fhicl::ParameterSet
Definition:
ParameterSet.h:34
messagefacility
plugins
cerr_mfPlugin.cc
Generated on Thu Jul 26 2018 13:10:21 for LArSoft by
1.8.11