Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
libraries/TRIGGER/DTrigger_factory.h
Go to the documentation of this file.
1 #ifndef _DTrigger_factory_
2 #define _DTrigger_factory_
3 
4 #include <JANA/JFactory.h>
5 #include "DTrigger.h"
6 #include "DL1Trigger.h"
7 #include "DL3Trigger.h"
8 #include "DMCTrigger.h"
9 #include "DL1MCTrigger.h"
10 #include "DANA/DStatusBits.h"
11 
12 using namespace std;
13 using namespace jana;
14 
15 class DTrigger_factory : public jana::JFactory<DTrigger>
16 {
17  public:
19  virtual ~DTrigger_factory(){};
20 
21  private:
22  jerror_t init(void); ///< Called once at program start.
23  jerror_t evnt(JEventLoop* locEventLoop, uint64_t locEventNumber);
24 
27 
30 };
31 
32 #endif // _DTrigger_factory_
Implements a L1 trigger algorithm on simulated data in the form of a flag in the DTrigger object...