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

# Run Tidardict
if ((not exclude) or postproc):
Example #3
0
    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)

# Run Tidardict
if ((not exclude) or postproc):
Example #4
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 = 16000 
rdo2aod.threads = 4
rdo2aod.concurrent_events = 4
rdo2aod.perfmon = False
rdo2aod.timeout = 18*3600
if local:
    rdo2aod.input = 'Zee_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]
Example #5
0
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):
    test.exec_steps = [rdo2aod]
    test.exec_steps.append(TrigInDetAna())  # Run analysis to produce TrkNtuple
    test.check_steps = CheckSteps.default_check_steps(test)

# Run Tidardict
Example #6
0
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)

 
# Run Tidardict