File indexing completed on 2025-08-05 08:16:06
0001
0002
0003 #ifndef FFARAWMODULES_EVENTCOMBINER_H
0004 #define FFARAWMODULES_EVENTCOMBINER_H
0005
0006 #include <fun4all/SubsysReco.h>
0007
0008 #include <set>
0009 #include <string>
0010
0011 class Event;
0012 class Fun4AllInputManager;
0013 class PHCompositeNode;
0014
0015 class EventCombiner : public SubsysReco
0016 {
0017 public:
0018 EventCombiner(const std::string &name = "EventCombiner");
0019
0020 ~EventCombiner() override {}
0021
0022 int Init(PHCompositeNode *topNode) override;
0023
0024 int process_event(PHCompositeNode *topNode) override;
0025
0026 int ResetEvent(PHCompositeNode *topNode) override;
0027
0028 void AddPrdfInputNodeFromManager(const Fun4AllInputManager *in);
0029 void AddPrdfInputNodeName(const std::string &name);
0030
0031 private:
0032 Event *m_Event = nullptr;
0033 int *m_OutArray = nullptr;
0034
0035 std::string m_PrdfOutputNodeName = "PRDF";
0036 std::set<std::string> m_PrdfInputNodeNameSet;
0037 };
0038
0039 #endif