Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Auto generated configuration file
0002 # using:
0003 # Revision: 1.381.2.28
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v
0005 # with command line options: DYToLL_M_50_TuneZ2star_8TeV_pythia6_tauola_cff --conditions auto:startup -s GEN,VALIDATION:genvalid_dy --datatier GEN --relval 1000000,20000 -n 1000 --eventcontent RAWSIM
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('VALIDATION')
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.Validation_cff')
0022 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0023 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0024 process.load("GeneratorInterface.TauolaInterface.TauSpinner_cfi")
0025 process.load("GeneratorInterface.TauolaInterface.TauSpinnerFilter_cfi")
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(10000)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("EmptySource")
0033 
0034 process.options = cms.untracked.PSet(
0035 
0036 )
0037 
0038 # Production Info
0039 process.configurationMetadata = cms.untracked.PSet(
0040     version = cms.untracked.string('$Revision: 1.381.2.28 $'),
0041     annotation = cms.untracked.string('DYToLL_M_50_TuneZ2star_8TeV_pythia6_tauola_cff nevts:1000'),
0042     name = cms.untracked.string('PyReleaseValidation')
0043 )
0044 
0045 # Output definition
0046 
0047 process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
0048     splitLevel = cms.untracked.int32(0),
0049     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0050     outputCommands = process.RAWSIMEventContent.outputCommands,
0051     fileName = cms.untracked.string('file:step1.root'),
0052     dataset = cms.untracked.PSet(
0053         filterName = cms.untracked.string(''),
0054         dataTier = cms.untracked.string('GEN')
0055     ),
0056     SelectEvents = cms.untracked.PSet(
0057         SelectEvents = cms.vstring('generation_step')
0058     )
0059 )
0060 
0061 # Additional output definition
0062 
0063 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0064 generator = cms.PSet(initialSeed = cms.untracked.uint32(12345)),
0065 TauSpinnerGen = cms.PSet(initialSeed = cms.untracked.uint32(12345)),
0066 TauSpinnerZHFilter = cms.PSet(initialSeed = cms.untracked.uint32(429842)),
0067 VtxSmeared = cms.PSet(initialSeed = cms.untracked.uint32(275744))
0068 )
0069 
0070 
0071 # Other statements
0072 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0073 process.mix.playback = True
0074 from Configuration.AlCa.GlobalTag import GlobalTag
0075 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0076 
0077 process.generator = cms.EDFilter("Pythia6GeneratorFilter",
0078     ExternalDecays = cms.PSet(
0079         Tauola = cms.untracked.PSet(
0080             UseTauolaPolarization = cms.bool(False),
0081 parameterSets = cms.vstring(),
0082             InputCards = cms.PSet(
0083                 mdtau = cms.int32(0),
0084                 pjak2 = cms.int32(3),
0085                 pjak1 = cms.int32(3)
0086             )
0087         ),
0088         parameterSets = cms.vstring('Tauola')
0089     ),
0090     maxEventsToPrint = cms.untracked.int32(0),
0091     pythiaPylistVerbosity = cms.untracked.int32(1),
0092     filterEfficiency = cms.untracked.double(1.0),
0093     pythiaHepMCVerbosity = cms.untracked.bool(False),
0094     comEnergy = cms.double(13000.0),
0095     crossSection = cms.untracked.double(762.0),
0096     UseExternalGenerators = cms.untracked.bool(True),
0097     PythiaParameters = cms.PSet(
0098         pythiaUESettings = cms.vstring('MSTU(21)=1 ! Check on possible errors during program execution',
0099             'MSTJ(22)=2 ! Decay those unstable particles',
0100             'PARJ(71)=10 . ! for which ctau 10 mm',
0101             'MSTP(33)=0 ! no K factors in hard cross sections',
0102             'MSTP(2)=1 ! which order running alphaS',
0103             'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)',
0104             'MSTP(52)=2 ! work with LHAPDF',
0105             'PARP(82)=1.921 ! pt cutoff for multiparton interactions',
0106             'PARP(89)=1800. ! sqrts for which PARP82 is set',
0107             'PARP(90)=0.227 ! Multiple interactions: rescaling power',
0108             'MSTP(95)=6 ! CR (color reconnection parameters)',
0109             'PARP(77)=1.016 ! CR',
0110             'PARP(78)=0.538 ! CR',
0111             'PARP(80)=0.1 ! Prob. colored parton from BBR',
0112             'PARP(83)=0.356 ! Multiple interactions: matter distribution parameter',
0113             'PARP(84)=0.651 ! Multiple interactions: matter distribution parameter',
0114             'PARP(62)=1.025 ! ISR cutoff',
0115             'MSTP(91)=1 ! Gaussian primordial kT',
0116             'PARP(93)=10.0 ! primordial kT-max',
0117             'MSTP(81)=21 ! multiple parton interactions 1 is Pythia default',
0118             'MSTP(82)=4 ! Defines the multi-parton model'),
0119         processParameters = cms.vstring('MSEL=0 !User defined processes',
0120             'MSUB(1)=1 !Incl Z0/gamma* production',
0121             'MSTP(43)=3 !Both Z0 and gamma*',
0122             'MDME(174,1)=0 !Z decay into d dbar',
0123             'MDME(175,1)=0 !Z decay into u ubar',
0124             'MDME(176,1)=0 !Z decay into s sbar',
0125             'MDME(177,1)=0 !Z decay into c cbar',
0126             'MDME(178,1)=0 !Z decay into b bbar',
0127             'MDME(179,1)=0 !Z decay into t tbar',
0128             'MDME(182,1)=1 !Z decay into e- e+',
0129             'MDME(183,1)=0 !Z decay into nu_e nu_ebar',
0130             'MDME(184,1)=1 !Z decay into mu- mu+',
0131             'MDME(185,1)=0 !Z decay into nu_mu nu_mubar',
0132             'MDME(186,1)=1 !Z decay into tau- tau+',
0133             'MDME(187,1)=0 !Z decay into nu_tau nu_taubar',
0134             'CKIN(1)=50. !Minimum sqrt(s_hat) value (=Z mass)'),
0135         parameterSets = cms.vstring('pythiaUESettings',
0136             'processParameters')
0137     )
0138 )
0139 
0140 
0141 process.ProductionFilterSequence = cms.Sequence(process.generator)
0142 
0143 # Path and EndPath definitions
0144 process.generation_step = cms.Path(process.pgen+process.TauSpinnerGen+process.TauSpinnerZHFilter)
0145 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0146 process.validation_step = cms.EndPath(process.genstepfilter+process.genvalid_dy)
0147 process.endjob_step = cms.EndPath(process.endOfProcess)
0148 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0149 
0150 # Schedule definition
0151 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.validation_step,process.endjob_step,process.RAWSIMoutput_step)
0152 # filter all path with the production filter sequence
0153 for path in process.paths:
0154     getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq