Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:37

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: SingleMuPt100_cfi -s GEN,SIM,DIGI --conditions auto:run2_mc --magField 38T_PostLS1 --datatier GEN-SIM-DIGI --geometry Extended2015MuonGEMDev,Extended2015MuonGEMDevReco --eventcontent FEVTDEBUGHLT --era Run2_25ns --customise=SimMuon/GEMDigitizer/customizeGEMDigi.customize_digi_addGEM_muon_only,SLHCUpgradeSimulations/Configuration/fixMissingUpgradeGTPayloads.fixRPCConditions,SLHCUpgradeSimulations/Configuration/me0Customs.customize_Digi -n 100 --no_exec --fileout out_digi.root --python_filename SingleMuPt100_cfi_GEM-SIM-DIGI_Extended2015MuonGEMDev_cfg.py
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns
0010 process = cms.Process('DIGI',Run2_25ns)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.Geometry.GeometryExtended2015MuonGEMDevReco_cff')
0019 process.load('Configuration.Geometry.GeometryExtended2015MuonGEMDev_cff')
0020 process.load('Configuration.StandardSequences.MagneticField_cff')
0021 process.load('Configuration.StandardSequences.Generator_cff')
0022 process.load('IOMC.EventVertexGenerators.VtxSmearedNominalCollision2015_cfi')
0023 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0024 process.load('Configuration.StandardSequences.SimIdeal_cff')
0025 process.load('Configuration.StandardSequences.Digi_cff')
0026 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0027 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(100)
0031 )
0032 
0033 # Input source
0034 process.source = cms.Source("EmptySource")
0035 process.options = cms.untracked.PSet()
0036 
0037 # Production Info
0038 process.configurationMetadata = cms.untracked.PSet(
0039     annotation = cms.untracked.string('SingleMuPt100_cfi nevts:100'),
0040     name = cms.untracked.string('Applications'),
0041     version = cms.untracked.string('$Revision: 1.19 $')
0042 )
0043 
0044 # Output definition
0045 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0046     SelectEvents = cms.untracked.PSet(
0047         SelectEvents = cms.vstring('generation_step')
0048     ),
0049     dataset = cms.untracked.PSet(
0050         dataTier = cms.untracked.string('GEN-SIM-DIGI'),
0051         filterName = cms.untracked.string('')
0052     ),
0053     eventAutoFlushCompressedSize = cms.untracked.int32(1048576),
0054     fileName = cms.untracked.string('out_digi.root'),
0055     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0056     splitLevel = cms.untracked.int32(0)
0057 )
0058 
0059 # Additional output definition
0060 
0061 ### TO ACTIVATE LogDebug NEED TO COMPILE IT WITH:                 
0062 ### --------------------------------------------------------------
0063 ### --> scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"                
0064 ### Make sure that you first cleaned your CMSSW version:          
0065 ### --> scram b clean                                             
0066 ### before issuing the scram command above                        
0067 ### --------------------------------------------------------------
0068 ### LogDebug output goes to cout; all other output to "junk.log"  
0069 ### Code/Configuration with thanks to Tim Cox                     
0070 ##################################################################
0071 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0072 process.MessageLogger.debugModules = cms.untracked.vstring("*")
0073 process.MessageLogger.files.junk = dict()
0074 process.MessageLogger.cerr.enable = False
0075 process.MessageLogger.cout = cms.untracked.PSet(
0076     enable    = cms.untracked.bool(True),
0077     threshold = cms.untracked.string("DEBUG"),
0078     default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0079     FwkReport = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0080     GEMGeometryBuilderFromDDD = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0081     ME0GeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0082     RPCGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0083 )
0084 ##################################################################
0085 
0086 # Other statements
0087 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0088 from Configuration.AlCa.GlobalTag import GlobalTag
0089 # process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0090 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_design', '')
0091 
0092 process.generator = cms.EDProducer("FlatRandomPtGunProducer",
0093     AddAntiParticle = cms.bool(True),
0094     PGunParameters = cms.PSet(
0095         MaxEta = cms.double(3.0),
0096         MaxPhi = cms.double(3.14159265359),
0097         MaxPt = cms.double(100.01),
0098         MinEta = cms.double(2.0),
0099         MinPhi = cms.double(-3.14159265359),
0100         MinPt = cms.double(99.99),
0101         PartID = cms.vint32(-13)
0102     ),
0103     Verbosity = cms.untracked.int32(0),
0104     firstRun = cms.untracked.uint32(1),
0105     psethack = cms.string('single mu pt 100')
0106 )
0107 
0108 
0109 # Path and EndPath definitions
0110 process.generation_step = cms.Path(process.pgen)
0111 process.simulation_step = cms.Path(process.psim)
0112 process.digitisation_step = cms.Path(process.pdigi)
0113 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0114 process.endjob_step = cms.EndPath(process.endOfProcess)
0115 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0116 
0117 # Schedule definition
0118 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.endjob_step,process.FEVTDEBUGHLToutput_step)
0119 # filter all path with the production filter sequence
0120 for path in process.paths:
0121     getattr(process,path)._seq = process.generator * getattr(process,path)._seq 
0122 
0123 # customisation of the process.
0124 
0125 # Automatic addition of the customisation function from SimMuon.GEMDigitizer.customizeGEMDigi
0126 from SimMuon.GEMDigitizer.customizeGEMDigi import customize_digi_addGEM_muon_only 
0127 
0128 #call to customisation function customize_digi_addGEM_muon_only imported from SimMuon.GEMDigitizer.customizeGEMDigi
0129 process = customize_digi_addGEM_muon_only(process)
0130 
0131 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads
0132 from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixRPCConditions 
0133 
0134 #call to customisation function fixRPCConditions imported from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads
0135 process = fixRPCConditions(process)
0136 
0137 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.me0Customs
0138 from SLHCUpgradeSimulations.Configuration.me0Customs import customise_Digi
0139 
0140 #call to customisation function customise_Digi imported from SLHCUpgradeSimulations.Configuration.me0Customs
0141 process = customise_Digi(process)
0142 
0143 # End of customisation functions
0144