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_taurhonu_cff --conditions auto:run1_mc --filein das:/DYJetsToLL_M-50_13TeV-madgraph_v2/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/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 )
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_taurhonu_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(4),
0088                 pjak1 = cms.int32(4)
0089             )
0090         ),
0091         parameterSets = cms.vstring('Tauola')
0092     ),
0093     maxEventsToPrint = cms.untracked.int32(1),
0094     pythiaPylistVerbosity = cms.untracked.int32(1),
0095     filterEfficiency = cms.untracked.double(1.0),
0096     pythiaHepMCVerbosity = cms.untracked.bool(False),
0097     comEnergy = cms.double(13000.0),
0098     UseExternalGenerators = cms.untracked.bool(True),
0099     jetMatching = cms.untracked.PSet(
0100         MEMAIN_nqmatch = cms.int32(5),
0101         MEMAIN_showerkt = cms.double(0),
0102         MEMAIN_minjets = cms.int32(-1),
0103         MEMAIN_qcut = cms.double(-1),
0104         MEMAIN_excres = cms.string(''),
0105         MEMAIN_etaclmax = cms.double(-1),
0106         outTree_flag = cms.int32(0),
0107         scheme = cms.string('Madgraph'),
0108         MEMAIN_maxjets = cms.int32(-1),
0109         mode = cms.string('auto')
0110     ),
0111     PythiaParameters = cms.PSet(
0112         processParameters = cms.vstring('Main:timesAllowErrors = 10000', 
0113             'ParticleDecays:limitTau0 = on', 
0114             'ParticleDecays:tauMax = 10', 
0115             'Tune:ee 3', 
0116             'Tune:pp 5'),
0117         parameterSets = cms.vstring('processParameters')
0118     )
0119 )
0120 
0121 
0122 # Path and EndPath definitions
0123 process.generation_step = cms.Path(process.pgen)
0124 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0125 process.validation_step = cms.EndPath(process.genstepfilter+process.genvalid_all)
0126 process.endjob_step = cms.EndPath(process.endOfProcess)
0127 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0128 
0129 # Schedule definition
0130 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.validation_step,process.endjob_step,process.RAWSIMoutput_step)
0131 # filter all path with the production filter sequence
0132 for path in process.paths:
0133     getattr(process,path)._seq = process.generator * getattr(process,path)._seq 
0134 
0135 # customisation of the process.
0136 
0137 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0138 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0139 
0140 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0141 process = setCrossingFrameOn(process)
0142 
0143 # End of customisation functions