Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:51

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: GluGluTo2Jets_M_100_7TeV_exhume_cff.py --mc --eventcontent FEVTDEBUG --datatier GEN-SIM --conditions 80X_mcRun2_asymptotic_2016_v2 --step GEN,SIM --era Run2_25ns --geometry Extended2017dev --processName=CTPPS --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 import random
0008 
0009 from Configuration.StandardSequences.Eras import eras
0010 process = cms.Process('SIM',eras.Run2_2017)
0011 
0012 # import of standard configurations
0013 process.load("CondCore.CondDB.CondDB_cfi")
0014 process.load('Configuration.StandardSequences.Services_cff')
0015 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0016 process.load('FWCore.MessageService.MessageLogger_cfi')
0017 process.load('Configuration.EventContent.EventContent_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.Generator_cff')
0020 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeVEarly2017Collision_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.load('Configuration.Geometry.GeometryExtended2017_CTPPS_cff')   # This line must be added to simulate PPS while its sim geometry is not in the DB
0027 
0028 process.RandomNumberGeneratorService.generator.initialSeed = cms.untracked.uint32(random.randint(0,900000000))
0029 
0030 nEvent_ = 1000
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(nEvent_)
0033 )
0034 
0035 # Input source
0036 process.source = cms.Source("EmptySource")
0037 
0038 process.options = cms.untracked.PSet()
0039 
0040 from Configuration.AlCa.GlobalTag import GlobalTag
0041 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0042 
0043 # beam optics
0044 """
0045 process.CondDB.connect = 'frontier://FrontierProd/CMS_CONDITIONS'
0046 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0047     process.CondDB
0048  #   timetype = cms.untracked.string('runnumber'),
0049   #  DumpStat=cms.untracked.bool(True),
0050     #toGet = cms.VPSet(
0051                 #cms.PSet(
0052                 #    record = cms.string('LHCInfoRcd'),
0053                 #    tag = cms.string("LHCInfoEndFill_prompt_v2")  #  FrontierProd
0054                 #),
0055                 #cms.PSet(
0056                     #record = cms.string('CTPPSOpticsRcd'),
0057                     #tag = cms.string("PPSOpticalFunctions_offline_v5")
0058                 #),
0059                 #cms.PSet(
0060                 #    record = cms.string("CTPPSBeamParametersRcd"),
0061                 #    tag = cms.string("CTPPSBeamParameters_v1")
0062                 #)
0063             #)
0064 )
0065 """
0066 
0067 
0068 process.generator = cms.EDFilter("ExhumeGeneratorFilter",
0069     ExhumeParameters = cms.PSet(
0070         AlphaEw = cms.double(0.0072974),
0071         B = cms.double(4.0),
0072         BottomMass = cms.double(4.6),
0073         CharmMass = cms.double(1.42),
0074         HiggsMass = cms.double(120.0),
0075         HiggsVev = cms.double(246.0),
0076         LambdaQCD = cms.double(80.0),
0077         MinQt2 = cms.double(0.64),
0078         MuonMass = cms.double(0.1057),
0079         PDF = cms.double(11000),
0080         Rg = cms.double(1.2),
0081         StrangeMass = cms.double(0.19),
0082         Survive = cms.double(0.03),
0083         TauMass = cms.double(1.77),
0084         TopMass = cms.double(175.0),
0085         WMass = cms.double(80.33),
0086         ZMass = cms.double(91.187)
0087     ),
0088     ExhumeProcess = cms.PSet(
0089         MassRangeHigh = cms.double(2000.0),
0090         MassRangeLow = cms.double(300.0),
0091         ProcessType = cms.string('GG'),
0092         ThetaMin = cms.double(0.3)
0093     ),
0094     PythiaParameters = cms.PSet(
0095         parameterSets = cms.vstring()
0096     ),
0097     comEnergy = cms.double(13000.0),
0098     maxEventsToPrint = cms.untracked.int32(2),
0099     pythiaHepMCVerbosity = cms.untracked.bool(False),
0100     pythiaPylistVerbosity = cms.untracked.int32(1)
0101 )
0102 
0103 # Production Info
0104 process.configurationMetadata = cms.untracked.PSet(
0105     annotation = cms.untracked.string('GluGluTo2Jets_M_100_7TeV_exhume_cff.py nevts:1'),
0106     name = cms.untracked.string('Applications'),
0107     version = cms.untracked.string('$Revision: 1.19 $')
0108 )
0109 
0110 # Other statements
0111 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0112 
0113 process.ProductionFilterSequence = cms.Sequence(process.generator)
0114 
0115 # Output definition
0116 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0117     SelectEvents = cms.untracked.PSet(
0118         SelectEvents = cms.vstring('generation_step')
0119     ),
0120     dataset = cms.untracked.PSet(
0121         dataTier = cms.untracked.string('GEN-SIM'),
0122         filterName = cms.untracked.string('')
0123     ),
0124     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0125     fileName = cms.untracked.string('GluGlu_GEN_SIM_2017.root'),
0126     outputCommands = process.FEVTDEBUGEventContent.outputCommands,
0127     splitLevel = cms.untracked.int32(0)
0128 )
0129 
0130 # Path and EndPath definitions
0131 process.generation_step = cms.Path(process.pgen)
0132 process.simulation_step = cms.Path(process.psim)
0133 
0134 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0135 process.endjob_step = cms.EndPath(process.endOfProcess)
0136 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0137 
0138 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.FEVTDEBUGoutput_step)
0139 
0140 # filter all path with the production filter sequence
0141 for path in process.paths:
0142     getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq