Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8723703
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
598 B
Subscribers
None
View Options
diff --git a/include/RHEJ/Mixmax.hh b/include/RHEJ/Mixmax.hh
new file mode 100644
index 0000000..2bcbd42
--- /dev/null
+++ b/include/RHEJ/Mixmax.hh
@@ -0,0 +1,26 @@
+/** \file
+ * \brief The Mixmax random number generator
+ */
+#pragma once
+
+#include <CLHEP/Random/Randomize.h>
+#include <CLHEP/Random/MixMaxRng.h>
+
+#include "RHEJ/RNG.hh"
+
+namespace RHEJ {
+
+ class Mixmax : public DefaultRNG {
+ public:
+ Mixmax() = default;
+ Mixmax(long seed): ran_{seed} {};
+
+ double flat() override {
+ return ran_.flat();
+ };
+
+ private:
+ CLHEP::MixMaxRng ran_;
+ };
+
+}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jan 20, 9:12 PM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242414
Default Alt Text
(598 B)
Attached To
rHEJ HEJ
Event Timeline
Log In to Comment