Diana Software
MAlphaDelayedCoincidence.hh
Go to the documentation of this file.
1 #ifndef _M_ALPHADELAYEDCOINCIDENCE_HH_
2 #define _M_ALPHADELAYEDCOINCIDENCE_HH_
3 
51 #include "QModule.hh"
52 #include "QCoincidentChannel.hh"
53 #include <map>
54 
55 class MAlphaDelayedCoincidence : public Diana::QModule {
56 
57  public:
58 
60  void Init(Diana::QEvent& ev);
61 
63  void Do(Diana::QEvent& ev);
64 
66  void Done();
68  double GetTime(const Diana::QEvent& ev);
69  private:
70  enum TimeVariable {
73  };
74 
76 
77  bool fSyncTime;
79  std::string fMotherSelectionLabel;
81  std::string fEnergyLabel;
82  std::vector<std::string> fPSALabels;
83  std::string fCoincidenceDataOwner;
84  std::map<int,QCoincidentChannel> fFloors;
85  std::map<double,int> fTimeOrderedFloors;
86 
87 
88 };
89 
90 #endif
91 
module to tag delayed coincidences.
void Do(Diana::QEvent &ev)
Do method.
std::map< double, int > fTimeOrderedFloors
std::map< int, QCoincidentChannel > fFloors
double GetTime(const Diana::QEvent &ev)
Get time of the event.
std::vector< std::string > fPSALabels
void Init(Diana::QEvent &ev)
Init method.