Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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:/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_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