Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:23:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_cff import Run3
0004 process = cms.Process('VALIDATION',Run3)
0005 
0006 # import of standard configurations
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0013 process.load('Configuration.StandardSequences.MagneticField_cff')
0014 process.load("RecoLocalMuon.Configuration.RecoLocalMuon_cff")
0015 process.load("Validation.CSCRecHits.cscRecHitValidation_cfi")
0016 process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
0017 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0018 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0019 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(2000)
0023 )
0024 
0025 process.source = cms.Source("PoolSource",
0026     fileNames = cms.untracked.vstring('file:input.root')
0027 )
0028 
0029 # Other statements
0030 from Configuration.AlCa.GlobalTag import GlobalTag
0031 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0032 
0033 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0034     dataset = cms.untracked.PSet(
0035         dataTier = cms.untracked.string('DQMIO'),
0036         filterName = cms.untracked.string('')
0037     ),
0038     fileName = cms.untracked.string('file:step3_inDQM.root'),
0039     outputCommands = process.DQMEventContent.outputCommands,
0040     splitLevel = cms.untracked.int32(0)
0041 )
0042 
0043 # Path and EndPath definitions
0044 process.reco_step = cms.Path(process.csc2DRecHits*process.cscSegments)
0045 process.validation_step = cms.Path(process.mix * process.cscRecHitValidation)
0046 process.endjob_step = cms.EndPath(process.endOfProcess)
0047 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0048 
0049 # Schedule definition
0050 process.schedule = cms.Schedule(
0051     process.reco_step,
0052     process.validation_step,
0053     process.endjob_step,
0054     process.DQMoutput_step
0055 )