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