예제 #1
0
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)

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)
예제 #2
0
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 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_L2muonLowpt', 'L2', 'muon', lowpt=True)
test.check_steps.append(comp3)

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

comp5 = TrigInDetCompStep('Comp_L2muon_off', 'L2', 'muon')
comp5.type = 'offl'
test.check_steps.append(comp5)
예제 #3
0
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)

comp4 = TrigInDetCompStep('Comp_EFbjet', 'EF', 'bjet')
comp4.test = 'ttbar'
test.check_steps.append(comp4)
예제 #4
0
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 -b Test_bin.dat '
    test.check_steps.append(rdict)

# Now the comparitor steps
comp1 = TrigInDetCompStep('Comp_L2bjet', 'L2', 'bjet')
test.check_steps.append(comp1)

comp2 = TrigInDetCompStep('Comp_EFbjet', 'EF', 'bjet')
test.check_steps.append(comp2)

# 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())
예제 #5
0
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 -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
예제 #6
0
    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()
    if (TrackReference == "Truth"):
        rdict.args = 'TIDAdata-run3.dat  -f data-hists.root -b Test_bin.dat '
    if (TrackReference == "Offline"):
        rdict.args = 'TIDAdata-run3-offline.dat  -f data-hists.root -b Test_bin.dat '

    test.check_steps.append(rdict)

for slice in Slices:
    # Now the comparitor steps
    comp1 = TrigInDetCompStep('Comp_L2' + slice, 'L2', slice)
    test.check_steps.append(comp1)

    if (RunEF):
        comp2 = TrigInDetCompStep('Comp_EF' + slice, 'EF', slice)
        test.check_steps.append(comp2)

# 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())
예제 #7
0
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 -b Test_bin.dat '
    test.check_steps.append(rdict)

# Now the comparitor steps
comp = TrigInDetCompStep('Comp_L2tau', 'L2', 'tau')
test.check_steps.append(comp)

comp2 = TrigInDetCompStep('Comp_EFtau', 'EF', 'tau')
test.check_steps.append(comp2)

# 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())
예제 #8
0
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
if ((not exclude) or postproc ):
    rdict = TrigInDetdictStep()
    rdict.args='TIDAdata-run3.dat -f data-hists.root -p 13 -b Test_bin.dat '
    test.check_steps.append(rdict)
 

# Now the comparitor steps
comp=TrigInDetCompStep('Comp_L2muon')
comp.flag = 'L2muon'
test.check_steps.append(comp)
  
comp2=TrigInDetCompStep('Comp_EFmuon')
comp2.flag = 'EFmuon'
test.check_steps.append(comp2)

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

cpucost2=TrigInDetCpuCostStep('CpuCostStep2')
test.check_steps.append(cpucost2)

import sys