Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Df125EmulatorAlgorithm.h
Go to the documentation of this file.
1 #ifndef _Df125EmulatorAlgorithm_
2 #define _Df125EmulatorAlgorithm_
3 #include <JANA/JObject.h>
4 #include <JANA/JEventLoop.h>
5 
6 #include <stdint.h>
7 #include <vector>
8 #include <iostream>
9 using namespace std;
10 using namespace jana;
11 #include <Rtypes.h>
12 
13 #include <DAQ/Df125WindowRawData.h>
14 #include <DAQ/Df125CDCPulse.h>
15 #include <DAQ/Df125FDCPulse.h>
16 #include <DAQ/Df125Config.h>
17 #include <DAQ/Df125BORConfig.h>
18 
19 /////////////////////////////////////////////////////////////////
20 // This implements the base class for the f125 firmware emulation
21 // EmulateFirmware needs to be virtually overwritten by the user
22 ////////////////////////////////////////////////////////////////
23 
24 class Df125EmulatorAlgorithm:public jana::JObject{
25  public:
26  JOBJECT_PUBLIC(Df125EmulatorAlgorithm);
27 
30 
31  // The main emulation routines are overwritten in the inherited classes
32  virtual void EmulateFirmware(const Df125WindowRawData*, Df125CDCPulse*, Df125FDCPulse*) = 0;
33 
34  protected:
35  // Df125EmulatorAlgorithm(){};
36 
37 };
38 
39 #endif // _Df125EmulatorAlgorithm_factory_