Пример #1
0
        'cmsswtag':        cmssw_tag_sim,
        'outfilenamebase': 'Tuples_NANOAOD',
        'pathtag':         'Tuples_NANOAOD/' + sampletype,
        'tuplizer':        'Tuplizer_NANOAOD'
    }

}

ensureDirectory(workdir_slurm)


submit = True



EventGenerator = GensimRunner(processnames=processes, tag=tag, configs=None, lambdas=None, preferred_configurations=None, workdir_slurm=workdir_slurm, workarea=workarea, basefolder=basefolder, cardfolder=cardfolder, mgfolder=mgfolder, generatorfolder=generatorfolder, gridpackfolder=gridpackfolder, arch_tag=arch_tag, cmssw_tag_gp=cmssw_tag_gp, T2_director=T2_director, T2_path=T2_path, T2_director_root=T2_director_root, T3_director=T3_director, T3_path=T3_path, campaign=campaign, folderstructure=folderstructure, maxindex=maxindex, nevents=nevents, submit=submit)
# EventGenerator.ProduceCards()
# EventGenerator.SubmitGridpacks(ncores=4)
# EventGenerator.MoveGridpacks()
# EventGenerator.SubmitGenerationStepSM(generation_step='GENSIM', ncores=4, runtime=(3,00,00), mode='new')
# EventGenerator.SubmitGenerationStepSM(generation_step='GENSIM', ncores=4, runtime=(3,00,00), mode='resubmit')
# EventGenerator.SubmitGenerationStepSM(generation_step='GENSIM', ncores=8, runtime=(3,00,00), mode='resubmit')
# EventGenerator.SubmitGenerationStepSM(generation_step='DR', ncores=8, runtime=(6,00,00), mode='new')
# EventGenerator.SubmitGenerationStepSM(generation_step='DR', ncores=8, runtime=(6,00,00), mode='resubmit')
# EventGenerator.SubmitGenerationStepSM(generation_step='DR', ncores=8, runtime=(10,00,00), mode='resubmit')
# EventGenerator.SubmitGenerationStepSM(generation_step='HLT', ncores=8, runtime=(3,00,00), mode='new')
# EventGenerator.SubmitGenerationStepSM(generation_step='HLT', ncores=8, runtime=(3,00,00), mode='resubmit')
# EventGenerator.RemoveSamples(generation_step='DR')
# EventGenerator.SubmitGenerationStepSM(generation_step='AOD', ncores=4, runtime=(2,00,00), mode='new')
# EventGenerator.SubmitGenerationStepSM(generation_step='AOD', ncores=4, runtime=(3,00,00), mode='resubmit')
# EventGenerator.RemoveSamples(generation_step='HLT')
ensureDirectory(workdir_slurm)

submit = True

EventGenerator = GensimRunner(processnames=processes,
                              tag=tag,
                              individual_settings=individual_settings,
                              general_settings=general_settings[campaign],
                              workdir_slurm=workdir_slurm,
                              workarea=workarea,
                              basefolder=basefolder,
                              cardfolder=cardfolder,
                              mgfolder=mgfolder,
                              generatorfolder=generatorfolder,
                              gridpackfolder=gridpackfolder,
                              arch_tag=arch_tag,
                              cmssw_tag_gp=cmssw_tag_gp,
                              T2_director=T2_director,
                              T2_path=T2_path,
                              T2_director_root=T2_director_root,
                              T3_director=T3_director,
                              T3_path=T3_path,
                              campaign=campaign,
                              folderstructure=folderstructure,
                              maxindex=maxindex,
                              nevents=nevents,
                              submit=submit)
EventGenerator.ProduceCards()
EventGenerator.SubmitGridpacks(runtime=(3, 00, 00))
# EventGenerator.SubmitGenerationStep(generation_step='GENSIM', ncores=2, runtime=(3,00,00), mode='new')
# EventGenerator.SubmitGenerationStep(generation_step='GENSIM', ncores=8, runtime=(3,00,00), mode='resubmit')
Пример #3
0
# CrossBRRunner.RootifyCrossBR()
# CrossBRRunner.PlotCrossBR()

EventGenerator_lqlq_sm = GensimRunner(
    processnames=processes_lqlq_sm,
    tag=tag,
    configs=mass_configurations_lqlq_sm,
    lambdas=lambdas_lqlq_sm,
    preferred_configurations=preferred_configurations,
    workdir_slurm=workdir_slurm,
    workarea=workarea,
    basefolder=basefolder,
    cardfolder=cardfolder,
    mgfolder=mgfolder,
    generatorfolder=generatorfolder,
    gridpackfolder=gridpackfolder,
    arch_tag=arch_tag,
    cmssw_tag_gp=cmssw_tag_gp,
    T2_director=T2_director,
    T2_path=T2_path,
    T2_director_root=T2_director_root,
    T3_director=T3_director,
    T3_path=T3_path,
    campaign=campaign,
    folderstructure=folderstructure,
    maxindex=maxindex,
    nevents=nevents,
    submit=submit)
# EventGenerator_lqlq_sm.ProduceCards()
# EventGenerator_lqlq_sm.SubmitGridpacks()
# EventGenerator_lqlq_sm.MoveGridpacks()
Пример #4
0
# CrossBRRunner.RootifyCrossBR()
# CrossBRRunner.PlotCrossBR()

EventGenerator_lqlq_sm = GensimRunner(
    processnames=processes_lqlq_sm,
    tag=tag,
    configs=mass_configurations_lqlq_sm,
    lambdas=lambdas_lqlq_sm,
    preferred_configurations=preferred_configurations,
    workdir_slurm=workdir_slurm,
    workarea=workarea,
    basefolder=basefolder,
    cardfolder=cardfolder,
    mgfolder=mgfolder,
    generatorfolder=generatorfolder,
    gridpackfolder=gridpackfolder,
    arch_tag=arch_tag,
    cmssw_tag_gp=cmssw_tag_gp,
    T2_director=T2_director,
    T2_path=T2_path,
    T2_director_root=T2_director_root,
    T3_director=T3_director,
    T3_path=T3_path,
    campaign=campaign,
    folderstructure=folderstructure,
    maxindex=maxindex,
    nevents=nevents,
    submit=submit)
# EventGenerator_lqlq_sm.ProduceCards()
# EventGenerator_lqlq_sm.SubmitGridpacks()
# EventGenerator_lqlq_sm.MoveGridpacks()