File indexing completed on 2025-01-18 10:17:18
0001
0002
0003
0004
0005
0006
0007 #ifndef _DstExampleSource_h_
0008 #define _DstExampleSource_h_
0009
0010 #include <JANA/JEventSource.h>
0011 #include <JANA/JEventSourceGeneratorT.h>
0012
0013 class DstExampleSource : public JEventSource {
0014
0015
0016
0017 public:
0018 DstExampleSource();
0019
0020 virtual ~DstExampleSource() = default;
0021
0022 void Open() override;
0023
0024 void Close() override;
0025
0026 Result Emit(JEvent&) override;
0027
0028 static std::string GetDescription();
0029
0030 };
0031
0032 template <>
0033 double JEventSourceGeneratorT<DstExampleSource>::CheckOpenable(std::string);
0034
0035 #endif
0036