File indexing completed on 2025-08-05 08:12:42
0001
0002
0003 #ifndef HERWIGHEPMCFILTER_H
0004 #define HERWIGHEPMCFILTER_H
0005
0006 #include <fun4all/SubsysReco.h>
0007
0008 #include <string>
0009
0010 class PHCompositeNode;
0011
0012 class HerwigHepMCFilter : public SubsysReco
0013 {
0014 public:
0015
0016 HerwigHepMCFilter(int n_events, const std::string &name = "HerwigHepMCFilter");
0017
0018 ~HerwigHepMCFilter() override;
0019
0020
0021
0022
0023
0024
0025 int Init(PHCompositeNode *topNode) override;
0026
0027
0028
0029
0030
0031
0032 int InitRun(PHCompositeNode *topNode) override;
0033
0034
0035
0036
0037 int process_event(PHCompositeNode *topNode) override;
0038
0039
0040 int ResetEvent(PHCompositeNode *topNode) override;
0041
0042
0043 int EndRun(const int runnumber) override;
0044
0045
0046 int End(PHCompositeNode *topNode) override;
0047
0048
0049 int Reset(PHCompositeNode * ) override;
0050
0051 void Print(const std::string &what = "ALL") const override;
0052
0053 private:
0054 };
0055
0056 #endif