The EMU or Event Management Unit is used to as structure in which to contain a CODA (CEBAF Online Data Acquisition) software component such as and event builder or an event recorder. The EMU not only handles the module - which provides the main functionality - but also all the communication channels into and out of the module.
EMU is currently maintained by Jon Zarling in the EPSCI group ([email protected]). It was written by Carl Timmer of the Data Acquisition group of the Thomas Jefferson National Accelerator Facility.
This software runs on Linux and Mac OSX.
You must install Java version 8 or higher if you plan to compile the EMU java code and run it. If you're using the jar file from the CODA website, Java 8 or higher is necessary since it was compiled with that version.
Documentation on GitHub:
One can download the Java 8, pre-built emu-3.3.jar file from:
One can find the pre-built emu-3.3.jar file in the repository in the java/jars/java8 directory built with Java 8, or in the java/jars/java15 directory built with Java 15, or it can be generated. The generated jar file is placed in build/lib. In any case, put the jar file into your classpath and run your java application.
If you're using the pre-built jar file, Java version 8 or higher is necessary since it was compiled with that version. Also, when generating it, it’s advisable to use Java version 8 or higher since all other pre-built CODA jar files have been compiled with Java 8.
To build a new jar file do:
./gradlew
The newly created jar file will be places in build/lib/. To change java version
In addition to standard gradle options, the following commands can be run:
./gradlew envprints variables and paths used for building and installation./gradlew javadoccreate javadoc documentation./gradlew developdoccreate javadoc documentation for developers./gradlew undocremove all javadoc documentation./gradlew install -Pprefix=/your/install/pathcreate javadoc documentation for developers./gradlew uninstallremove jar file previously installed intoprefix, if given on command line by-Dprefix=dir. Else uninstall from$CODAif defined.
To see a full list of options, run ./gradlew tasks. To change java versions, edit the line
toolchain { languageVersion.set(JavaLanguageVersion.of(8)) }
with desired java version in the file build.gradle.kts.
All documentation links are provided above.
However, if using the downloaded distribution, some of the documentation needs to be generated and some already exists. For existing docs look in doc/usersGuide for pdf and Microsoft Word format documents.
Some of the documentation is in the source code itself and must be generated and placed into its own directory. The java code is documented with, of course, javadoc.
For any issues regarding use and copyright, read the license file.
