Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:14:01

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef WAVEFORMPACKET_H
0004 #define WAVEFORMPACKET_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <string>
0009 #include <fstream>
0010 
0011 class PHCompositeNode;
0012 
0013 class WaveFormPacket : public SubsysReco
0014 {
0015  public:
0016 
0017   WaveFormPacket(const std::string &name = "WaveFormPacket");
0018 
0019   ~WaveFormPacket() override = default;
0020 
0021   /** Called for each event.
0022       This is where you do the real work.
0023    */
0024   int process_event(PHCompositeNode *topNode) override;
0025 
0026   /// Called at the end of all processing.
0027   int End(PHCompositeNode *topNode) override;
0028 
0029  private:
0030 
0031   std::fstream outfile;
0032 };
0033 
0034 #endif // WAVEFORM_H