Diana Software
MSideCoincidence.hh
Go to the documentation of this file.
1 #ifndef _M_SIDECOINCIDENCE_HH_
2 #define _M_SIDECOINCIDENCE_HH_
3 
43 #include "QModule.hh"
44 #include "QRunData.hh"
45 
46 class MSideCoincidence : public Diana::QModule {
47 
48  public:
49 
51  void Init(Diana::QEvent& ev);
52 
54  void Do(Diana::QEvent& ev, const Diana::QEventList& neighbours);
55 
57  void Done();
58 
60  double GetTime(const Diana::QEvent& ev);
61 
62  private:
63 
64  double fNSigma;
65  std::string fSideAmplitudeOwner;
66  std::string fMainEnergyOwner;
67  std::string fSideEnergyOwner;
68  int fThisRun;
70 
71 };
72 
73 #endif
74 
Save as coincidence data the information on side pulses calulated by the module SideAmplitude.
void Init(Diana::QEvent &ev)
Init method.
void Do(Diana::QEvent &ev, const Diana::QEventList &neighbours)
Do method. Declare and implement only one of the two versions.
double GetTime(const Diana::QEvent &ev)
Get time of the event.
std::string fSideEnergyOwner
void Done()
Done method.
std::string fSideAmplitudeOwner
std::string fMainEnergyOwner
Basic run based info.
Definition: QRunData.hh:20