Warning, /detector_benchmarks/README.md is written in an unsupported language. File is not indexed.
0001 EIC Detector Benchmarks
0002 =======================
0003
0004 [![pipeline status](https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/badges/master/pipeline.svg)](https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/commits/master)
0005
0006 ## Overview
0007
0008 Detector benchmarks are meant to test for regressions in individual detector subsystems.
0009 The analysis is meant to avoid a reconstruction step.
0010 So this precludes using [juggler](https://eicweb.phy.anl.gov/EIC/juggler) for processing the events.
0011
0012 ## Documentation
0013
0014 See [common_bench](https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench/).
0015
0016 ## Adding new benchmarks
0017
0018 To get an idea of what to do look at an existing benchmark in the
0019 [`benchmarks` directory](https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/tree/master/benchmarks).
0020
0021 ## Running Locally
0022
0023 ### Local development example
0024
0025 Here we setup to use our local build of the `juggler` library.
0026 Note juggler is not needed for `detector_benchmarks` because it is not used but this is the same setup for
0027 `reconstruction_benchmarks` and `physics_benchmarks`.
0028
0029 First set some environment variables.
0030 ```
0031 export DETECTOR=epic # epic is the default
0032 ```
0033
0034
0035 ```
0036 git clone https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks.git && cd detector_benchmarks
0037 git clone https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
0038 source setup/bin/env.sh && ./setup/bin/install_common.sh
0039 source .local/bin/env.sh && build_detector.sh
0040 mkdir_local_data_link sim_output
0041 mkdir -p results
0042 mkdir -p config
0043 ```
0044
0045
0046
0047
0048 ### Pass/Fail tests
0049
0050 - Create a script that returns exit status 0 for success.
0051 - Any non-zero value will be considered failure.
0052 - Script
0053