Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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: Hadronizer_MgmMatchTune4C_13TeV_madgraph_pythia8_Tauola_taupinu_cff --conditions auto:run1_mc --filein das:/WJetsToLNu_13TeV-madgraph/Fall13wmLHE-START62_V1-v1/GEN -s GEN,VALIDATION:genvalid_all --datatier GEN --relval 1000000,20000 -n 10 --eventcontent RAWSIM -n 10 --fileout file:step1.root
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 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(10000)
0027 )
0028 
0029 # Input source
0030 process.source = cms.Source("PoolSource",
0031     secondaryFileNames = cms.untracked.vstring(),
0032     fileNames = cms.untracked.vstring('/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/001CB45E-D0D4-E311-BFAC-001E4F32EA8A.root', 
0033         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/0027BC57-FCD3-E311-AC82-0025904C5DE0.root', 
0034         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/002E2248-C1D4-E311-8551-008CFA0514E0.root', 
0035         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/004614E9-FDD3-E311-8585-0025904E9012.root', 
0036         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/00554985-9BCE-E311-B256-00266CFFC550.root', 
0037         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/006F4D36-D3D1-E311-93FA-00259021A4B2.root', 
0038         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/0076FFB6-D2D4-E311-A2B2-001E4F32EA8A.root', 
0039         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/00BB12D7-FBD3-E311-A814-0025904C6224.root', 
0040         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/00BC6CA3-A3CD-E311-822B-02163E008DE1.root', 
0041         '/store/generator/Fall13wmLHE/WJetsToLNu_13TeV-madgraph/GEN/START62_V1-v1/00000/021E00D0-91CF-E311-8A92-7845C4FC3614.root')
0042 )
0043 
0044 process.options = cms.untracked.PSet(
0045 
0046 )
0047 
0048 # Production Info
0049 process.configurationMetadata = cms.untracked.PSet(
0050     version = cms.untracked.string('$Revision: 1.19 $'),
0051     annotation = cms.untracked.string('Hadronizer_MgmMatchTune4C_13TeV_madgraph_pythia8_Tauola_taupinu_cff nevts:10'),
0052     name = cms.untracked.string('Applications')
0053 )
0054 
0055 # Output definition
0056 
0057 process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
0058     splitLevel = cms.untracked.int32(0),
0059     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0060     outputCommands = process.RAWSIMEventContent.outputCommands,
0061     fileName = cms.untracked.string('file:step1.root'),
0062     dataset = cms.untracked.PSet(
0063         filterName = cms.untracked.string(''),
0064         dataTier = cms.untracked.string('GEN')
0065     ),
0066     SelectEvents = cms.untracked.PSet(
0067         SelectEvents = cms.vstring('generation_step')
0068     )
0069 )
0070 
0071 # Additional output definition
0072 
0073 # Other statements
0074 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0075 process.mix.playback = True
0076 process.mix.digitizers = cms.PSet()
0077 for a in process.aliases: delattr(process, a)
0078 from Configuration.AlCa.GlobalTag import GlobalTag
0079 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run1_mc', '')
0080 
0081 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0082     ExternalDecays = cms.PSet(
0083         Tauola = cms.untracked.PSet(
0084             UseTauolaPolarization = cms.bool(True),
0085             InputCards = cms.PSet(
0086                 mdtau = cms.int32(0),
0087                 pjak2 = cms.int32(3),
0088                 pjak1 = cms.int32(3)
0089             ),
0090         dmMatch = cms.untracked.double(0.5),
0091         dolhe = cms.untracked.bool(True),
0092         dolheBosonCorr = cms.untracked.bool(False),
0093         ntries = cms.untracked.int32(20)
0094         ),
0095         parameterSets = cms.vstring('Tauola')
0096     ),
0097     maxEventsToPrint = cms.untracked.int32(1),
0098     pythiaPylistVerbosity = cms.untracked.int32(1),
0099     filterEfficiency = cms.untracked.double(1.0),
0100     pythiaHepMCVerbosity = cms.untracked.bool(False),
0101     comEnergy = cms.double(13000.0),
0102     UseExternalGenerators = cms.untracked.bool(True),
0103     jetMatching = cms.untracked.PSet(
0104         MEMAIN_nqmatch = cms.int32(5),
0105         MEMAIN_showerkt = cms.double(0),
0106         MEMAIN_minjets = cms.int32(-1),
0107         MEMAIN_qcut = cms.double(-1),
0108         MEMAIN_excres = cms.string(''),
0109         MEMAIN_etaclmax = cms.double(-1),
0110         outTree_flag = cms.int32(0),
0111         scheme = cms.string('Madgraph'),
0112         MEMAIN_maxjets = cms.int32(-1),
0113         mode = cms.string('auto')
0114     ),
0115     PythiaParameters = cms.PSet(
0116         processParameters = cms.vstring('Main:timesAllowErrors = 10000', 
0117             'ParticleDecays:limitTau0 = on', 
0118             'ParticleDecays:tauMax = 10', 
0119             'Tune:ee 3', 
0120             'Tune:pp 5'),
0121         parameterSets = cms.vstring('processParameters')
0122     )
0123 )
0124 
0125 
0126 process.ProductionFilterSequence = cms.Sequence(process.generator)
0127 
0128 # Path and EndPath definitions
0129 process.generation_step = cms.Path(process.pgen)
0130 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0131 process.validation_step = cms.EndPath(process.genstepfilter+process.genvalid_all)
0132 process.endjob_step = cms.EndPath(process.endOfProcess)
0133 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0134 
0135 # Schedule definition
0136 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.validation_step,process.endjob_step,process.RAWSIMoutput_step)
0137 # filter all path with the production filter sequence
0138 for path in process.paths:
0139     getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq 
0140 
0141 # customisation of the process.
0142 
0143 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0144 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0145 
0146 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0147 process = setCrossingFrameOn(process)
0148 
0149 # End of customisation functions