Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /DQMOffline/Trigger/test/readme.md is written in an unsupported language. File is not indexed.

0001 Unit test: `testHLTFiltersDQMonitor`
0002 ------------------------------------
0003 
0004 Test of the DQM plugin `HLTFiltersDQMonitor`.
0005 
0006   - To run the test via `scram`
0007     ```sh
0008     scram build runtests_testHLTFiltersDQMonitor
0009     ```
0010 
0011   - To run the test without `scram`
0012     ```sh
0013     LOCALTOP="${CMSSW_BASE}" "${CMSSW_BASE}"/src/DQMOffline/Trigger/test/testHLTFiltersDQMonitor.sh
0014     ```
0015 
0016   - To show info on command-line arguments of `testHLTFiltersDQMonitor_cfg.py`
0017     ```sh
0018     python3 "${CMSSW_BASE}"/src/DQMOffline/Trigger/test/testHLTFiltersDQMonitor_cfg.py -h
0019     ```
0020 
0021   - To execute cmsRun with `testHLTFiltersDQMonitor_cfg.py` (example)
0022     ```sh
0023     cmsRun "${CMSSW_BASE}"/src/DQMOffline/Trigger/test/testHLTFiltersDQMonitor_cfg.py -t 4 -s 0 -o tmp.root -n 100
0024     ```
0025 
0026   - To create a bare ROOT file from the DQMIO output of `testHLTFiltersDQMonitor_cfg.py`,
0027     run the harvesting step as follows
0028     ```sh
0029     cmsRun "${CMSSW_BASE}"/src/DQMOffline/Trigger/test/harvesting_cfg.py -i file:tmp.root
0030     ```