Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DFactoryGenerator_Z2pi_trees.h
Go to the documentation of this file.
1 // $Id$
2 // DFactoryGenerator_Z2pi_trees, modeled after DFactoryGenerator_p2pi_trees
3 //
4 // File: DFactoryGenerator_p2pi_trees.h
5 // Created: Wed Mar 29 16:34:58 EDT 2017
6 // Creator: elton (on Linux ifarm1401.jlab.org 3.10.0-327.el7.x86_64 x86_64)
7 //
8 
9 #ifndef _DFactoryGenerator_Z2pi_trees_
10 #define _DFactoryGenerator_Z2pi_trees_
11 
12 #include <JANA/jerror.h>
13 #include <JANA/JFactoryGenerator.h>
14 
16 
17 class DFactoryGenerator_Z2pi_trees : public jana::JFactoryGenerator
18 {
19  public:
20  virtual const char* className(void){return static_className();}
21  static const char* static_className(void){return "DFactoryGenerator_Z2pi_trees";}
22 
23  jerror_t GenerateFactories(jana::JEventLoop* locEventLoop)
24  {
25  locEventLoop->AddFactory(new DReaction_factory_Z2pi_trees());
26  return NOERROR;
27  }
28 };
29 
30 #endif // _DFactoryGenerator_Z2pi_trees_
31 
virtual const char * className(void)
jerror_t GenerateFactories(jana::JEventLoop *locEventLoop)
static const char * static_className(void)