Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Df125EmulatorAlgorithm_factory_v2.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: Df125EmulatorAlgorithm_factory.h
4 // Created: Mar 20, 2016
5 // Creator: mstaib
6 //
7 
8 #ifndef _Df125EmulatorAlgorithm_factory_v2_
9 #define _Df125EmulatorAlgorithm_factory_v2_
10 
11 #include <JANA/JFactory.h>
13 
14 class Df125EmulatorAlgorithm_factory_v2:public jana::JFactory<Df125EmulatorAlgorithm>{
15  public:
17  // Create single Df125EmulatorAlgorithm object and mark the factory as
18  // persistent so it doesn't get deleted every event.
20  SetFactoryFlag(PERSISTANT);
21  ClearFactoryFlag(WRITE_TO_OUTPUT);
22  _data.push_back(emulator);
23  };
24 
26 
27  const char* Tag(void){return "v2";}
28 
29 };
30 
31 #endif // _Df125EmulatorAlgorithm_factory_v2_
32