Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-03 02:18:19

0001 # Auto generated configuration file

0002 # using: 

0003 # Revision: 1.19 

0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 

0005 # with command line options: Configuration/GenProduction/python/SevenTeV/QCD_Pt_470to600_Tune4C_7TeV_pythia8_cff.py -s GEN --datatier=GEN-SIM-RAW --conditions auto:mc --eventcontent RAWSIM --no_exec -n 10000 --python_filename=rivet_cfg.py --customise=Configuration/GenProduction/rivet_customize.py

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(100)
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.1 $'),
0038     annotation = cms.untracked.string('Sample with PYTHIA8: QCD dijet production, pThat = 470 .. 600 GeV, Tune4C'),
0039     name = cms.untracked.string('\\$Source: /local/reps/CMSSW/CMSSW/Configuration/GenProduction/python/SevenTeV/QCD_Pt_470to600_Tune4C_7TeV_pythia8_cff.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('QCD_Pt_470to600_Tune4C_7TeV_pythia8_cff_py_GEN.root'),
0049     dataset = cms.untracked.PSet(
0050         filterName = cms.untracked.string(''),
0051         dataTier = cms.untracked.string('GEN-SIM-RAW')
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("Pythia8GeneratorFilter",
0066     pythiaPylistVerbosity = cms.untracked.int32(0),
0067     filterEfficiency = cms.untracked.double(1),
0068     pythiaHepMCVerbosity = cms.untracked.bool(False),
0069     comEnergy = cms.double(7000.0),
0070     crossSection = cms.untracked.double(77.03948),
0071     maxEventsToPrint = cms.untracked.int32(0),
0072     PythiaParameters = cms.PSet(
0073         processParameters = cms.vstring('Main:timesAllowErrors    = 10000', 
0074             'ParticleDecays:limitTau0 = on', 
0075             'ParticleDecays:tauMax = 10', 
0076             'HardQCD:all = on', 
0077             'PhaseSpace:pTHatMin = 470 ', 
0078             'PhaseSpace:pTHatMax = 600 ', 
0079             'Tune:pp 5', 
0080             'Tune:ee 3'),
0081         parameterSets = cms.vstring('processParameters')
0082     )
0083 )
0084 
0085 process.load("GeneratorInterface.RivetInterface.rivetAnalyzer_cfi")
0086 process.rivetAnalyzer.AnalysisNames = cms.vstring('MC_GENERIC', 'CMS_2014_I1305624', 'MC_XS')
0087 
0088 # Path and EndPath definitions

0089 process.generation_step = cms.Path(process.pgen*process.rivetAnalyzer)
0090 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0091 process.endjob_step = cms.EndPath(process.endOfProcess)
0092 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0093 
0094 # Schedule definition

0095 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
0096 # filter all path with the production filter sequence

0097 for path in process.paths:
0098     getattr(process,path)._seq = process.generator * getattr(process,path)._seq