-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: update all documentation in preparation for v1.0 (#114)
- Loading branch information
Showing
7 changed files
with
146 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Timeline code | ||
This the the directory with code for producing timelines. To run it, [look one directory above](/../../) | ||
# Detector Timeline Production | ||
|
||
This is the submodule for producing detector timelines. The primary executable is `run.groovy`, found within its source code. | ||
|
||
To run it, it is better to follow the [main documentation](../README.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,41 @@ | ||
# clas12_monitoring | ||
An independent set of classes for clas12 monitoring | ||
# `clas12_monitoring` | ||
An independent set of classes for clas12 monitoring of detectors | ||
|
||
Current active branches in the repo only supports hipo4 and coatjava6. | ||
Follow the [main documentation](../README.md) for guidance, otherwise continue reading this file for details on detector monitoring code and execution. | ||
|
||
## How to run the detector monitoring code | ||
|
||
## How to run the monitoring codes | ||
For example, the run 11127 of Run Group B can be monitored in following steps. | ||
|
||
For example, the run 11127 of rg-b can be monitored in following steps. | ||
The first step is to create the list of files to be monitored: | ||
```bash | ||
ls /cache/clas12/rg-b/production/decoded/6.5.6/011127/*.hipo > list11127.txt | ||
mkdir plots11127 | ||
``` | ||
|
||
- ```ls /cache/clas12/rg-b/production/decoded/6.5.6/011127/* > list11127.txt``` | ||
- ```mkdir plots11127``` | ||
- ```java -DCLAS12DIR="$COATJAVA" -cp "$COATJAVA/lib/clas/*:$COATJAVA/lib/utils/*:target/*" org.jlab.clas12.monitoring.ana_2p2 11127 plots list11127.txt 100000000 10.4``` | ||
Next run the compiled code, after setting some environment variables from [`environ.sh`](../bin/environ.sh): | ||
```bash | ||
source ../bin/environ.sh | ||
java $TIMELINE_JAVA_OPTS org.jlab.clas12.monitoring.ana_2p2 11127 plots11127 list11127.txt 100000000 10.4 | ||
``` | ||
Change 11127 to the wanted run number. The last two arguments are the maximum number of events to monitor, and the beam energy (10.4 GeV for example). | ||
|
||
The first step is to create the list of files to be monitored, and the second one is to run the compiled codes for monitoring. Change 11127 to the wanted run number. The last two arguments are the maximum event numbers to monitor, and the beam energy (10.4 GeV for example). | ||
|
||
The class ana_2p2 runs [all source codes](src/main/java/org/jlab/clas12/monitoring). If it is enough to create updates in a specific detector monitoring, one can run the relevant code only. For example, for DC and TOF monitoring, please use org.jlab.clas12.monitoring.tof_monitoring. | ||
The class `ana_2p2` runs [all detectors' monitoring](src/main/java/org/jlab/clas12/monitoring). If it is enough to create updates in a specific detector monitoring, one can run the relevant code only. For example, for DC and TOF monitoring, please use `org.jlab.clas12.monitoring.tof_monitor`. | ||
|
||
Currently, each detector is related to the following class names. | ||
|
||
- All detectors: ana_2p2 | ||
- BAND: BAND | ||
- CVT, CTOF: central | ||
- CND: cndCheckPlots | ||
- general DST monitoring: monitor2p2GeV | ||
- rgb LD2 target: deutrontarget | ||
- rgb specific DST monitoring: dst_mon | ||
- FT: FT | ||
- HTCC: HTCC | ||
- LTCC: LTCC | ||
- CVT occupancies: occupancies | ||
- RICH: RICH | ||
- DC, FTOF: tof_monitor | ||
|
||
| Detector(s) | Class | | ||
| --- | --- | | ||
| All detectors | `ana_2p2` | | ||
| BAND | `BAND` | | ||
| CVT, CTOF | `central` | | ||
| CND | `cndCheckPlots` | | ||
| general DST monitoring | `monitor2p2GeV` | | ||
| rgb LD2 target | `deutrontarget` | | ||
| rgb specific DST monitoring | `dst_mon` | | ||
| FT | `FT` | | ||
| HTCC | `HTCC` | | ||
| LTCC | `LTCC` | | ||
| CVT occupancies | `occupancies` | | ||
| RICH | `RICH` | | ||
| DC, FTOF | `tof_monitor` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.