File indexing completed on 2025-01-18 10:01:38
0001
0002
0003
0004 #ifndef _JTestRootEventSource_h_
0005 #define _JTestRootEventSource_h_
0006
0007 #include <random>
0008
0009 #include <JANA/JEventSource.h>
0010 #include <JANA/JEventSourceGeneratorT.h>
0011 #include <JANA/Utils/JBenchUtils.h>
0012
0013
0014 class JTestRootEventSource : public JEventSource {
0015
0016 JBenchUtils m_bench_utils = JBenchUtils();
0017 public:
0018 JTestRootEventSource();
0019 virtual ~JTestRootEventSource() = default;
0020
0021 Result Emit(JEvent& event) override;
0022
0023 protected:
0024 std::default_random_engine generator;
0025 };
0026
0027 #endif
0028