Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:30

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.381.2.7 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v 
0005 # with command line options: GeneratorInterface/ReggeGribovPartonMCInterface/ReggeGribovPartonMC_cfi.py -s GEN --conditions auto:mc --datatier GEN --eventcontent RAWSIM -n 1 --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('GEN')
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0017 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0018 process.load('Configuration.StandardSequences.Generator_cff')
0019 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi')
0020 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 
0028 # Input source
0029 process.source = cms.Source("EmptySource")
0030 
0031 process.options = cms.untracked.PSet(
0032 
0033 )
0034 
0035 # Production Info
0036 process.configurationMetadata = cms.untracked.PSet(
0037     version = cms.untracked.string('$Revision: 1.2 $'),
0038     annotation = cms.untracked.string('ReggeGribovMC generator'),
0039     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/GeneratorInterface/ReggeGribovPartonMCInterface/test/EposLHC_pp_8TeV_cfi_py_GEN.py,v $')
0040 )
0041 
0042 # Output definition
0043 
0044 process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
0045     splitLevel = cms.untracked.int32(0),
0046     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0047     outputCommands = process.RAWSIMEventContent.outputCommands,
0048     fileName = cms.untracked.string('ReggeGribovPartonMC_cfi_py_GEN.root'),
0049     dataset = cms.untracked.PSet(
0050         filterName = cms.untracked.string(''),
0051         dataTier = cms.untracked.string('GEN')
0052     ),
0053     SelectEvents = cms.untracked.PSet(
0054         SelectEvents = cms.vstring('generation_step')
0055     )
0056 )
0057 
0058 # Additional output definition
0059 
0060 # Other statements
0061 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0062 from Configuration.AlCa.GlobalTag import GlobalTag
0063 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
0064 
0065 process.generator = cms.EDFilter("ReggeGribovPartonMCGeneratorFilter",
0066     beamid = cms.int32(1),
0067     targetid = cms.int32(1),
0068     model = cms.int32(0),
0069     targetmomentum = cms.double(-4000),
0070     beammomentum = cms.double(4000),
0071     bmin = cms.double(0),
0072     bmax = cms.double(10000),
0073     paramFileName = cms.untracked.string("Configuration/Generator/data/ReggeGribovPartonMC.param"),
0074     skipNuclFrag = cms.bool(True)
0075 )
0076 
0077 
0078 # Path and EndPath definitions
0079 process.generation_step = cms.Path(process.pgen)
0080 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0081 process.endjob_step = cms.EndPath(process.endOfProcess)
0082 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0083 
0084 # Schedule definition
0085 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
0086 # filter all path with the production filter sequence
0087 for path in process.paths:
0088     getattr(process,path)._seq = process.generator * getattr(process,path)._seq 
0089