Back to home page

EIC code displayed by LXR

 
 

    


Warning, /EICrecon/docs/design/flags/dd4hep.md is written in an unsupported language. File is not indexed.

0001 
0002 ## Geometry flags
0003 
0004 
0005 #### Environment variables:
0006 
0007 - **DETECTOR_PATH** - path where DD4Hep detector
0008 - **DETECTOR_CONFIG** - name of xml file with DD4Hep detector description without '.xml' extension
0009 
0010 If both variables are set, EICrecon by default tries to open:
0011 
0012 ```bash
0013 ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml
0014 ```
0015 
0016 `dd4hep:xml_files` (see below), overwrites the default.
0017 
0018 
0019 #### Flags:
0020 
0021 **dd4hep:xml_files** - Comma separated list of XML files describing the DD4hep geometry.
0022 **dd4hep:print_level** - Set DD4hep print level (see DD4hep/Printout.h)
0023 
0024 If xml_files are given and DETECTOR_PATH is set, then EICrecon first tries to open xml_file\[i\] if it fails, it tries
0025 `${DETECTOR_PATH}/file`
0026 
0027 ```bash
0028 
0029 eicrecon ... -Pdd4hep:xml_files=/full/path/epic.xml   # good
0030 eicrecon ... -Pdd4hep:xml_files=epic.xml              # good if $DETECTOR_PATH is set /full/path/
0031 eicrecon ... -Pdd4hep:xml_files=epic                  # fail, contrary to DETECTOR_CONFIG, this should be with extension
0032 ```