Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:12:03

0001 
0002 // Copyright 2020, Jefferson Science Associates, LLC.
0003 // Subject to the terms in the LICENSE file found in the top-level directory.
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     /// Add member variables here
0016 
0017 public:
0018     DstExampleSource();
0019 
0020     DstExampleSource(std::string resource_name, JApplication* app);
0021 
0022     virtual ~DstExampleSource() = default;
0023 
0024     void Open() override;
0025 
0026     void Close() override;
0027 
0028     Result Emit(JEvent&) override;
0029     
0030     static std::string GetDescription();
0031 
0032 };
0033 
0034 template <>
0035 double JEventSourceGeneratorT<DstExampleSource>::CheckOpenable(std::string);
0036 
0037 #endif // _DstExampleSource_h_
0038