diff --git a/Trigger/TrigValidation/TrigInDetValidation/CMakeLists.txt b/Trigger/TrigValidation/TrigInDetValidation/CMakeLists.txt index 5fa71b2c2ec42a75a808900e1018207f3bc9d64a..bb8602ea3856257191dbf96f54f977ea51460590 100644 --- a/Trigger/TrigValidation/TrigInDetValidation/CMakeLists.txt +++ b/Trigger/TrigValidation/TrigInDetValidation/CMakeLists.txt @@ -17,5 +17,5 @@ atlas_install_scripts( scripts/TIDA*.py test/test*.py POST_BUILD_CMD ${ATLAS_FLA # Unit test for python test scripts: atlas_add_test( TrigValSteeringUT SCRIPT trigvalsteering-unit-tester.py ${CMAKE_CURRENT_SOURCE_DIR}/test - PROPERTIES TIMEOUT 1200 + PROPERTIES TIMEOUT 600 POST_EXEC_SCRIPT nopost.sh ) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_old.py deleted file mode 100755 index 63ce3daf22f0f5555c6faecdbe0972d78a501cf5..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_old.py +++ /dev/null @@ -1,127 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for all_ttbar_pu80 -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon','electron','tau','bjet'] -rdo2aod.max_events = 4000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'ttbar_pu80' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-offline.dat -r Offline -f data-hists.root -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -comp.test='ttbar' -test.check_steps.append(comp) - - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -comp2.test='ttbar' -test.check_steps.append(comp2) - - -comp3=TrigInDetCompStep('Comp_L2bjet','L2','bjet') -comp3.test='ttbar' -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFbjet','EF','bjet') -comp4.test='ttbar' -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2tau','L2','tau') -comp5.test='ttbar' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFtau','EF','tau') -comp6.test='ttbar' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2ele','L2','electron') -comp7.test='ttbar' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFele','EF','electron') -comp8.test='ttbar' -test.check_steps.append(comp8) - -comp9=TrigInDetCompStep('Comp_L2FS','L2','FS') -comp9.test='ttbar' -test.check_steps.append(comp9) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_short_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_short_old.py deleted file mode 100755 index 83941ab6bf6ae82c2385e6add222b8c00dca8636..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_short_old.py +++ /dev/null @@ -1,127 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for all_ttbar_pu80_short -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon','electron','tau','bjet'] -rdo2aod.max_events = 1000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'ttbar_pu80' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-offline.dat -r Offline -f data-hists.root -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -comp.test='ttbar' -test.check_steps.append(comp) - - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -comp2.test='ttbar' -test.check_steps.append(comp2) - - -comp3=TrigInDetCompStep('Comp_L2bjet','L2','bjet') -comp3.test='ttbar' -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFbjet','EF','bjet') -comp4.test='ttbar' -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2tau','L2','tau') -comp5.test='ttbar' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFtau','EF','tau') -comp6.test='ttbar' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2ele','L2','electron') -comp7.test='ttbar' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFele','EF','electron') -comp8.test='ttbar' -test.check_steps.append(comp8) - -comp9=TrigInDetCompStep('Comp_L2FS','L2','FS') -comp9.test='ttbar' -test.check_steps.append(comp9) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_st_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_st_old.py deleted file mode 100755 index 357cde750984cdc18b769e4256d537793c757001..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_all_ttbar_pu80_st_old.py +++ /dev/null @@ -1,128 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for all_ttbar_pu80_st -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon','electron','tau','bjet'] -rdo2aod.max_events = 1000 -rdo2aod.threads = 1 -rdo2aod.concurrent_events = 1 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'ttbar_pu80' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-offline.dat -r Offline -f data-hists.root -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -comp.test='ttbar' -test.check_steps.append(comp) - - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -comp2.test='ttbar' -test.check_steps.append(comp2) - - -comp3=TrigInDetCompStep('Comp_L2bjet','L2','bjet') -comp3.test='ttbar' -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFbjet','EF','bjet') -comp4.test='ttbar' -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2tau','L2','tau') -comp5.test='ttbar' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFtau','EF','tau') -comp6.test='ttbar' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2ele','L2','electron') -comp7.test='ttbar' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFele','EF','electron') -comp8.test='ttbar' -test.check_steps.append(comp8) - -comp9=TrigInDetCompStep('Comp_L2FS','L2','FS') -comp9.test='ttbar' -test.check_steps.append(comp9) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_nopps_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_nopps_pu40_old.py deleted file mode 100755 index f014eae0bec7dbb9a74ac77c1e05889e9e41e7d8..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_nopps_pu40_old.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for bjet_pu40_mt -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - -import os -os.system("echo 'ftf = findAlgorithm(topSequence, \"TrigFastTrackFinder__jet\")' > dopps.py") -os.system("echo 'ftf.TripletDoPPS=False' >> dopps.py") - -Slices = ['bjet'] -RunEF = True -Events = 4000 -Threads = 8 -Slots = 8 -postinclude_file = 'dopps.py' -Input = 'ttbar_ID' # defined in TrigValTools/share/TrigValInputs.json - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_pu40_old.py deleted file mode 100755 index 3aa3e95ad34f152e099e44661458610dd6d7e3a1..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_bjet_pu40_old.py +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for bjet_pu40_mt -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - -Slices = ['bjet'] -RunEF = True -Events = 4000 -Threads = 8 -Slots = 8 -Input = 'ttbar_ID' # defined in TrigValTools/share/TrigValInputs.json - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_jpsiee_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_jpsiee_pu40_old.py deleted file mode 100755 index 3995c8d3cec0116958651a5fba22e3f6d4d05ab5..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_jpsiee_pu40_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_Jpsiee_pu40 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.129190.Pythia8_AU2CTEQ6L1_ppToJpsie3e3.recon.RDO.e3802_s2608_s2183_r7042 -# art-input-nfiles: 16 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 8000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Jpsiee_pu40' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_old.py deleted file mode 100755 index 976ed85fa7dc9439a468bcfc0055da09251d173c..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_singlee_7-80_larged0 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.159053.ParticleGenerator_e_Et7to80_vertxy20.recon.RDO.e3603_s2726_r7728 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_el_larged0' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-larged0-el.dat -f data-hists.root -p 11 -b Test_bin_larged0.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline-larged0-el.dat -r Offline -f data-hists-offline.root -b Test_bin_larged0.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_pu_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_pu_old.py deleted file mode 100755 index ed1cd1d3eb8078519d7d371e27c5a37600f5e5ae..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_larged0_pu_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_singlee_7-80_larged0_pu -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.159053.ParticleGenerator_e_Et7to80_vertxy20.recon.RDO.e3603_s2726_r7772 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_el_larged0_pu' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-larged0-el.dat -f data-hists.root -p 11 -b Test_bin_larged0.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline-larged0-el.dat -r Offline -f data-hists-offline.root -b Test_bin_larged0.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_old.py deleted file mode 100755 index 50bf73e3b53187e1dbfa7bc37eb00485b603cba9..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_singlee_7-80 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.159010.ParticleGenerator_e_Et7to80.recon.RDO.e1948_s2726_r7728 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_el' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_pu40_old.py deleted file mode 100755 index f9da6ad43467c4bf4a34df53a4d1cc66fbce894e..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_singlee_7-80_pu40_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_singlee_7-80_pu40 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.159010.ParticleGenerator_e_Et7to80.recon.RDO.e1948_s2726_r7728 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_el_pu' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_old.py deleted file mode 100755 index 82997b99273faf2d89b559a4baa9b1e511146430..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_zee_pu40 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.recon.RDO.e3601_s2665_s2183_r7191 -# art-input-nfiles: 8 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 16000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Zee_pu40' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_short_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_short_old.py deleted file mode 100755 index b7b997ecba6e7ebd9fe9a1271aee1393ea8f0400..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_short_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_zee_pu40_short -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.recon.RDO.e3601_s2665_s2183_r7191 -# art-input-nfiles: 8 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 8000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Zee_pu40' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_st_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_st_old.py deleted file mode 100755 index 23ec19ec16f292d1bef0b8492a4f9ad80a903e67..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_el_zee_pu40_st_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for el_zee_pu40_st -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.recon.RDO.e3601_s2665_s2183_r7191 -# art-input-nfiles: 8 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['electron'] -rdo2aod.max_events = 8000 -rdo2aod.threads = 1 # TODO: change to 4 -rdo2aod.concurrent_events = 1 # TODO: change to 4 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Zee_pu40' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 11 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2ele','L2','electron') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFele','EF','electron') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2eleLowpt','L2','electron',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFeleLowpt','EF','electron',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2ele_off','L2','electron') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFele_off','EF','electron') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2eleLowpt_off','L2','electron',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFeleLowpt_off','EF','electron',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_ml_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_ml_pu40_old.py deleted file mode 100755 index c7d0df17463a66d36d605815c902f3e55851bffc..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_ml_pu40_old.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for fsjet_ml_pu40 -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['fsjet'] -RunEF = False -Events = 2000 -Threads = 1 -Slots = 1 # what about the mt: 4 art directive ? nfiles: 3 ? -Input = 'ttbar' # defined in TrigValTools/share/TrigValInputs.json - -postinclude_file = 'TIDAml_extensions.py' - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_old.py deleted file mode 100755 index 706271f7e05556a53520cbde9adbeda7d56251d4..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_old.py +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for fsjet_pu40 -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['fsjet'] -RunEF = False -Events = 2000 -Threads = 8 -Slots = 8 -Input = 'ttbar' # defined in TrigValTools/share/TrigValInputs.json - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_st_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_st_old.py deleted file mode 100755 index eaac4d29a2ba9600fcc1f590432570ab2e599169..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_fsjet_pu40_st_old.py +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for fsjet_pu40_st -# art-type: grid -# art-include: master/Athena -# art-input-nfiles: 3 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['fsjet'] -RunEF = False -Events = 2000 -Threads = 1 -Slots = 1 # what about the mt: 4 art directive ? nfiles: 3 ? -Input = 'ttbar' # defined in TrigValTools/share/TrigValInputs.json - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_minbias_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_minbias_old.py deleted file mode 100755 index ed5c049f98d09b1949ca74d3360ce8024accca6e..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_minbias_old.py +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env python - - -# art-description: art job for minbias -# art-type: grid -# art-include: master/Athena -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-athena-nfiles: 4 -# art-athena-mt: 8 -# art-memory: 4096 -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['minbias'] -RunEF = False -Events = 8000 -Threads = 8 -Slots = 8 -Input = 'minbias' # defined in TrigValTools/share/TrigValInputs.json - -TrackReference = [ 'Truth', 'Offline' ] - - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_bphys_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_bphys_old.py deleted file mode 100755 index 81e88a51941ff80f336322c2c05a9606414c47f4..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_bphys_old.py +++ /dev/null @@ -1,118 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_bphys -# art-type: grid -# art-include: master/Athena -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon'] -rdo2aod.max_events = 6000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'Bphys_JpsiPhi' # defined in TrigValTools/share/TrigValInputs.json - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 13 -b Test_bin.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline.dat -r Offline -f data-hists-offline.root -b Test_bin.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2muonLowpt','L2','muon',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFmuonLowpt','EF','muon',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2muon_off','L2','muon') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFmuon_off','EF','muon') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2muonLowpt_off','L2','muon',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFmuonLowpt_off','EF','muon',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_old.py deleted file mode 100755 index ae31227820186cecf50eac94168c7979e7872aae..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_singlemu_larged0_pu -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.107237.ParticleGenerator_mu_Pt4to100_vertxy20.recon.RDO.e3603_s2726_r7772 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_mu_larged0_pu' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-larged0.dat -f data-hists.root -p 13 -b Test_bin_larged0.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline-larged0.dat -r Offline -f data-hists-offline.root -b Test_bin_larged0.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2muonLowpt','L2','muon',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFmuonLowpt','EF','muon',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2muon_off','L2','muon') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFmuon_off','EF','muon') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2muonLowpt_off','L2','muon',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFmuonLowpt_off','EF','muon',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_pu_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_pu_old.py deleted file mode 100755 index a3cc45d3f8fd5cec0252577123a27f3dd5b24090..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_singlemu_larged0_pu_old.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_singlemu_larged0_pu -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.107237.ParticleGenerator_mu_Pt4to100_vertxy20.recon.RDO.e3603_s2726_r7728 -# art-input-nfiles: 10 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon'] -rdo2aod.max_events = 20000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -if local: - rdo2aod.input = 'Single_mu_larged0' # defined in TrigValTools/share/TrigValInputs.json -else: - rdo2aod.input = '' - rdo2aod.args += '--inputRDOFile=$ArtInFile ' - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3-larged0.dat -f data-hists.root -p 13 -b Test_bin_larged0.dat ' - test.check_steps.append(rdict) - rdict2 = TrigInDetdictStep('TrigInDetDict2') - rdict2.args='TIDAdata-run3-offline-larged0.dat -r Offline -f data-hists-offline.root -b Test_bin_larged0.dat ' - test.check_steps.append(rdict2) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2muon','L2','muon') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFmuon','EF','muon') -test.check_steps.append(comp2) - -comp3=TrigInDetCompStep('Comp_L2muonLowpt','L2','muon',lowpt=True) -test.check_steps.append(comp3) - -comp4=TrigInDetCompStep('Comp_EFmuonLowpt','EF','muon',lowpt=True) -test.check_steps.append(comp4) - -comp5=TrigInDetCompStep('Comp_L2muon_off','L2','muon') -comp5.type = 'offline' -test.check_steps.append(comp5) - -comp6=TrigInDetCompStep('Comp_EFmuon_off','EF','muon') -comp6.type = 'offline' -test.check_steps.append(comp6) - -comp7=TrigInDetCompStep('Comp_L2muonLowpt_off','L2','muon',lowpt=True) -comp7.type = 'offline' -test.check_steps.append(comp7) - -comp8=TrigInDetCompStep('Comp_EFmuonLowpt_off','EF','muon',lowpt=True) -comp8.type = 'offline' -test.check_steps.append(comp8) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_build_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_build_old.py deleted file mode 100755 index be5e11daf8705ecc2be04de4ea879fbfd42c80ae..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_build_old.py +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_Zmumu_pu40_build -# art-type: build -# art-include: master/Athena - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print ("-x don't run athena or post post-processing, only plotting") - print ("-p run post-processing, even if -x is set") - - -exclude=False -postproc=False -for opt,arg in opts: - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['muon'] -rdo2aod.max_events = 100 # TODO: 2000 events -rdo2aod.threads = 1 # TODO: change to 4 -rdo2aod.concurrent_events = 1 # TODO: change to 4 -rdo2aod.perfmon = False -rdo2aod.input = 'Zmumu_pu40' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'build' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -p 13 -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep( 'Comp_L2muon', 'L2', 'muon' ) -comp.flag = 'L2muon' -test.check_steps.append(comp) - -comp2=TrigInDetCompStep( 'Comp_EFmuon', 'EF', 'muon' ) -comp2.flag = 'EFmuon' -test.check_steps.append(comp2) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_old.py deleted file mode 100755 index 39175be7de87f8b15a6ac49b65567517990e11a1..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_old.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_Zmumu_pu40 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu.recon.RDO.e3601_s2576_s2132_r7143 -# art-input-nfiles: 4 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['muon'] -RunEF = True -Events = 8000 -Threads = 8 -Slots = 8 -Input = 'Zmumu_pu40' # defined in TrigValTools/share/TrigValInputs.json -GridFiles=True - -Args = " -p 13 " -TrackReference = [ 'Truth', 'Offline' ] -Lowpt = [ False, True ] - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_short_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_short_old.py deleted file mode 100755 index 73924c0f5e9ad522b78f6ac88ae8bfe76562c06a..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_short_old.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_Zmumu_pu40 -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu.recon.RDO.e3601_s2576_s2132_r7143 -# art-input-nfiles: 4 -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['muon'] -RunEF = True -Events = 2000 -Threads = 8 -Slots = 8 -Input = 'Zmumu_pu40' # defined in TrigValTools/share/TrigValInputs.json -GridFiles=True - -Args = " -p 13 " -TrackReference = [ 'Truth', 'Offline' ] -Lowpt = [ False, True ] - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_st_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_st_old.py deleted file mode 100755 index 146fda5462f1c3921e1731c35cb6bc58e5268470..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_mu_zmumu_pu40_st_old.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_Zmumu_pu40_st -# art-type: grid -# art-include: master/Athena -# art-input: mc15_13TeV.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu.recon.RDO.e3601_s2576_s2132_r7143 -# art-input-nfiles: 4 -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -Slices = ['muon'] -RunEF = True -Events = 2000 -Threads = 1 -Slots = 1 -Input = 'Zmumu_pu40' # defined in TrigValTools/share/TrigValInputs.json -GridFiles=True - -Args = " -p 13 " -TrackReference = [ 'Truth', 'Offline' ] -Lowpt = [ False, True ] - -from AthenaCommon.Include import include -include("TrigInDetValidation/TrigInDetValidation_OldBase.py") - - - diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_old.py deleted file mode 100755 index b96643db6aefd7e5e764b5109b6a8858ba5f65a0..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_old.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_ztautau_pu46 -# art-type: grid -# art-include: master/Athena -# art-athena-mt: 8 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['tau'] -rdo2aod.max_events = 6000 -rdo2aod.threads = 8 -rdo2aod.concurrent_events = 8 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'Ztautau_pu46' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2tau','L2','tau') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFtau','EF','tau') -test.check_steps.append(comp2) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run()) diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_st_old.py b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_st_old.py deleted file mode 100755 index 2eed16f432114929b6ced9dee0ef2f39fe45a9fd..0000000000000000000000000000000000000000 --- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigID_tau_ztautau_pu46_st_old.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env python - -# art-description: art job for mu_ztautau_pu46_st -# art-type: grid -# art-include: master/Athena -# art-athena-mt: 4 -# art-memory: 4096 -# art-html: https://idtrigger-val.web.cern.ch/idtrigger-val/TIDAWeb/TIDAart/?jobdir= -# art-output: *.txt -# art-output: *.log -# art-output: log.* -# art-output: *.out -# art-output: *.err -# art-output: *.log.tar.gz -# art-output: *.new -# art-output: *.json -# art-output: *.root -# art-output: *.check* -# art-output: HLT* -# art-output: times* -# art-output: cost-perCall -# art-output: cost-perEvent -# art-output: cost-perCall-chain -# art-output: cost-perEvent-chain -# art-output: *.dat - - -from TrigValTools.TrigValSteering import Test, CheckSteps -from TrigInDetValidation.TrigInDetOldArtSteps import TrigInDetReco, TrigInDetAna, TrigInDetdictStep, TrigInDetCompStep, TrigInDetCpuCostStep - -import sys,getopt - -try: - opts, args = getopt.getopt(sys.argv[1:],"lxp",["local"]) -except getopt.GetoptError: - print("Usage: ") - print("-l(--local) run locally with input file from art eos grid-input") - print("-x don't run athena or post post-processing, only plotting") - print("-p run post-processing, even if -x is set") - - -local=False -exclude=False -postproc=False -for opt,arg in opts: - if opt in ("-l", "--local"): - local=True - if opt=="-x": - exclude=True - if opt=="-p": - postproc=True - - -rdo2aod = TrigInDetReco() -rdo2aod.slices = ['tau'] -rdo2aod.max_events = 6000 -rdo2aod.threads = 1 -rdo2aod.concurrent_events = 1 -rdo2aod.perfmon = False -rdo2aod.timeout = 18*3600 -rdo2aod.input = 'Ztautau_pu46' # defined in TrigValTools/share/TrigValInputs.json - - -test = Test.Test() -test.art_type = 'grid' -if (not exclude): - test.exec_steps = [rdo2aod] - test.exec_steps.append(TrigInDetAna()) # Run analysis to produce TrkNtuple - test.check_steps = CheckSteps.default_check_steps(test) - - -# Run Tidardict -if ((not exclude) or postproc ): - rdict = TrigInDetdictStep() - rdict.args='TIDAdata-run3.dat -f data-hists.root -b Test_bin.dat ' - test.check_steps.append(rdict) - - -# Now the comparitor steps -comp=TrigInDetCompStep('Comp_L2tau','L2','tau') -test.check_steps.append(comp) - -comp2=TrigInDetCompStep('Comp_EFtau','EF','tau') -test.check_steps.append(comp2) - -# CPU cost steps -cpucost=TrigInDetCpuCostStep('CpuCostStep1', ftf_times=False) -test.check_steps.append(cpucost) - -cpucost2=TrigInDetCpuCostStep('CpuCostStep2') -test.check_steps.append(cpucost2) - -import sys -sys.exit(test.run())