Example #1
0
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.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)
Example #2
0
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)

# Run Tidardict
if ((not exclude) or postproc):
    rdict = TrigInDetdictStep()
    rdict.args = 'TIDAdata-run3.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)