Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTrackFinder_factory.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTrackFinder_factory.h
4 // Created: Mon Aug 18 11:00:33 EDT 2014
5 // Creator: staylor (on Linux ifarm1101 2.6.32-220.7.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DTrackFinder_factory_
9 #define _DTrackFinder_factory_
10 
11 #include <JANA/JFactory.h>
12 #include "DTrackFinder.h"
13 
14 class DTrackFinder_factory:public jana::JFactory<DTrackFinder>{
15  public:
18 
19  private:
20  jerror_t evnt(jana::JEventLoop *loop, uint64_t eventnumber){
21 
22  SetFactoryFlag(PERSISTANT);
23  ClearFactoryFlag(WRITE_TO_OUTPUT);
24 
25  _data.push_back(new DTrackFinder());
26 
27  return NOERROR;
28  }
29 };
30 
31 #endif // _DTrackFinder_factory_
32 
jerror_t evnt(jana::JEventLoop *loop, uint64_t eventnumber)