Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:39

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/ThirteenTeV/Hadronizer_MgmMatchTune4C_13TeV_madgraph_pythia8_Tauola_cff.py --filein dbs:/DYJetsToLL_M-50_13TeV-madgraph_v2/Fall13wmLHE-START62_V1-v1/GEN --fileout file:SMP-Fall13-00008.root --mc --eventcontent RAWSIM --datatier GEN-SIM --conditions POSTLS162_V1::All --step GEN,SIM --magField 38T_PostLS1 --geometry Extended2015 --python_filename SMP-Fall13-00008_1_cfg.py --no_exec -n 93
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('SIM')
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.Geometry.GeometryExtended2015Reco_cff')
0017 process.load('Configuration.Geometry.GeometryExtended2015_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.Generator_cff')
0020 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi')
0021 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0022 process.load('Configuration.StandardSequences.SimIdeal_cff')
0023 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(10)
0028 )
0029 
0030 # Input source
0031 process.source = cms.Source("PoolSource",
0032     fileNames = cms.untracked.vstring('/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/00035F04-A0C3-E311-AB8A-02163E00A054.root', 
0033         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/0046FC1F-F9C8-E311-BADC-90B11C18C363.root', 
0034         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/00B96A0B-A0C3-E311-9BCC-0025B3203750.root', 
0035         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/020D792C-D8C9-E311-8ED0-002481D20912.root', 
0036         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/02233275-92C5-E311-9CAF-782BCB1CFD1C.root', 
0037         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/022F6C36-FBC8-E311-8DFB-008CFA002ED8.root', 
0038         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/0276432F-BCC3-E311-BCB1-003048678B8E.root', 
0039         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/02B46ECB-39C3-E311-A579-003048D3740E.root', 
0040         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/02CDBBE1-F8C8-E311-9CA8-7845C4F932D8.root', 
0041         '/store/generator/Fall13wmLHE/DYJetsToLL_M-50_13TeV-madgraph_v2/GEN/START62_V1-v1/00000/02D65BCB-F7C8-E311-8A00-AC162DACC3F0.root'),
0042     secondaryFileNames = cms.untracked.vstring()
0043 )
0044 
0045 process.options = cms.untracked.PSet(
0046 
0047 )
0048 
0049 # Production Info
0050 process.configurationMetadata = cms.untracked.PSet(
0051     annotation = cms.untracked.string('Configuration/GenProduction/python/ThirteenTeV/Hadronizer_MgmMatchTune4C_13TeV_madgraph_pythia8_Tauola_cff.py nevts:93'),
0052     name = cms.untracked.string('Applications'),
0053     version = cms.untracked.string('$Revision: 1.19 $')
0054 )
0055 
0056 
0057 #AODSIM output definition
0058 
0059 process.AODSIMoutput = cms.OutputModule("PoolOutputModule",
0060     compressionLevel = cms.untracked.int32(4),
0061     compressionAlgorithm = cms.untracked.string('LZMA'),
0062     eventAutoFlushCompressedSize = cms.untracked.int32(15728640),
0063     outputCommands = process.AODSIMEventContent.outputCommands,
0064     fileName = cms.untracked.string('Hadronizer_MgmMatchTune4C_ZJetsNoPSb_13TeV_madgraph_pythia8_Tauola.root'),
0065     dataset = cms.untracked.PSet(
0066         filterName = cms.untracked.string(''),
0067         dataTier = cms.untracked.string('AODSIM')
0068     ),
0069     SelectEvents = cms.untracked.PSet(
0070         SelectEvents = cms.vstring('generation_step')
0071     )
0072 )
0073 
0074 
0075 
0076 
0077 # Output definition
0078 
0079 #process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
0080 #    SelectEvents = cms.untracked.PSet(
0081 #        SelectEvents = cms.vstring('generation_step')
0082 #    ),
0083 #    dataset = cms.untracked.PSet(
0084 #        dataTier = cms.untracked.string('GEN-SIM'),
0085 #        filterName = cms.untracked.string('')
0086 #    ),
0087 #    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0088 #    fileName = cms.untracked.string('file:Hadronizer_MgmMatchTune4C_ZJetsNoPSb_13TeV_madgraph_pythia8_Tauola.root'),
0089 #    outputCommands = process.RAWSIMEventContent.outputCommands,
0090 #    splitLevel = cms.untracked.int32(0)
0091 #)
0092 #
0093 # Additional output definition
0094 
0095 # Other statements
0096 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0097 from Configuration.AlCa.GlobalTag import GlobalTag
0098 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
0099 
0100 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0101     ExternalDecays = cms.PSet(
0102         Tauola = cms.untracked.PSet(
0103             InputCards = cms.PSet(
0104                 mdtau = cms.int32(0),
0105                 pjak1 = cms.int32(0),
0106                 pjak2 = cms.int32(0)
0107             ),
0108             UseTauolaPolarization = cms.bool(True)
0109         ),
0110         parameterSets = cms.vstring('Tauola')
0111     ),
0112     PythiaParameters = cms.PSet(
0113         parameterSets = cms.vstring('processParameters'),
0114         processParameters = cms.vstring('Main:timesAllowErrors    = 10000', 
0115             'ParticleDecays:limitTau0 = on', 
0116             'ParticleDecays:tauMax = 10', 
0117             'Tune:ee 3', 
0118             'Tune:pp 5')
0119     ),
0120     nAttempts = cms.uint32(22),
0121     HepMCFilter = cms.PSet(
0122       filterName = cms.string('PartonShowerBsHepMCFilter'),
0123       filterParameters = cms.PSet(
0124         Particle_id = cms.int32(5), #pdg id of the particle to filter on. In this case b.
0125     exclude_status_id = cms.untracked.int32(23), #status id of the particles to filter on. In this case matrix element particles.
0126       ),
0127     ),
0128     UseExternalGenerators = cms.untracked.bool(True),
0129     comEnergy = cms.double(13000.0),
0130     filterEfficiency = cms.untracked.double(1.0),
0131     jetMatching = cms.untracked.PSet(
0132         MEMAIN_etaclmax = cms.double(-1),
0133         MEMAIN_excres = cms.string(''),
0134         MEMAIN_maxjets = cms.int32(-1),
0135         MEMAIN_minjets = cms.int32(-1),
0136         MEMAIN_nqmatch = cms.int32(5),
0137         MEMAIN_qcut = cms.double(-1),
0138         MEMAIN_showerkt = cms.double(0),
0139         mode = cms.string('auto'),
0140         outTree_flag = cms.int32(0),
0141         scheme = cms.string('Madgraph')
0142     ),
0143     maxEventsToPrint = cms.untracked.int32(1),
0144     pythiaHepMCVerbosity = cms.untracked.bool(False),
0145     pythiaPylistVerbosity = cms.untracked.int32(1)
0146 )
0147 
0148 
0149 # Path and EndPath definitions
0150 process.generation_step = cms.Path(process.pgen)
0151 #process.simulation_step = cms.Path(process.psim)
0152 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0153 process.endjob_step = cms.EndPath(process.endOfProcess)
0154 process.AODSIMoutput_step = cms.EndPath(process.AODSIMoutput)
0155 #process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0156 
0157 # Schedule definition
0158 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.AODSIMoutput_step)
0159 # filter all path with the production filter sequence
0160 for path in process.paths:
0161     getattr(process,path)._seq = process.generator * getattr(process,path)._seq 
0162 
0163