Esempio n. 1
0
)

processing = Category(
    name='processing',
    cores=1,
    runtime=900,
    memory=1000
)

workflows = []

ttH = Workflow(
    label='ttH',
    dataset=cmssw.Dataset(
        dataset='/ttHToNonbb_M125_13TeV_powheg_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
        lumis_per_task=20,
        file_based=True
    ),
    category=processing,
    command='root -b -q -l script_macro.C @outputfiles @inputfiles',
    extra_inputs=['script_macro.C'],
    publish_label='test',
    merge_command='hadd @outputfiles @inputfiles',
    merge_size='3.5G',
    outputs=['output.root']
)

workflows.append(ttH)

config = Config(
    workdir='/tmpscratch/users/$USER/lobster_test_' + version,
Esempio n. 2
0
processing = Category(name='processing', cores=1, runtime=3600, memory=1000)

workflows = []

#######################################################
#######################################################
############
############  signal
############
#######################################################
#######################################################

tth_nonbb_powheg_ = Workflow(
    label='tth_nonbb_powheg_',
    dataset=cmssw.Dataset(
        dataset=
        '/ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
    pset='osTwoLep_cfg.py',
    arguments=['skim=True'],
    merge_size='2.0G',
)
workflows.append(tth_nonbb_powheg_)

tth_nonbb_aMCatNLO_ = Workflow(
    label='tth_nonbb_aMCatNLO_',
    dataset=cmssw.Dataset(
        dataset=
        '/ttHJetToNonbb_M125_13TeV_amcatnloFXFX_madspin_pythia8_mWCutfix/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
Esempio n. 3
0
workflows = []


#######################################################
#######################################################
############
############  signal
############
#######################################################
#######################################################

tth_nonbb_powheg_ = Workflow(
    label='tth_nonbb_powheg_',
    dataset=cmssw.Dataset(
        dataset='/ttHToNonbb_M125_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM',
        events_per_task=20000
        ),
    category=processing,
    pset='osTwoLep_cfg.py',
    arguments=['skim=True'],
    merge_size='1.0G',
    )
workflows.append(tth_nonbb_powheg_)

tth_nonbb_aMCatNLO_ = Workflow(
    label='tth_nonbb_aMCatNLO_',
    dataset=cmssw.Dataset(
        dataset='/ttHJetToNonbb_M125_13TeV_amcatnloFXFX_madspin_pythia8_mWCutfix/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
        events_per_task=20000
        ),
    category=processing,
Esempio n. 4
0
    # Note the double-slash after the hostname!
    "root://deepthought.crc.nd.edu//store/user/muell149/lobster_test_" +
    version,
    #"chirp://eddie.crc.nd.edu:9094/store/user/muell149/lobster_test_" + version,
    "gsiftp://T3_US_NotreDame/store/user/muell149/lobster_test_" + version,
    #"srm://T3_US_NotreDame/store/user/muell149/lobster_test_" + version
])

processing = Category(name='processing', cores=1, runtime=3600, memory=1000)

workflows = []

tth_nonbb_powheg_new = Workflow(
    label='tth_nonbb_powheg',
    dataset=cmssw.Dataset(
        dataset=
        '/ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8/RunIISpring16MiniAODv2-premix_withHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
    pset='osTwoLep_cfg.py',
    merge_size='3.5G',
)
workflows.append(tth_nonbb_powheg_new)

# tth_nonbb_powheg_old = Workflow(
#     label='tth_nonbb_powheg_old',
#     dataset=cmssw.Dataset(
#         dataset='/ttHToNonbb_M125_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM',
#         events_per_task=20000
#         ),
#     category=processing,
#     pset='osTwoLep_cfg.py',
        ds = Dataset(
            files=rel_path,
            #files_per_task=5,
            files_per_task=ds_helper.getData(sample_name, 'files_per_task'),
            patterns=["*.root"])
        if is_eft:
            #merge_size = '256M'     # EFT samples with many reweight points are O(25M)
            merge_size = '4.0G'
        else:
            merge_size = '512K'  # non-EFT samples are O(50-100k)
        print "\tFullPath:  {path}".format(path=full_path)
        print "\tInputPath: {path}".format(path=input_path)
        print "\tRelPath:   {path}".format(path=rel_path)
    elif das_mode:
        ds = cmssw.Dataset(
            dataset=sample_loc,
            #events_per_task=100000
            events_per_task=300000)
        merge_size = '512K'  # non-EFT sample sizes are O(40K)
        #merge_size = -1

    #cms_cmd = ['cmsRun','lobsterized_EFTGenReader_cfg.py'] # Uncomment this if want to run EFTGenReader not EFTGenHistsWithCuts
    cms_cmd = [
        'cmsRun', 'lobsterized_EFTGenHistsWithCuts_cfg.py'
    ]  # Uncomment this if want to run EFTGenHistsWithCuts not EFTGenReader
    cms_cmd.extend([
        'datatier={tier}'.format(
            tier=ds_helper.getData(sample_name, 'datatier')), 'minPtLep=10',
        'minPtJet=30.0', 'maxEtaJet=2.5', 'maxEtaLep=2.5'
    ])
    if not is_eft:
        cms_cmd.extend(['iseft=False'])
    # Note the double-slash after the hostname!
    "root://deepthought.crc.nd.edu//store/user/muell149/lobster_test_" +
    version,
    #"chirp://eddie.crc.nd.edu:9094/store/user/muell149/lobster_test_" + version,
    "gsiftp://T3_US_NotreDame/store/user/muell149/lobster_test_" + version,
    "srm://T3_US_NotreDame/store/user/muell149/lobster_test_" + version
])

processing = Category(name='processing', cores=1, runtime=3600, memory=1000)

workflows = []

WZ_3lnu = Workflow(
    label='WZ_to3lnu',
    dataset=cmssw.Dataset(
        dataset=
        '/WZTo3LNu_TuneCUETP8M1_13TeV-powheg-pythia8/RunIISpring16MiniAODv2-PUSpring16_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
    pset='osTwoLep_cfg.py',
    merge_size='3.5G',
    arguments=['skim=True'],
)
workflows.append(WZ_3lnu)

ZZ_4l = Workflow(
    label='ZZ_to4l',
    dataset=cmssw.Dataset(
        dataset=
        '/ZZTo4L_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
Esempio n. 7
0
for path in lhe:
    for dset in datasets:
        if dset in path.split('/')[2]:
            break
    else:
        raise ValueError("can't find dataset associated with {}".format(path))

    part = counter.get(dset, 1)
    counter[dset] = part + 1

    aod = Workflow(
        label='{}_aod_p{}'.format(dset, part),
        pset='configs/' + dset + '_aod.py',
        dataset=cmssw.Dataset(
            dataset=path,
            dbs_instance='phys03',
            lumis_per_task=4
        ),
        category=Category(
            name='aod',
            cores=2,
            disk=1000,
            memory=3000,
            runtime=120 * 60
        ),
        sandbox=[
            cmssw.Sandbox(release='/afs/crc.nd.edu/user/m/mwolf3/work/ttH/mcgen/moriond17_part1/CMSSW_8_0_21'),
            cmssw.Sandbox(release='/afs/crc.nd.edu/user/m/mwolf3/work/ttH/mcgen/moriond17_part1_rh7/CMSSW_8_0_21')
        ]
    )
Esempio n. 8
0
    ]
)

processing = Category(
    name='processing',
    cores=1,
    runtime=900,
    memory=1000
)

workflows = []

ttH = Workflow(
    label='ttH',
    dataset=cmssw.Dataset(
        dataset='/ttHToNonbb_M125_13TeV_powheg_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
        events_per_task=50000
    ),
    category=processing,
    command='cmsRun simple_pset.py',
    publish_label='test',
    merge_size='3.5G',
    outputs=['output.root']
)

workflows.append(ttH)

config = Config(
    workdir='/tmpscratch/users/$USER/lobster_test_' + version,
    plotdir='~/www/lobster/test_' + version,
    storage=storage,
    workflows=workflows,
#lumimask = 'https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions16/13TeV/ReReco/Final/Cert_271036-284044_13TeV_23Sep2016ReReco_Collisions16_JSON.txt'
lumimask = '/afs/crc.nd.edu/user/c/cmuelle2/CMSSW_8_0_26_patch1/src/ttH-13TeVMultiLeptons/TemplateMakers/data/JSON/Cert_271036-284044_13TeV_23Sep2016ReReco_Collisions16_JSON.txt'

#######################################################
#######################################################
############
############  signal
############
#######################################################
#######################################################

ttH_nonbb_powheg = Workflow(
    label='ttH_nonbb_powheg',
    dataset=cmssw.Dataset(
        dataset='/ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM',
        events_per_task=20000
        ),
    category=processing,
    pset='osTwoLep_cfg.py',
    arguments=['skim=True'],
    merge_size='2.0G',
    )
workflows.append(ttH_nonbb_powheg)

ttH_nonbb_mWcutfix = Workflow(
    label='ttH_nonbb_mWcutfix',
    dataset=cmssw.Dataset(
        dataset='/ttHJetToNonbb_M125_13TeV_amcatnloFXFX_madspin_pythia8_mWCutfix/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM',
        events_per_task=20000
        ),
    category=processing,
    #"chirp://eddie.crc.nd.edu:9094/store/user/muell149/lobster_test_" + version,
    "gsiftp://T3_US_NotreDame/store/user/muell149/lobster_test_" + version,
    "srm://T3_US_NotreDame/store/user/muell149/lobster_test_" + version
])

processing = Category(name='processing', cores=1, runtime=3600, memory=1000)

workflows = []

###2016B
#dbs_instance='phys03'

SingleMu2016B = Workflow(
    label='singleMu2016B',
    dataset=cmssw.Dataset(dataset='/SingleMuon/Run2016B-23Sep2016-v3/MINIAOD',
                          events_per_task=150000,
                          lumi_mask=lumimask),
    category=processing,
    pset='osTwoLep_cfg.py',
    merge_size='2.0G',
    arguments=['skim=True', 'globalTag=80X_dataRun2_2016SeptRepro_v7'],
)
workflows.append(SingleMu2016B)

DoubleMu2016B = Workflow(
    label='doubleMu2016B',
    dataset=cmssw.Dataset(dataset='/DoubleMuon/Run2016B-23Sep2016-v3/MINIAOD',
                          events_per_task=150000,
                          lumi_mask=lumimask),
    category=processing,
    pset='osTwoLep_cfg.py',
Esempio n. 11
0
processing = Category(name='processing', cores=1, runtime=3600, memory=1000)

workflows = []

#######################################################
#######################################################
############
############  signal
############
#######################################################
#######################################################

tth_nonbb_powheg_ = Workflow(
    label='tth_nonbb_powheg_',
    dataset=cmssw.Dataset(
        dataset=
        '/ttHToNonbb_M125_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM',
        events_per_task=20000),
    category=processing,
    pset='osTwoLep_cfg.py',
    arguments=['skim=True'],
    merge_size='1.0G',
)
workflows.append(tth_nonbb_powheg_)

#######################################################
#######################################################
############
############  major backgrounds
############
#######################################################
#######################################################