示例#1
0
process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('generation_step')
    ),
    dataset = cms.untracked.PSet(
        dataTier = cms.untracked.string('GEN-SIM'),
        filterName = cms.untracked.string('')
    ),
    fileName = cms.untracked.string('file:step1.root'),
    outputCommands = process.FEVTDEBUGEventContent.outputCommands,
    splitLevel = cms.untracked.int32(0)
)

#Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,[(options.jobid,1)])

process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",

    externalLHEProducer = cms.PSet(
       initialSeed = cms.untracked.uint32(options.seed1),
       engineName = cms.untracked.string('HepJamesRandom')
    ),
    generator = cms.PSet(
       initialSeed = cms.untracked.uint32(options.seed2),
       engineName = cms.untracked.string('HepJamesRandom')
    ),
    VtxSmeared = cms.PSet(
       initialSeed = cms.untracked.uint32(options.seed3),
       engineName = cms.untracked.string('HepJamesRandom')
    ),
示例#2
0
)
process.load('GeneratorInterface.Core.genFilterSummary_cff')
process.load('Configuration.StandardSequences.SimIdeal_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load(
    'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(EVENTSperJOB))

# Input source
process.source = cms.Source("EmptySource")

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun

ThrowAndSetRandomRun.throwAndSetRandomRun(process.source, [(JOBID, 1)])

process.RandomNumberGeneratorService = cms.Service(
    "RandomNumberGeneratorService",
    externalLHEProducer=cms.PSet(
        initialSeed=cms.untracked.uint32(SEED1),
        engineName=cms.untracked.string('HepJamesRandom')),
    generator=cms.PSet(initialSeed=cms.untracked.uint32(SEED2),
                       engineName=cms.untracked.string('HepJamesRandom')),
    VtxSmeared=cms.PSet(initialSeed=cms.untracked.uint32(SEED3),
                        engineName=cms.untracked.string('HepJamesRandom')),
    g4SimHits=cms.PSet(initialSeed=cms.untracked.uint32(SEED4),
                       engineName=cms.untracked.string('HepJamesRandom')))

process.options = cms.untracked.PSet()
示例#3
0
# Output definition

process.RAWSIMoutput = cms.OutputModule(
    "PoolOutputModule",
    splitLevel=cms.untracked.int32(0),
    eventAutoFlushCompressedSize=cms.untracked.int32(5242880),
    outputCommands=process.RAWSIMEventContent.outputCommands,
    fileName=cms.untracked.string('STEP1_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset=cms.untracked.PSet(filterName=cms.untracked.string(''),
                               dataTier=cms.untracked.string('GEN-SIM-RAW')))

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source, [(202299, 1.)])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7N::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,
                                process.L1simulation_step,
                                process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
示例#4
0
process.RAWSIMoutput = cms.OutputModule(
    "PoolOutputModule",
    splitLevel=cms.untracked.int32(0),
    eventAutoFlushCompressedSize=cms.untracked.int32(5242880),
    outputCommands=process.RAWSIMEventContent.outputCommands,
    fileName=cms.untracked.string('hltLW.root'),
    dataset=cms.untracked.PSet(filterName=cms.untracked.string(''),
                               dataTier=cms.untracked.string('GEN-SIM-RAW')))

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,
                                          [(194533, 5.2999999999999998),
                                           (200519, 7.0),
                                           (206859, 7.2999999999999998)])
process.mix.input.fileNames = cms.untracked.vstring([
    'root://eospublic.cern.ch//eos/opendata/cms/MonteCarlo2012/Summer12/MinBias_TuneZ2star_8TeV-pythia6/GEN-SIM/START50_V13-v3/0002/FEF2F4CC-0E6A-E111-96F6-0030487F1C57.root'
])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V27::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
示例#5
0
文件: step2.py 项目: oozcelik/BMM5
process.RAWSIMoutput = cms.OutputModule(
    "PoolOutputModule",
    splitLevel=cms.untracked.int32(0),
    eventAutoFlushCompressedSize=cms.untracked.int32(5242880),
    outputCommands=process.RAWSIMEventContent.outputCommands,
    fileName=cms.untracked.string(FILE2),
    dataset=cms.untracked.PSet(filterName=cms.untracked.string(''),
                               dataTier=cms.untracked.string('GEN-SIM-RAW')))

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,
                                          [(190482, 0.92400000000000004),
                                           (194270, 4.8109999999999999),
                                           (200466, 7.21),
                                           (207214, 7.6310000000000002)])
