-
Notifications
You must be signed in to change notification settings - Fork 20
Home
Mon12 can be built and run from an IDE or from command line.
- From the ''File'' menu, select ''Open project...'' and select the clas12mon directory.
- Right-click on the project and select ''Properties'' from the drop-down menu. Go to the ''Run'' option and add the following string in the VM field -DCLAS12DIR=path-to-your-coatjava-installation. See the the following picture as an example.
- Click on the ''Build'' or ''Clean&Build'' button to compile the project.
- Click on the ''Run'' button to start the GUI.
-
cd to the clas12mon directory and execute the following commands to build the project:
mvn cleanmvn install -
Set the environment variable ''CLAS12DIR'' to point to your coatjava installation.
-
Run the executable script
./bin/mon12
-
Run the following command to visualize the available options
./bin/mon12 -h -
The output will look like as follows:
+-------------------------------------------------------------------------
| Starting CLAS12 monitoring app
+-------------------------------------------------------------------------
INSTALLATION DIRECTORY = ./bin/..
*******************************************
* PROGRAM USAGE : by OptionParser *
*******************************************
Usage : mon12
Options :
-geometry : Select window size, e.g. 1600x1200 (default = 1600x1000)
-logbook : Select electronic logbook (default = HBLOG)
-tabs : Select active tabs, e.g. BST:FTOF (default = All)-
Use the ''-geometry' option to select the size of the GUI window.
-
Use the option ''-tabs'' to select the subsystem tabs to be displayed. For example, the command below will activate only the CND and CTOF tabs and the corresponding summary tab, i.e. the CD tab. All other tabs will not be displayed. In this configuration, when uploading the histograms to the logbook or saving the plots to file, only the displayed tabs will be saved. If no ''-tabs'' option is specified, all the available tabs will be displayed.
./bin/mon12 -tabs "CND:CTOF" -
Use the option ''-logbook'' to select the logbook where to save histogram pictures. The default is ''HBLOG''.