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