Diana Software
MMultipletValidation.hh
Go to the documentation of this file.
1 #ifndef _M_MULTIPLET_VALIDATION_HH_
2 #define _M_MULTIPLET_VALIDATION_HH_
3 
4 #include "QModule.hh"
5 #include <map>
6 #include <vector>
7 #include <set>
8 #include "QRunData.hh"
9 #include "QMatrix.hh"
10 
12 public:
13  LightMultiplet(ULong64_t _tag);
14  bool Insert(ULong64_t _tag);
15  void SetInvalid();
16  bool GetIsValid();
17  std::set<ULong64_t> fCoincidentTag;
18 private:
19  ULong64_t fTag;
20  // std::set<ULong64_t> fCoincidentTag;
21  bool fValid;
22 };
23 
24 class MMultipletValidation : public Diana::QModule {
25 public:
26  void Init(Diana::QEvent& ev);
27  void Do(Diana::QEvent& ev);
28  void Done();
29 
30 private:
31  std::string fCoincidenceLabel;
32  std::map< ULong64_t, LightMultiplet* > fMultiplets;
33 };
34 
35 #endif
36 
37 /*
38  * I need to get from event:
39  * 1. QHeader (DAQ@Header.) event number
40  * 2. tower
41  * 3. QCoincidenceData (Coincidence@CoincidenceData.)
42  *
43  *
44  *
45  */
LightMultiplet(ULong64_t _tag)
bool Insert(ULong64_t _tag)
std::set< ULong64_t > fCoincidentTag
void Init(Diana::QEvent &ev)
void Do(Diana::QEvent &ev)
std::map< ULong64_t, LightMultiplet * > fMultiplets