GlobalTriggerSimulator.h
Go to the documentation of this file.
1 /*
2  * File: GlobalTriggerSimulator.h
3  * Author: denis
4  *
5  * Simulator of a NOvA Global Trigger application
6  *
7  * Created on February 14, 2012, 6:01 PM
8  */
9 
10 #ifndef _GLOBALTRIGGERSIMULATOR_H
11 #define _GLOBALTRIGGERSIMULATOR_H
12 #include "DAQDataFormats/RawTrigger.h"
13 
14 // forward declarations
15 namespace daqdataformats{
16  class RawTrigger;
17 }
18 
19 namespace mcdatadaq {
21  public:
24 
25  /// Gets the current trigger
26  daqdataformats::RawTrigger* getTrigger();
27 
28  /// Generates a new trigger
29  daqdataformats::RawTrigger* getNewTrigger();
30 
31  private:
32  /// Write Trigger Object into output file
33  bool writeTrigger();
34 
35 
36  private:
37 
38  FILE* fOutputTriggerFile; ///< File for Triggers
39 
40  daqdataformats::RawTrigger fTrigger; ///< Instance of a Trigger
41 
42  };
43 }
44 #endif /* _GLOBALTRIGGERSIMULATOR_H */
45 
Class to hold the data from the global trigger in the correct format.
Definition: RawTrigger.h:40
daqdataformats::RawTrigger fTrigger
Instance of a Trigger.
Something conflicts with RandomNumberGenerator. Keep DAQSimulator.h include below Art Framework inclu...
FILE * fOutputTriggerFile
File for Triggers.
Class to hold the data from the FEBs in correct formats.