File indexing completed on 2025-08-03 08:16:41
0001 #ifndef FFAMODULES_SYNCRECO_H
0002 #define FFAMODULES_SYNCRECO_H
0003
0004 #include <fun4all/SubsysReco.h>
0005
0006 #include <string>
0007
0008 class PHCompositeNode;
0009
0010 class SyncReco : public SubsysReco
0011 {
0012 public:
0013 SyncReco(const std::string &name = "SYNC");
0014 ~SyncReco() override {}
0015
0016 int Init(PHCompositeNode *topNode) override;
0017 int InitRun(PHCompositeNode *topNode) override;
0018 int process_event(PHCompositeNode *topNode) override;
0019
0020 void SegmentNumber(int i) { forced_segment = i; }
0021
0022 private:
0023 static int CreateNodeTree(PHCompositeNode *topNode);
0024
0025
0026
0027 int forced_segment = -1;
0028 };
0029
0030 #endif