Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DAQ_plugin_init.cc
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DAQ_plugin_init.cc
4 // Created: Tue Jan 6 09:23:34 EST 2015
5 // Creator: davidl (on Darwin harriet.jlab.org 13.4.0 i386)
6 //
7 
8 #include <JANA/JApplication.h>
11 using namespace jana;
12 
13 
14 // Routine used to create our JEventProcessor
15 extern "C"{
16 void InitPlugin(JApplication *app){
17  InitJANAPlugin(app);
18  app->AddEventSourceGenerator(new JEventSourceGenerator_EVIO());
19  app->AddFactoryGenerator(new JFactoryGenerator_DAQ());
20 }
21 } // "C"
22 
InitPlugin_t InitPlugin