"-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 = 2000 rdo2aod.threads = 1 # TODO: change to 4 rdo2aod.concurrent_events = 4 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)
"-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 = 4 rdo2aod.concurrent_events = 4 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):
"-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 = 1 # TODO: change to 4 rdo2aod.concurrent_events = 1 # TODO: change to 4 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)
"-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 = 1 # TODO: change to 4 rdo2aod.concurrent_events = 1 # TODO: change to 4 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):
"-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 = ['bjet'] rdo2aod.max_events = 2000 rdo2aod.threads = 1 rdo2aod.concurrent_events = 1 rdo2aod.perfmon = False rdo2aod.timeout = 18 * 3600 rdo2aod.input = 'ttbar' # 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)
"-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 = ['minbias'] rdo2aod.max_events = 8000 rdo2aod.threads = 4 rdo2aod.concurrent_events = 4 rdo2aod.perfmon = False rdo2aod.timeout = 18 * 3600 rdo2aod.input = 'minbias' # 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)
"-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() # test specific variables ... rdo2aod.slices = Slices rdo2aod.max_events = Events rdo2aod.threads = Threads rdo2aod.concurrent_events = Slots rdo2aod.perfmon = False rdo2aod.timeout = 18 * 3600 rdo2aod.input = Input # defined in TrigValTools/share/TrigValInputs.json test = Test.Test() test.art_type = 'grid' if (not exclude):
"-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 = 4 rdo2aod.concurrent_events = 4 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):
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.TrigInDetArtSteps 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)