Skip to content

adapt PrCheckerEfficiencyHandler_HLT2 to new folder layout of PrCheckerPlots

Mengzhen Wang requested to merge mwang_fix_PrCheckerEfficiencyHandler_HLT2 into master

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:

  1. cp /eos/lhcb/user/m/mengzhen/Electron_Efficiency/PrCheckerPlots_HLT2.root MyDir (MyDir is somewhere you can read and write)

  2. Change wwwDirEos to an eos directory where you can read and write. This is for the local test.

  3. 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

Merge request reports