示例#1
0
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 = 'offl'
test.check_steps.append(comp5)

comp6 = TrigInDetCompStep('Comp_EFele_off', 'EF', 'electron')
comp6.type = 'offl'
test.check_steps.append(comp6)

comp7 = TrigInDetCompStep('Comp_L2eleLowpt_off', 'L2', 'electron', lowpt=True)
comp7.type = 'offl'
test.check_steps.append(comp7)

comp8 = TrigInDetCompStep('Comp_EFeleLowpt_off', 'EF', 'electron', lowpt=True)
comp8.type = 'offl'
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())
示例#2
0
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_L2mb', 'L2', 'mb')
test.check_steps.append(comp)

comp2 = TrigInDetCompStep('Comp_EFmb', 'EF', 'mb')
test.check_steps.append(comp2)

# CPU cost steps
cpucost = TrigInDetCpuCostStep('CpuCostStep1')
test.check_steps.append(cpucost)

cpucost2 = TrigInDetCpuCostStep('CpuCostStep2')
cpucost2.args += '  -p FastTrack'
cpucost2.output_dir = 'times-FTF'
test.check_steps.append(cpucost2)

import sys
sys.exit(test.run())