Back to home page

sPhenix code displayed by LXR

 
 

    


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 // Forward declarations
0010 class PHCompositeNode;
0011 
0012 class DstMBDSelection : public SubsysReco
0013 {
0014  public:
0015   //! constructor
0016   DstMBDSelection(const std::string &name = "DstMBDSelection",
0017                   const int runnb = 48746);
0018 
0019   //! destructor
0020   virtual ~DstMBDSelection();
0021 
0022   //! full initialization
0023   int Init(PHCompositeNode *);
0024 
0025   int InitRun(PHCompositeNode *);
0026 
0027   //! event processing method
0028   int process_event(PHCompositeNode *);
0029 
0030   //! end of run method
0031   int End(PHCompositeNode *);
0032  
0033  private:
0034   
0035   // run number
0036   int runnumber;
0037 
0038   // Global information in clusters' node
0039   uint64_t scaled_trigger;
0040   
0041   // trigger selection
0042   bool trigger_mbd_any_vtx = false;
0043   bool trigger_mbd_vtx_10 = false;
0044 
0045   // Global Level 1 Trigger Packet
0046   Gl1Packet *gl1packet = nullptr; 
0047 };
0048 
0049 #endif