Warning, /RecoTauTag/HLTProducers/test/README.md is written in an unsupported language. File is not indexed.
0001 ## Tests for tau HLT producers
0002
0003 ### Setup to tes L2TauNNTag
0004 You need to have this repository in CMSSW_12_1_0_pre4/src (or newer). If you don't have it, the command to run is:
0005 ```
0006 export SCRAM_ARCH=slc7_amd64_gcc900
0007 cmsrel CMSSW_12_1_0_pre4
0008 cd CMSSW_12_1_0_pre4/src
0009 cmsenv
0010 git cms-merge-topic cms-tau-pog:CMSSW_12_1_X_tau-pog_L2wCNN
0011 scram b -j 8
0012 ```
0013
0014 You also need the RecoTauTag-Training files. If you don't have it, run the command:
0015 ```
0016 git clone -b L2_CNN_v1 git@github.com:cms-tau-pog/RecoTauTag-TrainingFiles.git RecoTauTag/TrainingFiles/data
0017 ```
0018
0019 ### L2TauNNTag test
0020 You need to authenticate to run the test command since it exploits files that are saved on store. So you need to run the command:
0021 ```
0022 voms-proxy-init --rfc --voms cms
0023 ```
0024
0025 You are now ready to run the test for L2TauTagNN
0026 ```
0027 cd CMSSW_12_1_0_pre4/src
0028 cmsenv
0029 scram b -j 8
0030 cmsRun RecoTauTag/HLTProducers/test/testL2TauTagNN.py
0031 ```
0032
0033 if you want to run on a limited number of events:
0034 ```
0035 cmsRun RecoTauTag/HLTProducers/test/testL2TauTagNN.py maxEvents=20
0036 ```