RdChannelBeaconSignalExtractor.h
Go to the documentation of this file.
1 #ifndef _RdChannelBeaconSignalExtractor_h_
2 #define _RdChannelBeaconSignalExtractor_h_
3 
4 #include <string>
5 #include <set>
6 
7 #include <fwk/VModule.h>
8 #include <utl/TimeStamp.h>
9 
10 namespace evt {
11  class Event;
12 }
13 
14 namespace revt {
15  class Channel;
16  class REvent;
17 }
18 
19 namespace utl {
20  class TimeInterval;
21  class TimeStamp;
22  class FFTDataContainerAlgorithm;
23 }
24 
25 // you should assign your module to a namespace
26 
27 namespace RdChannelBeaconSignalExtractor {
28 
39 
40  public:
41  // If you define a constructor, you MUST provide an implementation
42  // for it, otherwise the REGISTER_MODULE macro will not register
43  // your module. (Here, implementation is in UserModule.cc)
46 
50 
51  private:
52  enum InfoLevel {
53  eNone = 0,
54  eFinal = 1,
56  eObscure = 3,
57  eMinuit = 4,
58  eDebug = 5
59  };
60 
63 
65  std::vector<double> fBeaconFrequencies;
66 
69 
73 
74  // The REGISTER_MODULE macro makes the framework aware of your module.
75  // You need to put this macro at the very end of your module class definition.
76  // Give your module a name (first argument) and specify its
77  // class name (second argument). In the ModuleSequenceExample.xml file,
78  // you can see this module being refered to by the name we give it here.
79 
80  REGISTER_MODULE("RdChannelBeaconSignalExtractor", RdChannelBeaconSignalExtractor);
81 
82  };
83 
84 }
85 
86 
87 #endif
88 
89 // Configure (x)emacs for this file ...
90 // Local Variables:
91 // mode:c++
92 // compile-command: "make -k"
93 // End:
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
std::vector< double > fBeaconFrequencies
Vector of frequencies emitted by the beacon.
Interface class to access to the Radio part of an event.
Definition: REvent.h:42
int fReferenceChannel
Reference channel (ususally 1 = NS, high gain)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("RdChannelBeaconSignalExtractor", RdChannelBeaconSignalExtractor)
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60

, generated on Tue Sep 26 2023.