diff --git a/IOMC/Elegent/BuildFile.xml b/IOMC/Elegent/BuildFile.xml
new file mode 100644
index 00000000000..981a835f04d
--- /dev/null
+++ b/IOMC/Elegent/BuildFile.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/IOMC/Elegent/bin/BuildFile.xml b/IOMC/Elegent/bin/BuildFile.xml
new file mode 100644
index 00000000000..d77077d2305
--- /dev/null
+++ b/IOMC/Elegent/bin/BuildFile.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/IOMC/Elegent/bin/ElegentBDistributionSampler.cc b/IOMC/Elegent/bin/ElegentBDistributionSampler.cc
new file mode 100644
index 00000000000..30198804b61
--- /dev/null
+++ b/IOMC/Elegent/bin/ElegentBDistributionSampler.cc
@@ -0,0 +1,253 @@
+/**************************************************
+ * This file is a part of the Elegent package:
+ * http://elegent.hepforge.org/
+ *************************************************/
+
+#include
+#include
+#include