Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:11

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 --scenario HeavyIons --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.EventContentHeavyIons_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_PbPb_2760GeV_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     ReggeGribovPartonMCAdvancedParameters,
0067     beamid = cms.int32(208),
0068     targetid = cms.int32(208),
0069     model = cms.int32(0),
0070     targetmomentum = cms.double(-1380),
0071     beammomentum = cms.double(1380),
0072     bmin = cms.double(0),
0073     bmax = cms.double(10000),
0074     paramFileName = cms.untracked.string("Configuration/Generator/data/ReggeGribovPartonMC.param"),
0075     skipNuclFrag = cms.bool(True)
0076 )
0077 
0078 
0079 # Path and EndPath definitions
0080 process.generation_step = cms.Path(process.pgen_hi)
0081 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0082 process.endjob_step = cms.EndPath(process.endOfProcess)
0083 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0084 
0085 # Schedule definition
0086 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
0087 # filter all path with the production filter sequence
0088 for path in process.paths:
0089     getattr(process,path)._seq = process.generator * getattr(process,path)._seq 
0090