process.mix.input.fileNames = cms.untracked.vstring([
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0005E496-3661-E111-B31E-003048F0E426.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/003EEBD4-8061-E111-9A23-003048D437F2.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/005825F1-F260-E111-BD97-003048C692DA.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0065594C-B35E-E111-8B8C-003048C693EA.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0091FFD0-6B5E-E111-92FE-003048C693DA.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/00C69AE3-FE60-E111-BC48-0030487D8633.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02079692-AC61-E111-97BB-0025901D4D54.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/021BD915-2D61-E111-8BAD-002481E76052.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02386E4D-DC5E-E111-9413-00266CF1074C.root',
    '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02446A08-515E-E111-82C7-00266CF330B8.root'
])
import HLTrigger.Configuration.Utilities
process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string('STEP1_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM-RAW')
    )
)

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,[(202299,1.)])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7L::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step,process.RAWSIMoutput_step])
# Output definition

process.RAWSIMoutput = cms.OutputModule(
    "PoolOutputModule",
    splitLevel=cms.untracked.int32(0),
    eventAutoFlushCompressedSize=cms.untracked.int32(5242880),
    outputCommands=process.RAWSIMEventContent.outputCommands,
    fileName=cms.untracked.string('STEP1_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset=cms.untracked.PSet(filterName=cms.untracked.string(''),
                               dataTier=cms.untracked.string('GEN-SIM-RAW')))

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source, [(209146, 1.0)])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7N::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,
                                process.L1simulation_step,
                                process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string('REDIGI_PYTHIA8_POWHEG_RD1_H_Zg_8TeV_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM-RAW')
    )
)

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,[(194533, 5.2999999999999998), (200519, 7.0), (206859, 7.2999999999999998)])
process.mix.input.fileNames = cms.untracked.vstring(['/store/relval/CMSSW_5_2_1/RelValMinBias/GEN-SIM/START52_V4-v1/0003/4C958749-9872-E111-A747-003048F1183E.root', '/store/relval/CMSSW_5_2_1/RelValMinBias/GEN-SIM/START52_V4-v1/0002/5A081FCB-6772-E111-9623-0025B3244166.root'])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7N::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step,process.RAWSIMoutput_step])
process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string('STEP1_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM-RAW')
    )
)

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,[(209146, 1.0)])
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7N::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step,process.RAWSIMoutput_step])
示例#10
0
文件: step2.py 项目: Bmm4/Bmm
process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string(FILE2),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM-RAW')
    )
)

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,[(190482, 0.92400000000000004), (194270, 4.8109999999999999), (200466, 7.21), (207214, 7.6310000000000002)])
process.mix.input.fileNames = cms.untracked.vstring(['/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0005E496-3661-E111-B31E-003048F0E426.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/003EEBD4-8061-E111-9A23-003048D437F2.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/005825F1-F260-E111-BD97-003048C692DA.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0065594C-B35E-E111-8B8C-003048C693EA.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/0091FFD0-6B5E-E111-92FE-003048C693DA.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/00C69AE3-FE60-E111-BC48-0030487D8633.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02079692-AC61-E111-97BB-0025901D4D54.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/021BD915-2D61-E111-8BAD-002481E76052.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02386E4D-DC5E-E111-9413-00266CF1074C.root', '/store/user/ursl/files/mix/Summer12/MinBias_TuneZ2star_8TeV-pythia6/02446A08-515E-E111-82C7-00266CF330B8.root'])
import HLTrigger.Configuration.Utilities
import Configuration.HLT.cachedHLT
process.loadCachedHltConfiguration( process.source.setRunNumber.value(), False )
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V19F::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string('STEP1_DIGI_L1_DIGI2RAW_HLT_PU.root'),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM-RAW')
    )
)

# Additional output definition

# Other statements
import SimGeneral.Configuration.ThrowAndSetRandomRun as ThrowAndSetRandomRun
import SimGeneral.Configuration.RunsAndWeights_Run2012_AB_C_D_oneRunPerEra as RunScenario
ThrowAndSetRandomRun.throwAndSetRandomRun(process.source,RunScenario.runProbabilityDistribution)
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'START53_V7N::All', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step,process.RAWSIMoutput_step])