Diana Software
MCustomWaveform.hh
Go to the documentation of this file.
1 #ifndef _M_CUSTOMPULSE_HH_
2 #define _M_CUSTOMPULSE_HH_
3 
41 #include "QDriver.hh"
42 
43 class MCustomWaveform : public Diana::QDriver {
44 
45  public:
46 
48  QDriver::Action Init(Diana::QEventAssembler& ev);
49 
51  QDriver::Action Do(Diana::QEventAssembler& ev);
52 
55  private:
56  struct ChannelInfo {
59  Long64_t fdt;
61  };
62  int fRun;
63  Long64_t fRunDuration;
64 
66  std::string fInputOwner;
67  Long64_t fmSecLeft;
68  Long64_t fmSecRight;
69  std::map<int,ChannelInfo> fChannelInfos;
70 
71 
72 };
73 
74 #endif
75 
modifies pretrigger and lenght of an input QPulse
QDriver::Action Do(Diana::QEventAssembler &ev)
Do method. Declare and implement only one of the two versions.
QDriver::Action Done()
Done method.
std::map< int, ChannelInfo > fChannelInfos
std::string fInputOwner
QDriver::Action Init(Diana::QEventAssembler &ev)
Init method.
class to store ActionId and fEventNumber (in case fActionId=ACT_GOTOEV)
Definition: QDriver.hh:59