コード例 #1
0
# 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 = '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
コード例 #2
0
    rdict = TrigInDetdictStep('TrigInDetDict')
    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.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_L2muon_off', 'L2', 'muon')
comp3.type = 'offl'
test.check_steps.append(comp3)

comp4 = TrigInDetCompStep('Comp_EFmuon_off', 'EF', 'muon')
comp4.type = 'offl'
test.check_steps.append(comp4)

comp5 = TrigInDetCompStep('Comp_L2muonLowpt', 'L2', 'muon', lowpt=True)
test.check_steps.append(comp5)

comp6 = TrigInDetCompStep('Comp_EFmuonLowpt', 'EF', 'muon', lowpt=True)
test.check_steps.append(comp6)

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