Beispiel #1
0
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):
    test.exec_steps = [rdo2aod]
    test.exec_steps.append(TrigInDetAna())  # Run analysis to produce TrkNtuple
    test.check_steps = CheckSteps.default_check_steps(test)
Beispiel #2
0
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):
    test.exec_steps = [rdo2aod]
    test.exec_steps.append(TrigInDetAna())  # Run analysis to produce TrkNtuple
    test.check_steps = CheckSteps.default_check_steps(test)
Beispiel #3
0
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):
    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()