Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventNumberCheck.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventNumberCheck.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FFARAWMODULES_EVENTNUMBERCHECK_H
4 #define FFARAWMODULES_EVENTNUMBERCHECK_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <set>
9 #include <string>
10 
11 class Event;
13 class Packet;
14 class PHCompositeNode;
15 
17 {
18  public:
19  EventNumberCheck(const std::string &name = "EventNumberCheck");
20 
21  ~EventNumberCheck() override {}
22 
23  int Init(PHCompositeNode *topNode) override;
24 
25  int process_event(PHCompositeNode *topNode) override;
26 
27 // int ResetEvent(PHCompositeNode *topNode) override;
28 
30 
31  private:
32  void CheckFem(int nw);
33  Packet *plist[10000]{0};
35  std::set<int> m_EventSeen;
37 };
38 
39 #endif // FFARAWMODULES_EVENTCOMBINER_H