Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:17:19

0001 // Copyright 2020, Jefferson Science Associates, LLC.
0002 // Subject to the terms in the LICENSE file found in the top-level directory.
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 // _JTestRootEventSource_h_
0028