Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-04 04:35:26

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: TTbar_14TeV_TuneCP5_cfi --conditions auto:phase2_realistic_T15 -n 1 --era Phase2C10 --eventcontent FEVTDEBUG --relval 
0006 #9000,100 -s GEN,SIM,DIGI --datatier GEN-SIM-DIGI --beamspot HLLHC14TeV --geometry Extended2026D60 --fileout file:step1_UpToDigi.root
0007 
0008 
0009 import FWCore.ParameterSet.Config as cms
0010 from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
0011 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0012 from Configuration.Eras.Modifier_phase2_ecalTP_devel_cff import phase2_ecalTP_devel
0013 
0014 process = cms.Process('DIGI',Phase2C17I13M9,phase2_ecal_devel,phase2_ecalTP_devel)
0015 
0016 # import of standard configurations
0017 process.load('Configuration.StandardSequences.Services_cff')
0018 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0019 process.load('FWCore.MessageService.MessageLogger_cfi')
0020 process.load('Configuration.EventContent.EventContent_cff')
0021 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0022 process.load('Configuration.Geometry.GeometryExtended2026D110Reco_cff')
0023 process.load('Configuration.Geometry.GeometryExtended2026D110_cff')
0024 process.load('Configuration.StandardSequences.MagneticField_cff')
0025 process.load('Configuration.StandardSequences.Generator_cff')
0026 process.load('IOMC.EventVertexGenerators.VtxSmearedHLLHC14TeV_cfi')
0027 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0028 process.load('Configuration.StandardSequences.SimIdeal_cff')
0029 process.load('Configuration.StandardSequences.Digi_cff')
0030 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0031 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034         input = cms.untracked.int32(1),
0035         output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0036 )
0037 
0038 
0039 process.MessageLogger = cms.Service("MessageLogger",
0040     destinations = cms.untracked.vstring('messages'),
0041     messages          = cms.untracked.PSet(threshold =  cms.untracked.string('DEBUG')),
0042     debugModules   = cms.untracked.vstring('*')
0043 
0044 
0045 )
0046 
0047 
0048 
0049 # Input source
0050 process.source = cms.Source("EmptySource")
0051 
0052 process.options = cms.untracked.PSet(
0053     FailPath = cms.untracked.vstring(),
0054     IgnoreCompletely = cms.untracked.vstring(),
0055     Rethrow = cms.untracked.vstring(),
0056     SkipEvent = cms.untracked.vstring(),
0057     allowUnscheduled = cms.obsolete.untracked.bool,
0058     canDeleteEarly = cms.untracked.vstring(),
0059     emptyRunLumiMode = cms.obsolete.untracked.string,
0060     eventSetup = cms.untracked.PSet(
0061         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0062 
0063         ),
0064         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0065     ),
0066     fileMode = cms.untracked.string('FULLMERGE'),
0067     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0068     makeTriggerResults = cms.obsolete.untracked.bool,
0069     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0070     numberOfConcurrentRuns = cms.untracked.uint32(1),
0071     numberOfStreams = cms.untracked.uint32(0),
0072     numberOfThreads = cms.untracked.uint32(1),
0073     printDependencies = cms.untracked.bool(False),
0074     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0075     throwIfIllegalParameter = cms.untracked.bool(True),
0076     wantSummary = cms.untracked.bool(False)
0077 )
0078 
0079 
0080 
0081 # Production Info
0082 process.configurationMetadata = cms.untracked.PSet(
0083     annotation = cms.untracked.string('TTbar_14TeV_TuneCP5_cfi nevts:1'),
0084     name = cms.untracked.string('Applications'),
0085     version = cms.untracked.string('$Revision: 1.19 $')
0086 )
0087 
0088 # Output definition
0089 
0090 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0091     SelectEvents = cms.untracked.PSet(
0092         SelectEvents = cms.vstring('generation_step')
0093     ),
0094     dataset = cms.untracked.PSet(
0095         dataTier = cms.untracked.string('GEN-SIM-DIGI'),
0096         filterName = cms.untracked.string('')
0097     ),
0098     fileName = cms.untracked.string('file:/tmp/nancy/testGamma_Nancy.root'),
0099     outputCommands = process.FEVTDEBUGEventContent.outputCommands,
0100     splitLevel = cms.untracked.int32(0)
0101 )
0102 
0103 # Additional output definition
0104 
0105 # Other statements
0106 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0107 from Configuration.AlCa.GlobalTag import GlobalTag
0108 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0109 
0110 process.GlobalTag.toGet = cms.VPSet(
0111   cms.PSet(record = cms.string("EcalSimPulseShapeRcd"),
0112            tag = cms.string("EcalSimPulseShapePhaseII"),
0113            connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
0114           )
0115 )
0116 
0117 
0118 
0119 process.generator = cms.EDFilter("Pythia8PtGun",
0120         PGunParameters = cms.PSet(
0121                 AddAntiParticle = cms.bool(True),
0122                 MaxEta = cms.double(1.4),    
0123                 MaxPhi = cms.double(3.14159265359),
0124                 MaxPt = cms.double(1000.01),
0125                 MinEta = cms.double(-1.4),
0126                 MinPhi = cms.double(-3.14159265359),
0127                 MinPt = cms.double(0.5),
0128                 ParticleID = cms.vint32(11)
0129         ),
0130     PythiaParameters = cms.PSet(
0131         parameterSets = cms.vstring()
0132     ),
0133     Verbosity = cms.untracked.int32(0),
0134     firstRun = cms.untracked.uint32(1),
0135     psethack = cms.string('single electron flat Pt 0.5 to 100 GeV ')
0136 )
0137 
0138 process.ProductionFilterSequence = cms.Sequence(process.generator)
0139 
0140 # Path and EndPath definitions
0141 process.generation_step = cms.Path(process.pgen)
0142 process.simulation_step = cms.Path(process.psim)
0143 process.digitisation_step = cms.Path(process.pdigi)
0144 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0145 process.endjob_step = cms.EndPath(process.endOfProcess)
0146 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0147 
0148 # Schedule definition
0149 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.endjob_step,process.FEVTDEBUGoutput_step)
0150 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0151 associatePatAlgosToolsTask(process)
0152 # filter all path with the production filter sequence
0153 for path in process.paths:
0154     getattr(process,path).insert(0, process.ProductionFilterSequence)
0155 
0156 
0157 
0158 # Customisation from command line
0159 
0160 # Add early deletion of temporary data products to reduce peak memory need
0161 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0162 process = customiseEarlyDelete(process)
0163 # End adding early deletion
0164