File indexing completed on 2026-04-03 08:08:52
0001 #ifndef __DST_MBD_SELECTION_H__
0002 #define __DST_MBD_SELECTION_H__
0003
0004 #include <fun4all/SubsysReco.h>
0005 #include <ffarawobjects/Gl1Packet.h>
0006
0007 #include <cstdint> // for uint64_t
0008
0009
0010 class PHCompositeNode;
0011
0012 class DstMBDSelection : public SubsysReco
0013 {
0014 public:
0015
0016 DstMBDSelection(const std::string &name = "DstMBDSelection",
0017 const int runnb = 48746);
0018
0019
0020 virtual ~DstMBDSelection();
0021
0022
0023 int Init(PHCompositeNode *);
0024
0025 int InitRun(PHCompositeNode *);
0026
0027
0028 int process_event(PHCompositeNode *);
0029
0030
0031 int End(PHCompositeNode *);
0032
0033 private:
0034
0035
0036 int runnumber;
0037
0038
0039 uint64_t scaled_trigger;
0040
0041
0042 bool trigger_mbd_any_vtx = false;
0043 bool trigger_mbd_vtx_10 = false;
0044
0045
0046 Gl1Packet *gl1packet = nullptr;
0047 };
0048
0049 #endif