Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:16:07

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef FFARAWMODULES_INTTGL1CHECK_H
0004 #define FFARAWMODULES_INTTGL1CHECK_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <map>
0009 #include <set>
0010 #include <string>
0011 
0012 class Fun4AllInputManager;
0013 class PHCompositeNode;
0014 
0015 class InttGl1Check : public SubsysReco
0016 {
0017  public:
0018   InttGl1Check(const std::string &name = "InttGl1Check");
0019 
0020   ~InttGl1Check() override {}
0021 
0022   int Init(PHCompositeNode *topNode) override;
0023 
0024   int process_event(PHCompositeNode *topNode) override;
0025 
0026   int End(PHCompositeNode *topNode) override;
0027   //  int ResetEvent(PHCompositeNode *topNode) override;
0028 
0029   void MyEvtNode(const std::string &name) { m_EvtNodeName = name; }
0030 
0031  private:
0032   std::string m_EvtNodeName = "INTTRAWHIT";
0033   std::set<uint64_t> bclk_seen;
0034   std::map<uint64_t, int> diffcnt;
0035 };
0036 
0037 #endif  // FFARAWMODULES_EVENTCOMBINER_H