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: GGToHtautau_13TeV_pythia8_Tauola_taurhonu_cff --conditions auto:run1_mc -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("EmptySource")
0031 
0032 process.options = cms.untracked.PSet(
0033 
0034 )
0035 
0036 # Production Info
0037 process.configurationMetadata = cms.untracked.PSet(
0038     version = cms.untracked.string('$Revision: 1.19 $'),
0039     annotation = cms.untracked.string('GGToHtautau_13TeV_pythia8_Tauola_taurhonu_cff nevts:10'),
0040     name = cms.untracked.string('Applications')
0041 )
0042 
0043 # Output definition
0044 
0045 process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
0046     splitLevel = cms.untracked.int32(0),
0047     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0048     outputCommands = process.RAWSIMEventContent.outputCommands,
0049     fileName = cms.untracked.string('file:step1.root'),
0050     dataset = cms.untracked.PSet(
0051         filterName = cms.untracked.string(''),
0052         dataTier = cms.untracked.string('GEN')
0053     ),
0054     SelectEvents = cms.untracked.PSet(
0055         SelectEvents = cms.vstring('generation_step')
0056     )
0057 )
0058 
0059 # Additional output definition
0060 
0061 # Other statements
0062 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0063 process.mix.playback = True
0064 process.mix.digitizers = cms.PSet()
0065 for a in process.aliases: delattr(process, a)
0066 from Configuration.AlCa.GlobalTag import GlobalTag
0067 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run1_mc', '')
0068 
0069 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0070     ExternalDecays = cms.PSet(
0071         Tauola = cms.untracked.PSet(
0072             UseTauolaPolarization = cms.bool(True),
0073             InputCards = cms.PSet(
0074                 mdtau = cms.int32(0),
0075                 pjak2 = cms.int32(4),
0076                 pjak1 = cms.int32(4)
0077             )
0078         ),
0079         parameterSets = cms.vstring('Tauola')
0080     ),
0081     maxEventsToPrint = cms.untracked.int32(1),
0082     pythiaPylistVerbosity = cms.untracked.int32(1),
0083     filterEfficiency = cms.untracked.double(1),
0084     pythiaHepMCVerbosity = cms.untracked.bool(False),
0085     comEnergy = cms.double(13000.0),
0086     crossSection = cms.untracked.double(6.44),
0087     UseExternalGenerators = cms.untracked.bool(True),
0088     PythiaParameters = cms.PSet(
0089         processParameters = cms.vstring('Main:timesAllowErrors = 10000', 
0090             'ParticleDecays:limitTau0 = on', 
0091             'ParticleDecays:tauMax = 10', 
0092             'Tune:ee 3', 
0093             'Tune:pp 5', 
0094             'HiggsSM:gg2H = on', 
0095             '25:onMode = off', 
0096             '25:onIfAny = 15', 
0097             '25:mMin = 50.'),
0098         parameterSets = cms.vstring('processParameters')
0099     )
0100 )
0101 
0102 
0103 process.ProductionFilterSequence = cms.Sequence(process.generator)
0104 
0105 # Path and EndPath definitions
0106 process.generation_step = cms.Path(process.pgen)
0107 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0108 process.validation_step = cms.EndPath(process.genstepfilter+process.genvalid_all)
0109 process.endjob_step = cms.EndPath(process.endOfProcess)
0110 process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
0111 
0112 # Schedule definition
0113 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.validation_step,process.endjob_step,process.RAWSIMoutput_step)
0114 # filter all path with the production filter sequence
0115 for path in process.paths:
0116     getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq 
0117 
0118 # customisation of the process.
0119 
0120 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0121 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0122 
0123 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0124 process = setCrossingFrameOn(process)
0125 
0126 # End of customisation functions