adapt PrCheckerEfficiencyHandler_HLT2 to new folder layout of PrCheckerPlots
The structure of the input file for PrCheckerEfficiencyHandler_HLT2
has been changed. This Merge request is to adapt it to the new folder layout.
The modified scripts has been tested in the following steps:
-
cp /eos/lhcb/user/m/mengzhen/Electron_Efficiency/PrCheckerPlots_HLT2.root MyDir
(MyDir is somewhere you can read and write) -
Change
wwwDirEos
to an eos directory where you can read and write. This is for the local test. -
run the test script:
lb-run ROOT ./testHandlers.py -r MyDir -l PrCheckerEfficiencyHandler_HLT2
The output root file can be generated as expected, and the png file to be sent to eos can be find in : /eos/lhcb/user/m/mengzhen/Electron_Efficiency/efficiency/BestLong_eta25_effpt_v1r0_x86_64-centos7-gcc62-opt_20190403_104330.png